public final class AzureFileVolume extends Object
| Constructor and Description |
|---|
AzureFileVolume() |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
readOnly()
Get the readOnly property: The flag indicating whether the Azure File shared mounted as a volume is read-only.
|
String |
shareName()
Get the shareName property: The name of the Azure File share to be mounted as a volume.
|
String |
storageAccountKey()
Get the storageAccountKey property: The storage account access key used to access the Azure File share.
|
String |
storageAccountName()
Get the storageAccountName property: The name of the storage account that contains the Azure File share.
|
void |
validate()
Validates the instance.
|
AzureFileVolume |
withReadOnly(Boolean readOnly)
Set the readOnly property: The flag indicating whether the Azure File shared mounted as a volume is read-only.
|
AzureFileVolume |
withShareName(String shareName)
Set the shareName property: The name of the Azure File share to be mounted as a volume.
|
AzureFileVolume |
withStorageAccountKey(String storageAccountKey)
Set the storageAccountKey property: The storage account access key used to access the Azure File share.
|
AzureFileVolume |
withStorageAccountName(String storageAccountName)
Set the storageAccountName property: The name of the storage account that contains the Azure File share.
|
public String shareName()
public AzureFileVolume withShareName(String shareName)
shareName - the shareName value to set.public Boolean readOnly()
public AzureFileVolume withReadOnly(Boolean readOnly)
readOnly - the readOnly value to set.public String storageAccountName()
public AzureFileVolume withStorageAccountName(String storageAccountName)
storageAccountName - the storageAccountName value to set.public String storageAccountKey()
public AzureFileVolume withStorageAccountKey(String storageAccountKey)
storageAccountKey - the storageAccountKey value to set.public void validate()
IllegalArgumentException - thrown if the instance is not valid.Copyright © 2021 Microsoft Corporation. All rights reserved.