public static interface SetIdentityPoolRolesRequest.Builder extends CognitoIdentityRequest.Builder, CopyableBuilder<SetIdentityPoolRolesRequest.Builder,SetIdentityPoolRolesRequest>
| Modifier and Type | Method and Description |
|---|---|
SetIdentityPoolRolesRequest.Builder |
identityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
|
SetIdentityPoolRolesRequest.Builder |
requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
Add an optional request override configuration.
|
SetIdentityPoolRolesRequest.Builder |
requestOverrideConfig(Consumer<AwsRequestOverrideConfig.Builder> builderConsumer)
Add an optional request override configuration.
|
SetIdentityPoolRolesRequest.Builder |
roleMappings(Map<String,RoleMapping> roleMappings)
How users for a specific identity provider are to mapped to roles.
|
SetIdentityPoolRolesRequest.Builder |
roles(Map<String,String> roles)
The map of roles associated with this pool.
|
buildrequestOverrideConfigcopyapply, buildSetIdentityPoolRolesRequest.Builder identityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
identityPoolId - An identity pool ID in the format REGION:GUID.SetIdentityPoolRolesRequest.Builder roles(Map<String,String> roles)
The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.
roles - The map of roles associated with this pool. For a given role, the key will be either "authenticated"
or "unauthenticated" and the value will be the Role ARN.SetIdentityPoolRolesRequest.Builder roleMappings(Map<String,RoleMapping> roleMappings)
How users for a specific identity provider are to mapped to roles. This is a string to RoleMapping object map. The string identifies the identity provider, for example, "graph.facebook.com" or "cognito-idp-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
Up to 25 rules can be specified per identity provider.
roleMappings - How users for a specific identity provider are to mapped to roles. This is a string to
RoleMapping object map. The string identifies the identity provider, for example,
"graph.facebook.com" or "cognito-idp-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
Up to 25 rules can be specified per identity provider.
SetIdentityPoolRolesRequest.Builder requestOverrideConfig(AwsRequestOverrideConfig awsRequestOverrideConfig)
AwsRequest.BuilderrequestOverrideConfig in interface AwsRequest.BuilderawsRequestOverrideConfig - The override configuration.SetIdentityPoolRolesRequest.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.