Class RootVolume
- java.lang.Object
-
- io.fabric8.openshift.api.model.machine.v1alpha1.RootVolume
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<RootVolumeBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class RootVolume extends Object implements io.fabric8.kubernetes.api.builder.Editable<RootVolumeBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RootVolume()No args constructor for use in serializationRootVolume(String availabilityZone, String deviceType, Integer diskSize, String sourceType, String sourceUUID, String volumeType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RootVolumeBuilderedit()Map<String,Object>getAdditionalProperties()StringgetAvailabilityZone()availabilityZone specifies the Cinder availability where the root volume will be created.StringgetDeviceType()Deprecated: deviceType will be silently ignored.IntegergetDiskSize()diskSize specifies the size, in GiB, of the created root volume.StringgetSourceType()Deprecated: sourceType will be silently ignored.StringgetSourceUUID()sourceUUID specifies the UUID of a glance image used to populate the root volume.StringgetVolumeType()volumeType specifies a volume type to use when creating the root volume.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetAvailabilityZone(String availabilityZone)availabilityZone specifies the Cinder availability where the root volume will be created.voidsetDeviceType(String deviceType)Deprecated: deviceType will be silently ignored.voidsetDiskSize(Integer diskSize)diskSize specifies the size, in GiB, of the created root volume.voidsetSourceType(String sourceType)Deprecated: sourceType will be silently ignored.voidsetSourceUUID(String sourceUUID)sourceUUID specifies the UUID of a glance image used to populate the root volume.voidsetVolumeType(String volumeType)volumeType specifies a volume type to use when creating the root volume.RootVolumeBuildertoBuilder()
-
-
-
Method Detail
-
getAvailabilityZone
public String getAvailabilityZone()
availabilityZone specifies the Cinder availability where the root volume will be created.
-
setAvailabilityZone
public void setAvailabilityZone(String availabilityZone)
availabilityZone specifies the Cinder availability where the root volume will be created.
-
getDeviceType
public String getDeviceType()
Deprecated: deviceType will be silently ignored. There is no replacement.
-
setDeviceType
public void setDeviceType(String deviceType)
Deprecated: deviceType will be silently ignored. There is no replacement.
-
getDiskSize
public Integer getDiskSize()
diskSize specifies the size, in GiB, of the created root volume.
-
setDiskSize
public void setDiskSize(Integer diskSize)
diskSize specifies the size, in GiB, of the created root volume.
-
getSourceType
public String getSourceType()
Deprecated: sourceType will be silently ignored. There is no replacement.
-
setSourceType
public void setSourceType(String sourceType)
Deprecated: sourceType will be silently ignored. There is no replacement.
-
getSourceUUID
public String getSourceUUID()
sourceUUID specifies the UUID of a glance image used to populate the root volume. Deprecated: set image in the platform spec instead. This will be ignored if image is set in the platform spec.
-
setSourceUUID
public void setSourceUUID(String sourceUUID)
sourceUUID specifies the UUID of a glance image used to populate the root volume. Deprecated: set image in the platform spec instead. This will be ignored if image is set in the platform spec.
-
getVolumeType
public String getVolumeType()
volumeType specifies a volume type to use when creating the root volume. If not specified the default volume type will be used.
-
setVolumeType
public void setVolumeType(String volumeType)
volumeType specifies a volume type to use when creating the root volume. If not specified the default volume type will be used.
-
edit
public RootVolumeBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<RootVolumeBuilder>
-
toBuilder
public RootVolumeBuilder toBuilder()
-
-