Package net.stickycode.kuuty.model.v18
Class IoK8sApiStorageV1beta1StorageClass
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiStorageV1beta1StorageClass
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiStorageV1beta1StorageClass extends Object
StorageClass describes the parameters for a class of storage for which PersistentVolumes can be dynamically provisioned. StorageClasses are non-namespaced; the name of the storage class according to etcd is in ObjectMeta.Name.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_ALLOW_VOLUME_EXPANSIONstatic StringJSON_PROPERTY_ALLOWED_TOPOLOGIESstatic StringJSON_PROPERTY_API_VERSIONstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_METADATAstatic StringJSON_PROPERTY_MOUNT_OPTIONSstatic StringJSON_PROPERTY_PARAMETERSstatic StringJSON_PROPERTY_PROVISIONERstatic StringJSON_PROPERTY_RECLAIM_POLICYstatic StringJSON_PROPERTY_VOLUME_BINDING_MODE
-
Constructor Summary
Constructors Constructor Description IoK8sApiStorageV1beta1StorageClass()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_ALLOW_VOLUME_EXPANSION
public static final String JSON_PROPERTY_ALLOW_VOLUME_EXPANSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ALLOWED_TOPOLOGIES
public static final String JSON_PROPERTY_ALLOWED_TOPOLOGIES
- See Also:
- Constant Field Values
-
JSON_PROPERTY_API_VERSION
public static final String JSON_PROPERTY_API_VERSION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_KIND
public static final String JSON_PROPERTY_KIND
- See Also:
- Constant Field Values
-
JSON_PROPERTY_METADATA
public static final String JSON_PROPERTY_METADATA
- See Also:
- Constant Field Values
-
JSON_PROPERTY_MOUNT_OPTIONS
public static final String JSON_PROPERTY_MOUNT_OPTIONS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PARAMETERS
public static final String JSON_PROPERTY_PARAMETERS
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROVISIONER
public static final String JSON_PROPERTY_PROVISIONER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_RECLAIM_POLICY
public static final String JSON_PROPERTY_RECLAIM_POLICY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VOLUME_BINDING_MODE
public static final String JSON_PROPERTY_VOLUME_BINDING_MODE
- See Also:
- Constant Field Values
-
-
Method Detail
-
allowVolumeExpansion
public IoK8sApiStorageV1beta1StorageClass allowVolumeExpansion(Boolean allowVolumeExpansion)
-
getAllowVolumeExpansion
@Nullable public Boolean getAllowVolumeExpansion()
AllowVolumeExpansion shows whether the storage class allow volume expand- Returns:
- allowVolumeExpansion
-
setAllowVolumeExpansion
public void setAllowVolumeExpansion(Boolean allowVolumeExpansion)
-
allowedTopologies
public IoK8sApiStorageV1beta1StorageClass allowedTopologies(List<IoK8sApiCoreV1TopologySelectorTerm> allowedTopologies)
-
addAllowedTopologiesItem
public IoK8sApiStorageV1beta1StorageClass addAllowedTopologiesItem(IoK8sApiCoreV1TopologySelectorTerm allowedTopologiesItem)
-
getAllowedTopologies
@Nullable public List<IoK8sApiCoreV1TopologySelectorTerm> getAllowedTopologies()
Restrict the node topologies where volumes can be dynamically provisioned. Each volume plugin defines its own supported topology specifications. An empty TopologySelectorTerm list means there is no topology restriction. This field is only honored by servers that enable the VolumeScheduling feature.- Returns:
- allowedTopologies
-
setAllowedTopologies
public void setAllowedTopologies(List<IoK8sApiCoreV1TopologySelectorTerm> allowedTopologies)
-
apiVersion
public IoK8sApiStorageV1beta1StorageClass apiVersion(String apiVersion)
-
getApiVersion
@Nullable public String getApiVersion()
APIVersion defines the versioned schema of this representation of an object. Servers should convert recognized schemas to the latest internal value, and may reject unrecognized values. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#resources- Returns:
- apiVersion
-
setApiVersion
public void setApiVersion(String apiVersion)
-
kind
public IoK8sApiStorageV1beta1StorageClass kind(String kind)
-
getKind
@Nullable public String getKind()
Kind is a string value representing the REST resource this object represents. Servers may infer this from the endpoint the client submits requests to. Cannot be updated. In CamelCase. More info: https://git.k8s.io/community/contributors/devel/sig-architecture/api-conventions.md#types-kinds- Returns:
- kind
-
setKind
public void setKind(String kind)
-
metadata
public IoK8sApiStorageV1beta1StorageClass metadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
getMetadata
@Nullable public IoK8sApimachineryPkgApisMetaV1ObjectMeta getMetadata()
Get metadata- Returns:
- metadata
-
setMetadata
public void setMetadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
mountOptions
public IoK8sApiStorageV1beta1StorageClass mountOptions(List<String> mountOptions)
-
addMountOptionsItem
public IoK8sApiStorageV1beta1StorageClass addMountOptionsItem(String mountOptionsItem)
-
getMountOptions
@Nullable public List<String> getMountOptions()
Dynamically provisioned PersistentVolumes of this storage class are created with these mountOptions, e.g. [\"ro\", \"soft\"]. Not validated - mount of the PVs will simply fail if one is invalid.- Returns:
- mountOptions
-
parameters
public IoK8sApiStorageV1beta1StorageClass parameters(Map<String,String> parameters)
-
putParametersItem
public IoK8sApiStorageV1beta1StorageClass putParametersItem(String key, String parametersItem)
-
getParameters
@Nullable public Map<String,String> getParameters()
Parameters holds the parameters for the provisioner that should create volumes of this storage class.- Returns:
- parameters
-
provisioner
public IoK8sApiStorageV1beta1StorageClass provisioner(String provisioner)
-
getProvisioner
public String getProvisioner()
Provisioner indicates the type of the provisioner.- Returns:
- provisioner
-
setProvisioner
public void setProvisioner(String provisioner)
-
reclaimPolicy
public IoK8sApiStorageV1beta1StorageClass reclaimPolicy(String reclaimPolicy)
-
getReclaimPolicy
@Nullable public String getReclaimPolicy()
Dynamically provisioned PersistentVolumes of this storage class are created with this reclaimPolicy. Defaults to Delete.- Returns:
- reclaimPolicy
-
setReclaimPolicy
public void setReclaimPolicy(String reclaimPolicy)
-
volumeBindingMode
public IoK8sApiStorageV1beta1StorageClass volumeBindingMode(String volumeBindingMode)
-
getVolumeBindingMode
@Nullable public String getVolumeBindingMode()
VolumeBindingMode indicates how PersistentVolumeClaims should be provisioned and bound. When unset, VolumeBindingImmediate is used. This field is only honored by servers that enable the VolumeScheduling feature.- Returns:
- volumeBindingMode
-
setVolumeBindingMode
public void setVolumeBindingMode(String volumeBindingMode)
-
-