@Generated(value="software.amazon.awssdk:codegen") public final class GetSessionTokenResponse extends StsResponse implements ToCopyableBuilder<GetSessionTokenResponse.Builder,GetSessionTokenResponse>
Contains the response to a successful GetSessionToken request, including temporary AWS credentials that can be used to make AWS requests.
| Modifier and Type | Class and Description |
|---|---|
static interface |
GetSessionTokenResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
static GetSessionTokenResponse.Builder |
builder() |
Credentials |
credentials()
The temporary security credentials, which include an access key ID, a secret access key, and a security (or
session) token.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends GetSessionTokenResponse.Builder> |
serializableBuilderClass() |
GetSessionTokenResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Credentials credentials()
The temporary security credentials, which include an access key ID, a secret access key, and a security (or session) token.
The size of the security token that STS API operations return is not fixed. We strongly recommend that you make no assumptions about the maximum size.
The size of the security token that STS API operations return is not fixed. We strongly recommend that you make no assumptions about the maximum size.
public GetSessionTokenResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<GetSessionTokenResponse.Builder,GetSessionTokenResponse>toBuilder in class AwsResponsepublic static GetSessionTokenResponse.Builder builder()
public static Class<? extends GetSessionTokenResponse.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsResponsepublic boolean equals(Object obj)
equals in class AwsResponsepublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkResponseCopyright © 2020. All rights reserved.