Class AwsCredential
java.lang.Object
co.yellowdog.platform.account.credentials.AwsCredential
- All Implemented Interfaces:
Credential
,Serializable
@JsonClassDescription("Amazon Web Services (AWS) access key credential")
public final class AwsCredential
extends Object
implements Credential
Holds the Access Key ID and Secret Access Key which form a set of credentials for Amazon Web Services (AWS).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
A builder that can be used to build a new AwsCredential that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionstatic AwsCredential.Builder
builder()
boolean
The AWS Access Key IDThe expiry time if this credential is temporarygetName()
Returns the name assigned to the Credential to identify it to the ComputeServiceClient.The AWS Secret Access KeyThe AWS Session Token if this credential is temporaryint
hashCode()
toString()
-
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
-
getSecretAccessKey
-
getSessionToken
The AWS Session Token if this credential is temporary- Returns:
- the AWS Session Token
-
getExpiryTime
The expiry time if this credential is temporary- Specified by:
getExpiryTime
in interfaceCredential
- Returns:
- the expiry time
-
equals
-
hashCode
-
toString
-