Class ShareProperties
java.lang.Object
com.azure.resourcemanager.databoxedge.fluent.models.ShareProperties
The share properties.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionGet the accessProtocol property: Access protocol to be used by the share.Get the azureContainerInfo property: Azure container mapping for the share.Get the clientAccessRights property: List of IP addresses and corresponding access rights on the share(required for NFS protocol).Get the dataPolicy property: Data policy of the share.Get the description property: Description for the share.Get the monitoringStatus property: Current monitoring status of the share.Get the refreshDetails property: Details of the refresh job on this share.Get the shareMappings property: Share mount point to the role.Get the shareStatus property: Current status of the share.Get the userAccessRights property: Mapping of users and corresponding access rights on the share (required for SMB protocol).void
validate()
Validates the instance.withAccessProtocol
(ShareAccessProtocol accessProtocol) Set the accessProtocol property: Access protocol to be used by the share.withAzureContainerInfo
(AzureContainerInfo azureContainerInfo) Set the azureContainerInfo property: Azure container mapping for the share.withClientAccessRights
(List<ClientAccessRight> clientAccessRights) Set the clientAccessRights property: List of IP addresses and corresponding access rights on the share(required for NFS protocol).withDataPolicy
(DataPolicy dataPolicy) Set the dataPolicy property: Data policy of the share.withDescription
(String description) Set the description property: Description for the share.withMonitoringStatus
(MonitoringStatus monitoringStatus) Set the monitoringStatus property: Current monitoring status of the share.withRefreshDetails
(RefreshDetails refreshDetails) Set the refreshDetails property: Details of the refresh job on this share.withShareStatus
(ShareStatus shareStatus) Set the shareStatus property: Current status of the share.withUserAccessRights
(List<UserAccessRight> userAccessRights) Set the userAccessRights property: Mapping of users and corresponding access rights on the share (required for SMB protocol).
-
Constructor Details
-
ShareProperties
public ShareProperties()Creates an instance of ShareProperties class.
-
-
Method Details
-
description
Get the description property: Description for the share.- Returns:
- the description value.
-
withDescription
Set the description property: Description for the share.- Parameters:
description
- the description value to set.- Returns:
- the ShareProperties object itself.
-
monitoringStatus
Get the monitoringStatus property: Current monitoring status of the share.- Returns:
- the monitoringStatus value.
-
withMonitoringStatus
Set the monitoringStatus property: Current monitoring status of the share.- Parameters:
monitoringStatus
- the monitoringStatus value to set.- Returns:
- the ShareProperties object itself.
-
azureContainerInfo
Get the azureContainerInfo property: Azure container mapping for the share.- Returns:
- the azureContainerInfo value.
-
withAzureContainerInfo
Set the azureContainerInfo property: Azure container mapping for the share.- Parameters:
azureContainerInfo
- the azureContainerInfo value to set.- Returns:
- the ShareProperties object itself.
-
accessProtocol
Get the accessProtocol property: Access protocol to be used by the share.- Returns:
- the accessProtocol value.
-
userAccessRights
Get the userAccessRights property: Mapping of users and corresponding access rights on the share (required for SMB protocol).- Returns:
- the userAccessRights value.
-
withUserAccessRights
Set the userAccessRights property: Mapping of users and corresponding access rights on the share (required for SMB protocol).- Parameters:
userAccessRights
- the userAccessRights value to set.- Returns:
- the ShareProperties object itself.
-
clientAccessRights
Get the clientAccessRights property: List of IP addresses and corresponding access rights on the share(required for NFS protocol).- Returns:
- the clientAccessRights value.
-
withClientAccessRights
Set the clientAccessRights property: List of IP addresses and corresponding access rights on the share(required for NFS protocol).- Parameters:
clientAccessRights
- the clientAccessRights value to set.- Returns:
- the ShareProperties object itself.
-
refreshDetails
Get the refreshDetails property: Details of the refresh job on this share.- Returns:
- the refreshDetails value.
-
withRefreshDetails
Set the refreshDetails property: Details of the refresh job on this share.- Parameters:
refreshDetails
- the refreshDetails value to set.- Returns:
- the ShareProperties object itself.
-
dataPolicy
Get the dataPolicy property: Data policy of the share.- Returns:
- the dataPolicy value.
-
withDataPolicy
Set the dataPolicy property: Data policy of the share.- Parameters:
dataPolicy
- the dataPolicy value to set.- Returns:
- the ShareProperties object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-