Interface SetIdentityPoolRolesRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CognitoIdentityRequest.Builder
,CopyableBuilder<SetIdentityPoolRolesRequest.Builder,
,SetIdentityPoolRolesRequest> SdkBuilder<SetIdentityPoolRolesRequest.Builder,
,SetIdentityPoolRolesRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SetIdentityPoolRolesRequest
public static interface SetIdentityPoolRolesRequest.Builder
extends CognitoIdentityRequest.Builder, SdkPojo, CopyableBuilder<SetIdentityPoolRolesRequest.Builder,SetIdentityPoolRolesRequest>
-
Method Summary
Modifier and TypeMethodDescriptionidentityPoolId
(String identityPoolId) An identity pool ID in the format REGION:GUID.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.roleMappings
(Map<String, RoleMapping> roleMappings) How users for a specific identity provider are to mapped to roles.The map of roles associated with this pool.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cognitoidentity.model.CognitoIdentityRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
identityPoolId
An identity pool ID in the format REGION:GUID.
- Parameters:
identityPoolId
- An identity pool ID in the format REGION:GUID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
Up to 25 rules can be specified per identity provider.
- Parameters:
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.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".Up to 25 rules can be specified per identity provider.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
SetIdentityPoolRolesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SetIdentityPoolRolesRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-