public static interface GetCredentialsForIdentityRequest.Builder extends CognitoIdentityRequest.Builder, SdkPojo, 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 |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
GetCredentialsForIdentityRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, 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. The name-value pair will follow the syntax "provider_name": "provider_user_identifier".
Logins should not be specified when trying to get credentials for an unauthenticated identity.
The Logins parameter is required when using identities associated with external identity providers such as
Facebook. For examples of Logins maps, see the code examples in the External
Identity Providers section of the Amazon Cognito Developer Guide.
logins - A set of optional name-value pairs that map provider names to provider tokens. The name-value pair
will follow the syntax "provider_name": "provider_user_identifier".
Logins should not be specified when trying to get credentials for an unauthenticated identity.
The Logins parameter is required when using identities associated with external identity providers
such as Facebook. For examples of Logins maps, see the code examples in the External Identity Providers section of the Amazon Cognito Developer Guide.
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 overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderGetCredentialsForIdentityRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2023. All rights reserved.