@Generated(value="software.amazon.awssdk:codegen") public class AWSSessionCredentials extends Object implements StructuredPojo, ToCopyableBuilder<AWSSessionCredentials.Builder,AWSSessionCredentials>
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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
AWSSessionCredentials.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessKeyId()
The access key for the session.
|
static AWSSessionCredentials.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
String |
secretAccessKey()
The secret access key for the session.
|
static Class<? extends AWSSessionCredentials.Builder> |
serializableBuilderClass() |
String |
sessionToken()
The token for the session.
|
AWSSessionCredentials.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String accessKeyId()
The access key for the session.
public String secretAccessKey()
The secret access key for the session.
public String sessionToken()
The token for the session.
public AWSSessionCredentials.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<AWSSessionCredentials.Builder,AWSSessionCredentials>public static AWSSessionCredentials.Builder builder()
public static Class<? extends AWSSessionCredentials.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.