Class V1FlockerVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1FlockerVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-02-04T19:05:53.712211Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1FlockerVolumeSource
extends Object
Represents a Flocker volume mounted by the Flocker agent. One and only one of datasetName and datasetUUID should be set. Flocker volumes do not support ownership management or SELinux relabeling.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondatasetName(String datasetName) datasetUUID(String datasetUUID) booleanstatic V1FlockerVolumeSourceCreate an instance of V1FlockerVolumeSource given an JSON stringdatasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecateddatasetUUID is the UUID of the dataset.inthashCode()voidsetDatasetName(String datasetName) voidsetDatasetUUID(String datasetUUID) toJson()Convert an instance of V1FlockerVolumeSource to an JSON stringtoString()static voidvalidateJsonElement(com.google.gson.JsonElement jsonElement) Validates the JSON Element and throws an exception if issues found
-
Field Details
-
SERIALIZED_NAME_DATASET_NAME
- See Also:
-
SERIALIZED_NAME_DATASET_U_U_I_D
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1FlockerVolumeSource
public V1FlockerVolumeSource()
-
-
Method Details
-
datasetName
-
getDatasetName
datasetName is Name of the dataset stored as metadata -> name on the dataset for Flocker should be considered as deprecated- Returns:
- datasetName
-
setDatasetName
-
datasetUUID
-
getDatasetUUID
datasetUUID is the UUID of the dataset. This is unique identifier of a Flocker dataset- Returns:
- datasetUUID
-
setDatasetUUID
-
equals
-
hashCode
public int hashCode() -
toString
-
validateJsonElement
Validates the JSON Element and throws an exception if issues found- Parameters:
jsonElement- JSON Element- Throws:
IOException- if the JSON Element is invalid with respect to V1FlockerVolumeSource
-
fromJson
Create an instance of V1FlockerVolumeSource given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1FlockerVolumeSource
- Throws:
IOException- if the JSON string is invalid with respect to V1FlockerVolumeSource
-
toJson
Convert an instance of V1FlockerVolumeSource to an JSON string- Returns:
- JSON string
-