Interface GetIdentityPoolRolesResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CognitoIdentityResponse.Builder
,CopyableBuilder<GetIdentityPoolRolesResponse.Builder,
,GetIdentityPoolRolesResponse> SdkBuilder<GetIdentityPoolRolesResponse.Builder,
,GetIdentityPoolRolesResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetIdentityPoolRolesResponse
public static interface GetIdentityPoolRolesResponse.Builder
extends CognitoIdentityResponse.Builder, SdkPojo, CopyableBuilder<GetIdentityPoolRolesResponse.Builder,GetIdentityPoolRolesResponse>
-
Method Summary
Modifier and TypeMethodDescriptionidentityPoolId
(String identityPoolId) An identity pool ID in the format REGION:GUID.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.services.cognitoidentity.model.CognitoIdentityResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
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. Currently only authenticated and unauthenticated roles are supported.
- Parameters:
roles
- The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.- 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".
- 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".- Returns:
- Returns a reference to this object so that method calls can be chained together.
-