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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetIdentityPoolRolesResponse.BuilderidentityPoolId(String identityPoolId)An identity pool ID in the format REGION:GUID.GetIdentityPoolRolesResponse.BuilderroleMappings(Map<String,RoleMapping> roleMappings)How users for a specific identity provider are to mapped to roles.GetIdentityPoolRolesResponse.Builderroles(Map<String,String> 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
identityPoolId
GetIdentityPoolRolesResponse.Builder identityPoolId(String 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
GetIdentityPoolRolesResponse.Builder roles(Map<String,String> 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
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.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.
-
-