public static interface GetSessionTokenResponse.Builder extends StsResponse.Builder, SdkPojo, CopyableBuilder<GetSessionTokenResponse.Builder,GetSessionTokenResponse>
Modifier and Type | Method and Description |
---|---|
default GetSessionTokenResponse.Builder |
credentials(Consumer<Credentials.Builder> credentials)
The temporary security credentials, which include an access key ID, a secret access key, and a security (or
session) token.
|
GetSessionTokenResponse.Builder |
credentials(Credentials credentials)
The temporary security credentials, which include an access key ID, a secret access key, and a security (or
session) token.
|
build, responseMetadata, responseMetadata
sdkHttpResponse, sdkHttpResponse
equalsBySdkFields, sdkFields
copy
applyMutation, build
GetSessionTokenResponse.Builder credentials(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.
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.
default GetSessionTokenResponse.Builder credentials(Consumer<Credentials.Builder> 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.
Credentials.Builder
avoiding the need
to create one manually via Credentials.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its result
is passed to credentials(Credentials)
.credentials
- a consumer that will call methods on Credentials.Builder
credentials(Credentials)
Copyright © 2019. All rights reserved.