Class V1FlockerVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1FlockerVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-02-02T17:56:12.287571Z[Etc/UTC]")
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) boolean
static V1FlockerVolumeSource
Create 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.int
hashCode()
void
setDatasetName
(String datasetName) void
setDatasetUUID
(String datasetUUID) toJson()
Convert an instance of V1FlockerVolumeSource to an JSON stringtoString()
static void
validateJsonObject
(com.google.gson.JsonObject jsonObj) Validates the JSON Object 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
-
validateJsonObject
Validates the JSON Object and throws an exception if issues found- Parameters:
jsonObj
- JSON Object- Throws:
IOException
- if the JSON Object 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
-