Class AzureFileProperties

java.lang.Object
com.azure.resourcemanager.appcontainers.models.AzureFileProperties

public final class AzureFileProperties extends Object
Azure File Properties.
  • Constructor Details

    • AzureFileProperties

      public AzureFileProperties()
      Creates an instance of AzureFileProperties class.
  • Method Details

    • accountName

      public String accountName()
      Get the accountName property: Storage account name for azure file.
      Returns:
      the accountName value.
    • withAccountName

      public AzureFileProperties withAccountName(String accountName)
      Set the accountName property: Storage account name for azure file.
      Parameters:
      accountName - the accountName value to set.
      Returns:
      the AzureFileProperties object itself.
    • accountKey

      public String accountKey()
      Get the accountKey property: Storage account key for azure file.
      Returns:
      the accountKey value.
    • withAccountKey

      public AzureFileProperties withAccountKey(String accountKey)
      Set the accountKey property: Storage account key for azure file.
      Parameters:
      accountKey - the accountKey value to set.
      Returns:
      the AzureFileProperties object itself.
    • accessMode

      public AccessMode accessMode()
      Get the accessMode property: Access mode for storage.
      Returns:
      the accessMode value.
    • withAccessMode

      public AzureFileProperties withAccessMode(AccessMode accessMode)
      Set the accessMode property: Access mode for storage.
      Parameters:
      accessMode - the accessMode value to set.
      Returns:
      the AzureFileProperties object itself.
    • shareName

      public String shareName()
      Get the shareName property: Azure file share name.
      Returns:
      the shareName value.
    • withShareName

      public AzureFileProperties withShareName(String shareName)
      Set the shareName property: Azure file share name.
      Parameters:
      shareName - the shareName value to set.
      Returns:
      the AzureFileProperties object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.