public static interface GetCredentialsForIdentityResponse.Builder extends CognitoIdentityResponse.Builder, CopyableBuilder<GetCredentialsForIdentityResponse.Builder,GetCredentialsForIdentityResponse>
| Modifier and Type | Method and Description |
|---|---|
default GetCredentialsForIdentityResponse.Builder |
credentials(Consumer<Credentials.Builder> credentials)
Credentials for the provided identity ID.
|
GetCredentialsForIdentityResponse.Builder |
credentials(Credentials credentials)
Credentials for the provided identity ID.
|
GetCredentialsForIdentityResponse.Builder |
identityId(String identityId)
A unique identifier in the format REGION:GUID.
|
buildsdkHttpResponse, sdkHttpResponsecopyapply, buildGetCredentialsForIdentityResponse.Builder identityId(String identityId)
A unique identifier in the format REGION:GUID.
identityId - A unique identifier in the format REGION:GUID.GetCredentialsForIdentityResponse.Builder credentials(Credentials credentials)
Credentials for the provided identity ID.
credentials - Credentials for the provided identity ID.default GetCredentialsForIdentityResponse.Builder credentials(Consumer<Credentials.Builder> credentials)
Credentials for the provided identity ID.
This is a convenience that creates an instance of theCredentials.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.Buildercredentials(Credentials)Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.