@Generated(value="software.amazon.awssdk:codegen") public final class RoleCredentials extends Object implements SdkPojo, Serializable, ToCopyableBuilder<RoleCredentials.Builder,RoleCredentials>
Provides information about the role credentials that are assigned to the user.
| Modifier and Type | Class and Description |
|---|---|
static interface |
RoleCredentials.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accessKeyId()
The identifier used for the temporary security credentials.
|
static RoleCredentials.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Long |
expiration()
The date on which temporary security credentials expire.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
String |
secretAccessKey()
The key that is used to sign the request.
|
static Class<? extends RoleCredentials.Builder> |
serializableBuilderClass() |
String |
sessionToken()
The token used for temporary credentials.
|
RoleCredentials.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String accessKeyId()
The identifier used for the temporary security credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
public String secretAccessKey()
The key that is used to sign the request. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
public String sessionToken()
The token used for temporary credentials. For more information, see Using Temporary Security Credentials to Request Access to AWS Resources in the AWS IAM User Guide.
public Long expiration()
The date on which temporary security credentials expire.
public RoleCredentials.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<RoleCredentials.Builder,RoleCredentials>public static RoleCredentials.Builder builder()
public static Class<? extends RoleCredentials.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.