@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class SetIdentityPoolRolesRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
Input to the SetIdentityPoolRoles
action.
NOOP
Constructor and Description |
---|
SetIdentityPoolRolesRequest() |
Modifier and Type | Method and Description |
---|---|
SetIdentityPoolRolesRequest |
addRoleMappingsEntry(String key,
RoleMapping value) |
SetIdentityPoolRolesRequest |
addRolesEntry(String key,
String value) |
SetIdentityPoolRolesRequest |
clearRoleMappingsEntries()
Removes all the entries added into RoleMappings.
|
SetIdentityPoolRolesRequest |
clearRolesEntries()
Removes all the entries added into Roles.
|
SetIdentityPoolRolesRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getIdentityPoolId()
An identity pool ID in the format REGION:GUID.
|
Map<String,RoleMapping> |
getRoleMappings()
How users for a specific identity provider are to mapped to roles.
|
Map<String,String> |
getRoles()
The map of roles associated with this pool.
|
int |
hashCode() |
void |
setIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
|
void |
setRoleMappings(Map<String,RoleMapping> roleMappings)
How users for a specific identity provider are to mapped to roles.
|
void |
setRoles(Map<String,String> roles)
The map of roles associated with this pool.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
SetIdentityPoolRolesRequest |
withIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
|
SetIdentityPoolRolesRequest |
withRoleMappings(Map<String,RoleMapping> roleMappings)
How users for a specific identity provider are to mapped to roles.
|
SetIdentityPoolRolesRequest |
withRoles(Map<String,String> roles)
The map of roles associated with this pool.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
identityPoolId
- An identity pool ID in the format REGION:GUID.public String getIdentityPoolId()
An identity pool ID in the format REGION:GUID.
public SetIdentityPoolRolesRequest withIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
identityPoolId
- An identity pool ID in the format REGION:GUID.public Map<String,String> getRoles()
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.
public void setRoles(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.public SetIdentityPoolRolesRequest withRoles(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.public SetIdentityPoolRolesRequest addRolesEntry(String key, String value)
public SetIdentityPoolRolesRequest clearRolesEntries()
public Map<String,RoleMapping> getRoleMappings()
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.
Up to 25 rules can be specified per identity provider.
public void setRoleMappings(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.
public SetIdentityPoolRolesRequest withRoleMappings(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.
public SetIdentityPoolRolesRequest addRoleMappingsEntry(String key, RoleMapping value)
public SetIdentityPoolRolesRequest clearRoleMappingsEntries()
public String toString()
toString
in class Object
Object.toString()
public SetIdentityPoolRolesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.