Class BlockDeviceVolume
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1alpha1.BlockDeviceVolume
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<BlockDeviceVolumeBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class BlockDeviceVolume extends Object implements io.fabric8.kubernetes.api.builder.Editable<BlockDeviceVolumeBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
blockDeviceVolume contains additional storage options for a volume block device.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description BlockDeviceVolume()No args constructor for use in serializationBlockDeviceVolume(String availabilityZone, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BlockDeviceVolumeBuilderedit()Map<String,Object>getAdditionalProperties()StringgetAvailabilityZone()availabilityZone is the volume availability zone to create the volume in.StringgetType()type is the Cinder volume type of the volume.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAvailabilityZone(String availabilityZone)availabilityZone is the volume availability zone to create the volume in.voidsetType(String type)type is the Cinder volume type of the volume.BlockDeviceVolumeBuildertoBuilder()
-
-
-
Method Detail
-
getAvailabilityZone
public String getAvailabilityZone()
availabilityZone is the volume availability zone to create the volume in. If omitted, the availability zone of the server will be used. The availability zone must NOT contain spaces otherwise it will lead to volume that belongs to this availability zone register failure, see kubernetes/cloud-provider-openstack#1379 for further information.
-
setAvailabilityZone
public void setAvailabilityZone(String availabilityZone)
availabilityZone is the volume availability zone to create the volume in. If omitted, the availability zone of the server will be used. The availability zone must NOT contain spaces otherwise it will lead to volume that belongs to this availability zone register failure, see kubernetes/cloud-provider-openstack#1379 for further information.
-
getType
public String getType()
type is the Cinder volume type of the volume. If omitted, the default Cinder volume type that is configured in the OpenStack cloud will be used.
-
setType
public void setType(String type)
type is the Cinder volume type of the volume. If omitted, the default Cinder volume type that is configured in the OpenStack cloud will be used.
-
edit
public BlockDeviceVolumeBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<BlockDeviceVolumeBuilder>
-
toBuilder
public BlockDeviceVolumeBuilder toBuilder()
-
-