Class RootVolume
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.openstack.v1.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
RootVolume defines the storage for an instance.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RootVolume()No args constructor for use in serializationRootVolume(Integer size, String type, List<String> types, List<String> zones)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RootVolumeBuilderedit()Map<String,Object>getAdditionalProperties()IntegergetSize()Size defines the size of the volume in gibibytes (GiB).StringgetType()Type defines the type of the volume.List<String>getTypes()Types is the list of the volume types of the root volumes.List<String>getZones()Zones is the list of availability zones where the root volumes should be deployed.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetSize(Integer size)Size defines the size of the volume in gibibytes (GiB).voidsetType(String type)Type defines the type of the volume.voidsetTypes(List<String> types)Types is the list of the volume types of the root volumes.voidsetZones(List<String> zones)Zones is the list of availability zones where the root volumes should be deployed.RootVolumeBuildertoBuilder()
-
-
-
Method Detail
-
getSize
public Integer getSize()
Size defines the size of the volume in gibibytes (GiB). Required
-
setSize
public void setSize(Integer size)
Size defines the size of the volume in gibibytes (GiB). Required
-
getType
public String getType()
Type defines the type of the volume. Deprecated: Use Types instead.
-
setType
public void setType(String type)
Type defines the type of the volume. Deprecated: Use Types instead.
-
getTypes
public List<String> getTypes()
Types is the list of the volume types of the root volumes. This is mutually exclusive with Type.
-
setTypes
public void setTypes(List<String> types)
Types is the list of the volume types of the root volumes. This is mutually exclusive with Type.
-
getZones
public List<String> getZones()
Zones is the list of availability zones where the root volumes should be deployed. If no zones are provided, all instances will be deployed on OpenStack Cinder default availability zone
-
setZones
public void setZones(List<String> zones)
Zones is the list of availability zones where the root volumes should be deployed. If no zones are provided, all instances will be deployed on OpenStack Cinder default availability zone
-
edit
public RootVolumeBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<RootVolumeBuilder>
-
toBuilder
public RootVolumeBuilder toBuilder()
-
-