Class RootVolume
- java.lang.Object
-
- io.fabric8.openshift.api.model.hive.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)
-
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.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.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. Required
-
setType
public void setType(String type)
Type defines the type of the volume. Required
-
edit
public RootVolumeBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<RootVolumeBuilder>
-
toBuilder
public RootVolumeBuilder toBuilder()
-
-