@Generated(value="software.amazon.awssdk:codegen") public final class AWSSessionCredentials extends Object implements SdkPojo, Serializable, 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 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) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String accessKeyId()
The access key for the session.
public final String secretAccessKey()
The secret access key for the session.
public final String sessionToken()
The token for the session.
public AWSSessionCredentials.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<AWSSessionCredentials.Builder,AWSSessionCredentials>public static AWSSessionCredentials.Builder builder()
public static Class<? extends AWSSessionCredentials.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.