Class AWSSessionCredentials
java.lang.Object
com.amazonaws.services.codepipeline.model.AWSSessionCredentials
- All Implemented Interfaces:
Serializable
,Cloneable
Represents an AWS session credentials object. These credentials are temporary credentials that are issued by AWS Secure Token Service (STS). They can be used to access input and output artifacts in the Amazon S3 bucket used to store artifact for the pipeline in AWS CodePipeline.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The access key for the session.The secret access key for the session.The token for the session.int
hashCode()
void
setAccessKeyId
(String accessKeyId) The access key for the session.void
setSecretAccessKey
(String secretAccessKey) The secret access key for the session.void
setSessionToken
(String sessionToken) The token for the session.toString()
Returns a string representation of this object; useful for testing and debugging.withAccessKeyId
(String accessKeyId) The access key for the session.withSecretAccessKey
(String secretAccessKey) The secret access key for the session.withSessionToken
(String sessionToken) The token for the session.
-
Constructor Details
-
AWSSessionCredentials
public AWSSessionCredentials()
-
-
Method Details
-
setAccessKeyId
The access key for the session.
- Parameters:
accessKeyId
- The access key for the session.
-
getAccessKeyId
The access key for the session.
- Returns:
- The access key for the session.
-
withAccessKeyId
The access key for the session.
- Parameters:
accessKeyId
- The access key for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSecretAccessKey
The secret access key for the session.
- Parameters:
secretAccessKey
- The secret access key for the session.
-
getSecretAccessKey
The secret access key for the session.
- Returns:
- The secret access key for the session.
-
withSecretAccessKey
The secret access key for the session.
- Parameters:
secretAccessKey
- The secret access key for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSessionToken
The token for the session.
- Parameters:
sessionToken
- The token for the session.
-
getSessionToken
The token for the session.
- Returns:
- The token for the session.
-
withSessionToken
The token for the session.
- Parameters:
sessionToken
- The token for the session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-