Class AzureFileProperties
- java.lang.Object
-
- com.azure.resourcemanager.appcontainers.models.AzureFileProperties
-
public final class AzureFileProperties extends Object
Azure File Properties.
-
-
Constructor Summary
Constructors Constructor Description AzureFileProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AccessMode
accessMode()
Get the accessMode property: Access mode for storage.String
accountKey()
Get the accountKey property: Storage account key for azure file.String
accountName()
Get the accountName property: Storage account name for azure file.String
shareName()
Get the shareName property: Azure file share name.void
validate()
Validates the instance.AzureFileProperties
withAccessMode(AccessMode accessMode)
Set the accessMode property: Access mode for storage.AzureFileProperties
withAccountKey(String accountKey)
Set the accountKey property: Storage account key for azure file.AzureFileProperties
withAccountName(String accountName)
Set the accountName property: Storage account name for azure file.AzureFileProperties
withShareName(String shareName)
Set the shareName property: Azure file share name.
-
-
-
Method Detail
-
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.
-
-