Class ShareCredentialDetails
java.lang.Object
com.azure.resourcemanager.databox.models.ShareCredentialDetails
Credential details of the shares in account.
-
Constructor Summary
ConstructorDescriptionCreates an instance of ShareCredentialDetails class. -
Method Summary
Modifier and TypeMethodDescriptionpassword()
Get the password property: Password for the share.Get the shareName property: Name of the share.Get the shareType property: Type of the share.Get the supportedAccessProtocols property: Access protocols supported on the device.username()
Get the username property: User name for the share.void
validate()
Validates the instance.
-
Constructor Details
-
ShareCredentialDetails
public ShareCredentialDetails()Creates an instance of ShareCredentialDetails class.
-
-
Method Details
-
username
Get the username property: User name for the share.- Returns:
- the username value.
-
password
Get the password property: Password for the share.- Returns:
- the password value.
-
supportedAccessProtocols
Get the supportedAccessProtocols property: Access protocols supported on the device.- Returns:
- the supportedAccessProtocols value.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.