@Generated(value="software.amazon.awssdk:codegen") public final class Credentials extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Credentials.Builder,Credentials>
Credentials for the provided identity ID.
Modifier and Type | Class and Description |
---|---|
static interface |
Credentials.Builder |
Modifier and Type | Method and Description |
---|---|
String |
accessKeyId()
The Access Key portion of the credentials.
|
static Credentials.Builder |
builder() |
boolean |
equals(Object obj) |
Instant |
expiration()
The date at which these credentials will expire.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
String |
secretKey()
The Secret Access Key portion of the credentials
|
static Class<? extends Credentials.Builder> |
serializableBuilderClass() |
String |
sessionToken()
The Session Token portion of the credentials
|
Credentials.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String accessKeyId()
The Access Key portion of the credentials.
public String secretKey()
The Secret Access Key portion of the credentials
public String sessionToken()
The Session Token portion of the credentials
public Instant expiration()
The date at which these credentials will expire.
public Credentials.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Credentials.Builder,Credentials>
public static Credentials.Builder builder()
public static Class<? extends Credentials.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.