public interface ImageBuilder extends Buildable.Builder<ImageBuilder,Image>
Modifier and Type | Method and Description |
---|---|
ImageBuilder |
checksum(String checksum) |
ImageBuilder |
containerFormat(ContainerFormat containerFormat) |
ImageBuilder |
copyFrom(String copyFrom) |
ImageBuilder |
diskFormat(DiskFormat diskFormat) |
ImageBuilder |
id(String id) |
ImageBuilder |
isPublic(Boolean isPublic) |
ImageBuilder |
minDisk(Long minDisk) |
ImageBuilder |
minRam(Long minRam) |
ImageBuilder |
name(String name) |
ImageBuilder |
owner(String owner) |
ImageBuilder |
properties(Map<String,String> properties) |
ImageBuilder |
property(String key,
String value) |
ImageBuilder |
size(Long size) |
ImageBuilder |
storeType(StoreType storeType)
Store type to be used during create or reserving of new images
|
build, from
ImageBuilder id(String id)
IdEntity.getId()
ImageBuilder name(String name)
BasicResource.getName()
ImageBuilder diskFormat(DiskFormat diskFormat)
Image.getDiskFormat()
ImageBuilder containerFormat(ContainerFormat containerFormat)
Image.getContainerFormat()
ImageBuilder size(Long size)
Image.getSize()
ImageBuilder checksum(String checksum)
Image.getChecksum()
ImageBuilder minDisk(Long minDisk)
Image.getMinDisk()
ImageBuilder minRam(Long minRam)
Image.getMinRam()
ImageBuilder owner(String owner)
Image.getOwner()
ImageBuilder isPublic(Boolean isPublic)
Image.isPublic()
ImageBuilder properties(Map<String,String> properties)
Image.getProperties()
ImageBuilder property(String key, String value)
Image.getProperties()
ImageBuilder storeType(StoreType storeType)
storeType
- the store typeImageBuilder copyFrom(String copyFrom)
Image.getCopyFrom()
Copyright © 2017. All rights reserved.