Class V1AzureFilePersistentVolumeSource

java.lang.Object
io.micronaut.kubernetes.client.openapi.model.V1AzureFilePersistentVolumeSource

@Generated("io.micronaut.openapi.generator.JavaMicronautClientCodegen") public class V1AzureFilePersistentVolumeSource extends Object
AzureFile represents an Azure File Service mount on the host and bind mount to the pod.
  • Field Details

  • Constructor Details

    • V1AzureFilePersistentVolumeSource

      public V1AzureFilePersistentVolumeSource(String secretName, String shareName)
  • Method Details

    • getReadOnly

      public Boolean getReadOnly()
      readOnly defaults to false (read/write). ReadOnly here will force the ReadOnly setting in VolumeMounts.
      Returns:
      the readOnly property value
    • setReadOnly

      public void setReadOnly(Boolean readOnly)
      Set the readOnly property value
    • readOnly

      public V1AzureFilePersistentVolumeSource readOnly(Boolean readOnly)
      Set readOnly in a chainable fashion.
      Returns:
      The same instance of V1AzureFilePersistentVolumeSource for chaining.
    • getSecretName

      public String getSecretName()
      secretName is the name of secret that contains Azure Storage Account Name and Key
      Returns:
      the secretName property value
    • setSecretName

      public void setSecretName(String secretName)
      Set the secretName property value
    • secretName

      public V1AzureFilePersistentVolumeSource secretName(String secretName)
      Set secretName in a chainable fashion.
      Returns:
      The same instance of V1AzureFilePersistentVolumeSource for chaining.
    • getSecretNamespace

      public String getSecretNamespace()
      secretNamespace is the namespace of the secret that contains Azure Storage Account Name and Key default is the same as the Pod
      Returns:
      the secretNamespace property value
    • setSecretNamespace

      public void setSecretNamespace(String secretNamespace)
      Set the secretNamespace property value
    • secretNamespace

      public V1AzureFilePersistentVolumeSource secretNamespace(String secretNamespace)
      Set secretNamespace in a chainable fashion.
      Returns:
      The same instance of V1AzureFilePersistentVolumeSource for chaining.
    • getShareName

      public String getShareName()
      shareName is the azure Share Name
      Returns:
      the shareName property value
    • setShareName

      public void setShareName(String shareName)
      Set the shareName property value
    • shareName

      public V1AzureFilePersistentVolumeSource shareName(String shareName)
      Set shareName in a chainable fashion.
      Returns:
      The same instance of V1AzureFilePersistentVolumeSource for chaining.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object