Class ShareCredentialDetails

java.lang.Object
com.azure.resourcemanager.databox.models.ShareCredentialDetails

public final class ShareCredentialDetails extends Object
Credential details of the shares in account.
  • Constructor Details

    • ShareCredentialDetails

      public ShareCredentialDetails()
      Creates an instance of ShareCredentialDetails class.
  • Method Details

    • shareName

      public String shareName()
      Get the shareName property: Name of the share.
      Returns:
      the shareName value.
    • shareType

      public ShareDestinationFormatType shareType()
      Get the shareType property: Type of the share.
      Returns:
      the shareType value.
    • username

      public String username()
      Get the username property: User name for the share.
      Returns:
      the username value.
    • password

      public String password()
      Get the password property: Password for the share.
      Returns:
      the password value.
    • supportedAccessProtocols

      public List<AccessProtocol> 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.