Class 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.
    • 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

      • 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 class java.lang.Object
      • canEqual

        protected boolean canEqual​(java.lang.Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object