Class V1beta1VolumeAttributesClass
java.lang.Object
io.kubernetes.client.openapi.models.V1beta1VolumeAttributesClass
- All Implemented Interfaces:
KubernetesObject
,KubernetesType
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-07T19:21:52.410010Z[Etc/UTC]")
public class V1beta1VolumeAttributesClass
extends Object
implements KubernetesObject
VolumeAttributesClass represents a specification of mutable volume attributes defined by the CSI driver. The class can be specified during dynamic provisioning of PersistentVolumeClaims, and changed in the PersistentVolumeClaim spec after provisioning.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionapiVersion
(String apiVersion) driverName
(String driverName) boolean
APIVersion defines the versioned schema of this representation of an object.Name of the CSI driver This field is immutable.getKind()
Kind is a string value representing the REST resource this object represents.Get metadataparameters hold volume attributes defined by the CSI driver.int
hashCode()
metadata
(V1ObjectMeta metadata) parameters
(Map<String, String> parameters) putParametersItem
(String key, String parametersItem) void
setApiVersion
(String apiVersion) void
setDriverName
(String driverName) void
void
setMetadata
(V1ObjectMeta metadata) void
setParameters
(Map<String, String> parameters) toString()
-
Field Details
-
SERIALIZED_NAME_API_VERSION
- See Also:
-
SERIALIZED_NAME_DRIVER_NAME
- See Also:
-
SERIALIZED_NAME_KIND
- See Also:
-
SERIALIZED_NAME_METADATA
- See Also:
-
SERIALIZED_NAME_PARAMETERS
- See Also:
-
-
Constructor Details
-
V1beta1VolumeAttributesClass
public V1beta1VolumeAttributesClass()
-
-
Method Details
-
apiVersion
-
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- Specified by:
getApiVersion
in interfaceKubernetesType
- Returns:
- apiVersion
-
setApiVersion
-
driverName
-
getDriverName
Name of the CSI driver This field is immutable.- Returns:
- driverName
-
setDriverName
-
kind
-
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- Specified by:
getKind
in interfaceKubernetesType
- Returns:
- kind
-
setKind
-
metadata
-
getMetadata
Get metadata- Specified by:
getMetadata
in interfaceKubernetesObject
- Returns:
- metadata
-
setMetadata
-
parameters
-
putParametersItem
-
getParameters
parameters hold volume attributes defined by the CSI driver. These values are opaque to the Kubernetes and are passed directly to the CSI driver. The underlying storage provider supports changing these attributes on an existing volume, however the parameters field itself is immutable. To invoke a volume update, a new VolumeAttributesClass should be created with new parameters, and the PersistentVolumeClaim should be updated to reference the new VolumeAttributesClass. This field is required and must contain at least one key/value pair. The keys cannot be empty, and the maximum number of parameters is 512, with a cumulative max size of 256K. If the CSI driver rejects invalid parameters, the target PersistentVolumeClaim will be set to an \"Infeasible\" state in the modifyVolumeStatus field.- Returns:
- parameters
-
setParameters
-
equals
-
hashCode
public int hashCode() -
toString
-