Class AzureFilePersistentVolumeSource
- java.lang.Object
-
- com.marcnuri.yakc.model.io.k8s.api.core.v1.AzureFilePersistentVolumeSource
-
- All Implemented Interfaces:
com.marcnuri.yakc.model.Model
public class AzureFilePersistentVolumeSource extends java.lang.Object implements com.marcnuri.yakc.model.Model
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AzureFilePersistentVolumeSource.Builder
-
Constructor Summary
Constructors Constructor Description AzureFilePersistentVolumeSource()
AzureFilePersistentVolumeSource(java.lang.Boolean readOnly, @NonNull java.lang.String secretName, java.lang.String secretNamespace, @NonNull java.lang.String shareName)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AzureFilePersistentVolumeSource.Builder
builder()
protected boolean
canEqual(java.lang.Object other)
boolean
equals(java.lang.Object o)
java.lang.Boolean
getReadOnly()
readOnly defaults to false (read/write).@NonNull java.lang.String
getSecretName()
secretName is the name of secret that contains Azure Storage Account Name and Keyjava.lang.String
getSecretNamespace()
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod@NonNull java.lang.String
getShareName()
shareName is the azure Share Nameint
hashCode()
void
setReadOnly(java.lang.Boolean readOnly)
readOnly defaults to false (read/write).void
setSecretName(@NonNull java.lang.String secretName)
secretName is the name of secret that contains Azure Storage Account Name and Keyvoid
setSecretNamespace(java.lang.String secretNamespace)
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Podvoid
setShareName(@NonNull java.lang.String shareName)
shareName is the azure Share NameAzureFilePersistentVolumeSource.Builder
toBuilder()
java.lang.String
toString()
-
-
-
Constructor Detail
-
AzureFilePersistentVolumeSource
public AzureFilePersistentVolumeSource(java.lang.Boolean readOnly, @NonNull @NonNull java.lang.String secretName, java.lang.String secretNamespace, @NonNull @NonNull java.lang.String shareName)
-
AzureFilePersistentVolumeSource
public AzureFilePersistentVolumeSource()
-
-
Method Detail
-
builder
public static AzureFilePersistentVolumeSource.Builder builder()
-
toBuilder
public AzureFilePersistentVolumeSource.Builder toBuilder()
-
getReadOnly
public java.lang.Boolean getReadOnly()
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
getSecretName
@NonNull public @NonNull java.lang.String getSecretName()
secretName is the name of secret that contains Azure Storage Account Name and Key
-
getSecretNamespace
public java.lang.String getSecretNamespace()
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod
-
getShareName
@NonNull public @NonNull java.lang.String getShareName()
shareName is the azure Share Name
-
setReadOnly
public void setReadOnly(java.lang.Boolean readOnly)
readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
-
setSecretName
public void setSecretName(@NonNull @NonNull java.lang.String secretName)
secretName is the name of secret that contains Azure Storage Account Name and Key
-
setSecretNamespace
public void setSecretNamespace(java.lang.String secretNamespace)
secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod
-
setShareName
public void setShareName(@NonNull @NonNull java.lang.String shareName)
shareName is the azure Share Name
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
-
canEqual
protected boolean canEqual(java.lang.Object other)
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-