@Generated(value="software.amazon.awssdk:codegen") public final class Credentials extends Object implements StructuredPojo, 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.