Class Disk
- java.lang.Object
-
- io.fabric8.openshift.api.model.installer.v1.Disk
-
- All Implemented Interfaces:
io.fabric8.kubernetes.api.builder.Editable<DiskBuilder>,io.fabric8.kubernetes.api.model.KubernetesResource,Serializable
@Generated("io.fabric8.kubernetes.schema.generator.model.ModelGenerator") public class Disk extends Object implements io.fabric8.kubernetes.api.builder.Editable<DiskBuilder>, io.fabric8.kubernetes.api.model.KubernetesResource
Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DiskBuilderedit()Map<String,Object>getAdditionalProperties()DiskEtcdgetEtcd()Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.DiskSwapgetSwap()Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.StringgetType()Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.DiskUserDefinedgetUserDefined()Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.voidsetAdditionalProperties(Map<String,Object> additionalProperties)voidsetAdditionalProperty(String name, Object value)voidsetEtcd(DiskEtcd etcd)Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.voidsetSwap(DiskSwap swap)Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.voidsetType(String type)Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.voidsetUserDefined(DiskUserDefined userDefined)Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.DiskBuildertoBuilder()
-
-
-
Constructor Detail
-
Disk
public Disk()
No args constructor for use in serialization
-
Disk
public Disk(DiskEtcd etcd, DiskSwap swap, String type, DiskUserDefined userDefined)
-
-
Method Detail
-
getEtcd
public DiskEtcd getEtcd()
Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
-
setEtcd
public void setEtcd(DiskEtcd etcd)
Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
-
getSwap
public DiskSwap getSwap()
Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
-
setSwap
public void setSwap(DiskSwap swap)
Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
-
getType
public String getType()
Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
-
setType
public void setType(String type)
Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
-
getUserDefined
public DiskUserDefined getUserDefined()
Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
-
setUserDefined
public void setUserDefined(DiskUserDefined userDefined)
Disk defines the type of disk (etcd, swap or user-defined) and the configuration of each disk type.
-
edit
public DiskBuilder edit()
- Specified by:
editin interfaceio.fabric8.kubernetes.api.builder.Editable<DiskBuilder>
-
toBuilder
public DiskBuilder toBuilder()
-
-