Class AzureFileProperties
java.lang.Object
com.azure.resourcemanager.appcontainers.models.AzureFileProperties
Azure File Properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accessMode property: Access mode for storage.Get the accountKey property: Storage account key for azure file.Get the accountName property: Storage account name for azure file.Get the shareName property: Azure file share name.void
validate()
Validates the instance.withAccessMode
(AccessMode accessMode) Set the accessMode property: Access mode for storage.withAccountKey
(String accountKey) Set the accountKey property: Storage account key for azure file.withAccountName
(String accountName) Set the accountName property: Storage account name for azure file.withShareName
(String shareName) Set the shareName property: Azure file share name.
-
Constructor Details
-
AzureFileProperties
public AzureFileProperties()Creates an instance of AzureFileProperties class.
-
-
Method Details
-
accountName
Get the accountName property: Storage account name for azure file.- Returns:
- the accountName value.
-
withAccountName
Set the accountName property: Storage account name for azure file.- Parameters:
accountName
- the accountName value to set.- Returns:
- the AzureFileProperties object itself.
-
accountKey
Get the accountKey property: Storage account key for azure file.- Returns:
- the accountKey value.
-
withAccountKey
Set the accountKey property: Storage account key for azure file.- Parameters:
accountKey
- the accountKey value to set.- Returns:
- the AzureFileProperties object itself.
-
accessMode
Get the accessMode property: Access mode for storage.- Returns:
- the accessMode value.
-
withAccessMode
Set the accessMode property: Access mode for storage.- Parameters:
accessMode
- the accessMode value to set.- Returns:
- the AzureFileProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-