Class BlockDeviceStorage
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1alpha1.BlockDeviceStorage
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<BlockDeviceStorageBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BlockDeviceStorage extends Object implements io.fabric8.kubernetes.api.builder.Editable<BlockDeviceStorageBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
blockDeviceStorage is the storage type of a block device to create and contains additional storage options.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BlockDeviceStorage()No args constructor for use in serializationBlockDeviceStorage(String type, BlockDeviceVolume volume)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockDeviceStorageBuilderedit()Map<String,Object>getAdditionalProperties()StringgetType()type is the type of block device to create.BlockDeviceVolumegetVolume()blockDeviceStorage is the storage type of a block device to create and contains additional storage options.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetType(String type)type is the type of block device to create.voidsetVolume(BlockDeviceVolume volume)blockDeviceStorage is the storage type of a block device to create and contains additional storage options.BlockDeviceStorageBuildertoBuilder()
-
-
-
Constructor Detail
-
BlockDeviceStorage
public BlockDeviceStorage()
No args constructor for use in serialization
-
BlockDeviceStorage
public BlockDeviceStorage(String type, BlockDeviceVolume volume)
-
-
Method Detail
-
getType
public String getType()
type is the type of block device to create. This can be either "Volume" or "Local".
-
setType
public void setType(String type)
type is the type of block device to create. This can be either "Volume" or "Local".
-
getVolume
public BlockDeviceVolume getVolume()
blockDeviceStorage is the storage type of a block device to create and contains additional storage options.
-
setVolume
public void setVolume(BlockDeviceVolume volume)
blockDeviceStorage is the storage type of a block device to create and contains additional storage options.
-
edit
public BlockDeviceStorageBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BlockDeviceStorageBuilder>
-
toBuilder
public BlockDeviceStorageBuilder toBuilder()
-
-