public static interface GetCredentialsForIdentityResponse.Builder extends CognitoIdentityResponse.Builder, SdkPojo, 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.
|
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, 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 method 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 © 2023. All rights reserved.