Class BlockDeviceMapping.Builder
- java.lang.Object
-
- org.jclouds.openstack.nova.v2_0.domain.BlockDeviceMapping.Builder
-
- Enclosing class:
- BlockDeviceMapping
public static class BlockDeviceMapping.Builder extends Object
-
-
Field Summary
Fields Modifier and Type Field Description protected Integer
bootIndex
protected Boolean
deleteOnTermination
protected String
destinationType
protected String
deviceName
protected String
deviceType
protected String
diskBus
protected String
guestFormat
protected Boolean
noDevice
protected String
sourceType
protected String
uuid
protected Integer
volumeSize
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockDeviceMapping.Builder
bootIndex(Integer bootIndex)
BlockDeviceMapping
build()
BlockDeviceMapping.Builder
deleteOnTermination(Boolean deleteOnTermination)
BlockDeviceMapping.Builder
destinationType(String destinationType)
BlockDeviceMapping.Builder
deviceName(String deviceName)
BlockDeviceMapping.Builder
deviceType(String deviceType)
BlockDeviceMapping.Builder
diskBus(String diskBus)
BlockDeviceMapping.Builder
fromBlockDeviceMapping(BlockDeviceMapping in)
BlockDeviceMapping.Builder
guestFormat(String guestFormat)
BlockDeviceMapping.Builder
noDevice(Boolean noDevice)
BlockDeviceMapping.Builder
sourceType(String sourceType)
BlockDeviceMapping.Builder
uuid(String uuid)
BlockDeviceMapping.Builder
volumeSize(Integer volumeSize)
-
-
-
Field Detail
-
uuid
protected String uuid
-
deviceName
protected String deviceName
-
deviceType
protected String deviceType
-
volumeSize
protected Integer volumeSize
-
sourceType
protected String sourceType
-
destinationType
protected String destinationType
-
diskBus
protected String diskBus
-
noDevice
protected Boolean noDevice
-
guestFormat
protected String guestFormat
-
bootIndex
protected Integer bootIndex
-
deleteOnTermination
protected Boolean deleteOnTermination
-
-
Method Detail
-
uuid
public BlockDeviceMapping.Builder uuid(String uuid)
-
deviceName
public BlockDeviceMapping.Builder deviceName(String deviceName)
-
deviceType
public BlockDeviceMapping.Builder deviceType(String deviceType)
-
volumeSize
public BlockDeviceMapping.Builder volumeSize(Integer volumeSize)
-
sourceType
public BlockDeviceMapping.Builder sourceType(String sourceType)
-
destinationType
public BlockDeviceMapping.Builder destinationType(String destinationType)
-
diskBus
public BlockDeviceMapping.Builder diskBus(String diskBus)
-
noDevice
public BlockDeviceMapping.Builder noDevice(Boolean noDevice)
-
guestFormat
public BlockDeviceMapping.Builder guestFormat(String guestFormat)
-
bootIndex
public BlockDeviceMapping.Builder bootIndex(Integer bootIndex)
-
deleteOnTermination
public BlockDeviceMapping.Builder deleteOnTermination(Boolean deleteOnTermination)
-
build
public BlockDeviceMapping build()
-
fromBlockDeviceMapping
public BlockDeviceMapping.Builder fromBlockDeviceMapping(BlockDeviceMapping in)
-
-