public static interface GetIdentityPoolRolesResponse.Builder extends CognitoIdentityResponse.Builder, CopyableBuilder<GetIdentityPoolRolesResponse.Builder,GetIdentityPoolRolesResponse>
Modifier and Type | Method and Description |
---|---|
GetIdentityPoolRolesResponse.Builder |
identityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
|
GetIdentityPoolRolesResponse.Builder |
roleMappings(Map<String,RoleMapping> roleMappings)
How users for a specific identity provider are to mapped to roles.
|
GetIdentityPoolRolesResponse.Builder |
roles(Map<String,String> roles)
The map of roles associated with this pool.
|
build
sdkHttpResponse, sdkHttpResponse
copy
applyMutation, build
GetIdentityPoolRolesResponse.Builder identityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
identityPoolId
- An identity pool ID in the format REGION:GUID.GetIdentityPoolRolesResponse.Builder roles(Map<String,String> roles)
The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.
roles
- The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are
supported.GetIdentityPoolRolesResponse.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".
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".Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.