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:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder that can be used to build a new AlibabaCredential that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionstatic AlibabaCredential.Builder
builder()
boolean
The Alibaba Cloud Access Key IDgetName()
Returns the name assigned to the Credential to identify it to the ComputeServiceClient.The Alibaba Cloud Secret Access Keyint
hashCode()
toString()
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface co.yellowdog.platform.account.credentials.Credential
getExpiryTime
-
Method Details
-
builder
-
toBuilder
- Specified by:
toBuilder
in interfaceCredential
-
getName
Description copied from interface:Credential
Returns the name assigned to the Credential to identify it to the ComputeServiceClient.- Specified by:
getName
in interfaceCredential
- Returns:
- the name assigned to the Credential
-
getDescription
- Specified by:
getDescription
in interfaceCredential
-
getAccessKeyId
The Alibaba Cloud Access Key ID- Returns:
- the Alibaba Cloud Access Key ID
-
getSecretAccessKey
The Alibaba Cloud Secret Access Key- Returns:
- the Alibaba Cloud Secret Access Key
-
equals
-
hashCode
-
toString
-