Class AlibabaCredential

java.lang.Object
co.yellowdog.platform.account.credentials.AlibabaCredential
All Implemented Interfaces:
Credential, Serializable

@JsonClassDescription("Alibaba Cloud access key credential") public final class AlibabaCredential extends Object implements Credential
Holds the Access Key ID and Secret Access Key which form a set of credentials for Alibaba Cloud.
See Also:
  • Method Details

    • builder

      public static AlibabaCredential.Builder builder()
    • toBuilder

      public AlibabaCredential.Builder toBuilder()
      Specified by:
      toBuilder in interface Credential
    • getName

      public String getName()
      Description copied from interface: Credential
      Returns the name assigned to the Credential to identify it to the ComputeServiceClient.
      Specified by:
      getName in interface Credential
      Returns:
      the name assigned to the Credential
    • getDescription

      public String getDescription()
      Specified by:
      getDescription in interface Credential
    • getAccessKeyId

      public String getAccessKeyId()
      The Alibaba Cloud Access Key ID
      Returns:
      the Alibaba Cloud Access Key ID
    • getSecretAccessKey

      public String getSecretAccessKey()
      The Alibaba Cloud Secret Access Key
      Returns:
      the Alibaba Cloud Secret Access Key
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object