public class UploadImageData extends Object
Modifier and Type | Method and Description |
---|---|
UploadImageData |
containerFormat(ContainerFormat containerFormat)
The container format for this volume image (default is BARE)
|
static UploadImageData |
create(String imageName)
Creates new UploadImageOptions with the specified image name
|
UploadImageData |
diskFormat(DiskFormat diskFormat)
The disk format for this volume image (default is RAW)
|
UploadImageData |
force(boolean isForce) |
ContainerFormat |
getContainerFormat() |
DiskFormat |
getDiskFormat() |
String |
getImageName() |
UploadImageData |
imageName(String imageName)
The image name used as a display name for the upload
|
boolean |
isForce() |
public static UploadImageData create(String imageName)
imageName
- the image name for uploadpublic UploadImageData containerFormat(ContainerFormat containerFormat)
containerFormat
- the container formatpublic UploadImageData diskFormat(DiskFormat diskFormat)
diskFormat
- the disk formatpublic UploadImageData force(boolean isForce)
public UploadImageData imageName(String imageName)
imageName
- the image namepublic String getImageName()
public ContainerFormat getContainerFormat()
public DiskFormat getDiskFormat()
public boolean isForce()
Copyright © 2017. All rights reserved.