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 classA builder that can be used to build a new AwsCredential that is automatically validated on build. -
Method Summary
Modifier and TypeMethodDescriptionstatic AwsCredential.Builderbuilder()booleanThe 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 temporaryinthashCode()toString()
-
Method Details
-
builder
-
toBuilder
- Specified by:
toBuilderin interfaceCredential
-
getName
Description copied from interface:CredentialReturns the name assigned to the Credential to identify it to the ComputeServiceClient.- Specified by:
getNamein interfaceCredential- Returns:
- the name assigned to the Credential
-
getDescription
- Specified by:
getDescriptionin 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:
getExpiryTimein interfaceCredential- Returns:
- the expiry time
-
equals
-
hashCode
-
toString
-