ShareCredentialDetails Class
- java.
lang. Object - com.
azure. resourcemanager. databox. models. ShareCredentialDetails
- com.
Implements
public final class ShareCredentialDetails
implements JsonSerializable<ShareCredentialDetails>
Credential details of the shares in account.
Constructor Summary
| Constructor | Description |
|---|---|
| ShareCredentialDetails() |
Creates an instance of Share |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Share |
fromJson(JsonReader jsonReader)
Reads an instance of Share |
| String |
password()
Get the password property: Password for the share. |
| String |
shareName()
Get the share |
|
Share |
shareType()
Get the share |
|
List<Access |
supportedAccessProtocols()
Get the supported |
|
Json |
toJson(JsonWriter jsonWriter) |
| String |
username()
Get the username property: User name for the share. |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ShareCredentialDetails
public ShareCredentialDetails()
Creates an instance of ShareCredentialDetails class.
Method Details
fromJson
public static ShareCredentialDetails fromJson(JsonReader jsonReader)
Reads an instance of ShareCredentialDetails from the JsonReader.
Parameters:
Returns:
Throws:
password
public String password()
Get the password property: Password for the share.
Returns:
shareName
public String shareName()
Get the shareName property: Name of the share.
Returns:
shareType
public ShareDestinationFormatType shareType()
Get the shareType property: Type of the share.
Returns:
supportedAccessProtocols
public List<AccessProtocol> supportedAccessProtocols()
Get the supportedAccessProtocols property: Access protocols supported on the device.
Returns:
toJson
username
public String username()
Get the username property: User name for the share.
Returns:
validate
public void validate()
Validates the instance.