public static interface GetCredentialsForIdentityRequest.Builder extends CognitoIdentityRequest.Builder, CopyableBuilder<GetCredentialsForIdentityRequest.Builder,GetCredentialsForIdentityRequest>
| Modifier and Type | Method and Description |
|---|---|
GetCredentialsForIdentityRequest.Builder |
customRoleArn(String customRoleArn)
The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from
the identity provider.
|
GetCredentialsForIdentityRequest.Builder |
identityId(String identityId)
A unique identifier in the format REGION:GUID.
|
GetCredentialsForIdentityRequest.Builder |
logins(Map<String,String> logins)
A set of optional name-value pairs that map provider names to provider tokens.
|
GetCredentialsForIdentityRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
GetCredentialsForIdentityRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
buildrequestOverrideConfigcopyapply, buildGetCredentialsForIdentityRequest.Builder identityId(String identityId)
A unique identifier in the format REGION:GUID.
identityId - A unique identifier in the format REGION:GUID.GetCredentialsForIdentityRequest.Builder logins(Map<String,String> logins)
A set of optional name-value pairs that map provider names to provider tokens.
logins - A set of optional name-value pairs that map provider names to provider tokens.GetCredentialsForIdentityRequest.Builder customRoleArn(String customRoleArn)
The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the token from the identity provider. For example, a SAML-based identity provider. This parameter is optional for identity providers that do not support role customization.
customRoleArn - The Amazon Resource Name (ARN) of the role to be assumed when multiple roles were received in the
token from the identity provider. For example, a SAML-based identity provider. This parameter is
optional for identity providers that do not support role customization.GetCredentialsForIdentityRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.GetCredentialsForIdentityRequest.Builder requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderbuilderConsumer - A Consumer to which an empty AwsRequestOverrideConfig.Builder will be given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.