Class IoK8sApiStorageV1StorageClass


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]")
    public class IoK8sApiStorageV1StorageClass
    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.
    • Constructor Detail

      • IoK8sApiStorageV1StorageClass

        public IoK8sApiStorageV1StorageClass()
    • Method Detail

      • getAllowVolumeExpansion

        @Nullable
        public Boolean getAllowVolumeExpansion()
        AllowVolumeExpansion shows whether the storage class allow volume expand
        Returns:
        allowVolumeExpansion
      • setAllowVolumeExpansion

        public void setAllowVolumeExpansion​(Boolean allowVolumeExpansion)
      • 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
      • 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)
      • 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)
      • 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
      • setMountOptions

        public void setMountOptions​(List<String> mountOptions)
      • getParameters

        @Nullable
        public Map<String,​String> getParameters()
        Parameters holds the parameters for the provisioner that should create volumes of this storage class.
        Returns:
        parameters
      • setParameters

        public void setParameters​(Map<String,​String> parameters)
      • getProvisioner

        public String getProvisioner()
        Provisioner indicates the type of the provisioner.
        Returns:
        provisioner
      • setProvisioner

        public void setProvisioner​(String provisioner)
      • 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)
      • 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)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object