Class V1AzureFileVolumeSource
java.lang.Object
io.kubernetes.client.openapi.models.V1AzureFileVolumeSource
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-10-04T19:37:38.574271Z[Etc/UTC]",
comments="Generator version: 7.6.0")
public class V1AzureFileVolumeSource
extends Object
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic V1AzureFileVolumeSourceCreate an instance of V1AzureFileVolumeSource given an JSON stringreadOnly defaults to false (read/write).secretName is the name of secret that contains Azure Storage Account Name and KeyshareName is the azure share NameinthashCode()secretName(String secretName) voidsetReadOnly(Boolean readOnly) voidsetSecretName(String secretName) voidsetShareName(String shareName) toJson()Convert an instance of V1AzureFileVolumeSource 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_READ_ONLY
- See Also:
-
SERIALIZED_NAME_SECRET_NAME
- See Also:
-
SERIALIZED_NAME_SHARE_NAME
- See Also:
-
openapiFields
-
openapiRequiredFields
-
-
Constructor Details
-
V1AzureFileVolumeSource
public V1AzureFileVolumeSource()
-
-
Method Details
-
readOnly
-
getReadOnly
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.- Returns:
- readOnly
-
setReadOnly
-
secretName
-
getSecretName
secretName is the name of secret that contains Azure Storage Account Name and Key- Returns:
- secretName
-
setSecretName
-
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 V1AzureFileVolumeSource
-
fromJson
Create an instance of V1AzureFileVolumeSource given an JSON string- Parameters:
jsonString- JSON string- Returns:
- An instance of V1AzureFileVolumeSource
- Throws:
IOException- if the JSON string is invalid with respect to V1AzureFileVolumeSource
-
toJson
Convert an instance of V1AzureFileVolumeSource to an JSON string- Returns:
- JSON string
-