Package net.stickycode.kuuty.model.v18
Class IoK8sApiStorageV1beta1CSIDriver
- java.lang.Object
-
- net.stickycode.kuuty.model.v18.IoK8sApiStorageV1beta1CSIDriver
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2020-11-26T11:01:11.402583+13:00[Pacific/Auckland]") public class IoK8sApiStorageV1beta1CSIDriver extends Object
CSIDriver captures information about a Container Storage Interface (CSI) volume driver deployed on the cluster. CSI drivers do not need to create the CSIDriver object directly. Instead they may use the cluster-driver-registrar sidecar container. When deployed with a CSI driver it automatically creates a CSIDriver object representing the driver. Kubernetes attach detach controller uses this object to determine whether attach is required. Kubelet uses this object to determine whether pod information needs to be passed on mount. CSIDriver objects are non-namespaced.
-
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_API_VERSIONstatic StringJSON_PROPERTY_KINDstatic StringJSON_PROPERTY_METADATAstatic StringJSON_PROPERTY_SPEC
-
Constructor Summary
Constructors Constructor Description IoK8sApiStorageV1beta1CSIDriver()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IoK8sApiStorageV1beta1CSIDriverapiVersion(String apiVersion)booleanequals(Object o)StringgetApiVersion()APIVersion defines the versioned schema of this representation of an object.StringgetKind()Kind is a string value representing the REST resource this object represents.IoK8sApimachineryPkgApisMetaV1ObjectMetagetMetadata()Get metadataIoK8sApiStorageV1beta1CSIDriverSpecgetSpec()Get specinthashCode()IoK8sApiStorageV1beta1CSIDriverkind(String kind)IoK8sApiStorageV1beta1CSIDrivermetadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)voidsetApiVersion(String apiVersion)voidsetKind(String kind)voidsetMetadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)voidsetSpec(IoK8sApiStorageV1beta1CSIDriverSpec spec)IoK8sApiStorageV1beta1CSIDriverspec(IoK8sApiStorageV1beta1CSIDriverSpec spec)StringtoString()
-
-
-
Field Detail
-
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_SPEC
public static final String JSON_PROPERTY_SPEC
- See Also:
- Constant Field Values
-
-
Method Detail
-
apiVersion
public IoK8sApiStorageV1beta1CSIDriver 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 IoK8sApiStorageV1beta1CSIDriver 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 IoK8sApiStorageV1beta1CSIDriver metadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
getMetadata
@Nullable public IoK8sApimachineryPkgApisMetaV1ObjectMeta getMetadata()
Get metadata- Returns:
- metadata
-
setMetadata
public void setMetadata(IoK8sApimachineryPkgApisMetaV1ObjectMeta metadata)
-
spec
public IoK8sApiStorageV1beta1CSIDriver spec(IoK8sApiStorageV1beta1CSIDriverSpec spec)
-
getSpec
public IoK8sApiStorageV1beta1CSIDriverSpec getSpec()
Get spec- Returns:
- spec
-
setSpec
public void setSpec(IoK8sApiStorageV1beta1CSIDriverSpec spec)
-
-