public static class GlanceImage.ImageConcreteBuilder extends BasicResourceBuilder<Image,GlanceImage.ImageConcreteBuilder> implements ImageBuilder
Modifier and Type | Method and Description |
---|---|
ImageBuilder |
additionalProperty(String key,
String value) |
ImageBuilder |
architecture(String architecture) |
Image |
build()
Creates and return the Model Entity M
|
ImageBuilder |
containerFormat(ContainerFormat containerFormat) |
ImageBuilder |
diskFormat(DiskFormat diskFormat) |
ImageBuilder |
from(Image in)
Creates a Builder using the param M as the default values
|
ImageBuilder |
instanceUuid(String instanceUuid) |
ImageBuilder |
isProtected(Boolean isProtected) |
ImageBuilder |
kernelId(String kernelId) |
ImageBuilder |
minDisk(Long minDisk) |
ImageBuilder |
minRam(Long minRam) |
ImageBuilder |
osDistro(String osDistro) |
ImageBuilder |
osVersion(String osVersion) |
ImageBuilder |
ramdiskId(String ramdiskId) |
protected Image |
reference() |
ImageBuilder |
tags(List<String> tags) |
ImageBuilder |
visibility(Image.ImageVisibility visibility) |
id, name, self
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
id, name
public ImageBuilder visibility(Image.ImageVisibility visibility)
visibility
in interface ImageBuilder
Image.getVisibility()
public ImageBuilder tags(List<String> tags)
tags
in interface ImageBuilder
Image.getTags()
public ImageBuilder containerFormat(ContainerFormat containerFormat)
containerFormat
in interface ImageBuilder
Image.getContainerFormat()
public ImageBuilder diskFormat(DiskFormat diskFormat)
diskFormat
in interface ImageBuilder
Image.getDiskFormat()
public ImageBuilder minDisk(Long minDisk)
minDisk
in interface ImageBuilder
Image.getMinDisk()
public ImageBuilder minRam(Long minRam)
minRam
in interface ImageBuilder
Image.getMinRam()
public ImageBuilder isProtected(Boolean isProtected)
isProtected
in interface ImageBuilder
Image.getIsProtected()
public ImageBuilder architecture(String architecture)
architecture
in interface ImageBuilder
Image.getArchitecture()
public ImageBuilder instanceUuid(String instanceUuid)
instanceUuid
in interface ImageBuilder
Image.getInstanceUuid()
public ImageBuilder kernelId(String kernelId)
kernelId
in interface ImageBuilder
Image.getKernelId()
public ImageBuilder osVersion(String osVersion)
osVersion
in interface ImageBuilder
Image.getOsVersion()
public ImageBuilder osDistro(String osDistro)
osDistro
in interface ImageBuilder
Image.getOsDistro()
public ImageBuilder ramdiskId(String ramdiskId)
ramdiskId
in interface ImageBuilder
Image.getRamdiskId()
public ImageBuilder additionalProperty(String key, String value)
additionalProperty
in interface ImageBuilder
Image#getAdditionalPropertyValue()
public Image build()
build
in interface Buildable.Builder<ImageBuilder,Image>
public ImageBuilder from(Image in)
from
in interface Buildable.Builder<ImageBuilder,Image>
protected Image reference()
reference
in class BasicResourceBuilder<Image,GlanceImage.ImageConcreteBuilder>
Copyright © 2017. All rights reserved.