@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetIdentityPoolRolesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
 Returned in response to a successful GetIdentityPoolRoles operation.
 
| Constructor and Description | 
|---|
GetIdentityPoolRolesResult()  | 
| Modifier and Type | Method and Description | 
|---|---|
GetIdentityPoolRolesResult | 
addRoleMappingsEntry(String key,
                    RoleMapping value)
Add a single RoleMappings entry 
 | 
GetIdentityPoolRolesResult | 
addRolesEntry(String key,
             String value)
Add a single Roles entry 
 | 
GetIdentityPoolRolesResult | 
clearRoleMappingsEntries()
Removes all the entries added into RoleMappings. 
 | 
GetIdentityPoolRolesResult | 
clearRolesEntries()
Removes all the entries added into Roles. 
 | 
GetIdentityPoolRolesResult | 
clone()  | 
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. 
 | 
GetIdentityPoolRolesResult | 
withIdentityPoolId(String identityPoolId)
 An identity pool ID in the format REGION:GUID. 
 | 
GetIdentityPoolRolesResult | 
withRoleMappings(Map<String,RoleMapping> roleMappings)
 How users for a specific identity provider are to mapped to roles. 
 | 
GetIdentityPoolRolesResult | 
withRoles(Map<String,String> roles)
 The map of roles associated with this pool. 
 | 
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic 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 GetIdentityPoolRolesResult 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. Currently only authenticated and unauthenticated roles are supported.
public void setRoles(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.public GetIdentityPoolRolesResult withRoles(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.public GetIdentityPoolRolesResult addRolesEntry(String key, String value)
public GetIdentityPoolRolesResult 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.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".
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.us-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.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".public GetIdentityPoolRolesResult 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.us-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.us-east-1.amazonaws.com/us-east-1_abcdefghi:app_client_id".public GetIdentityPoolRolesResult addRoleMappingsEntry(String key, RoleMapping value)
public GetIdentityPoolRolesResult clearRoleMappingsEntries()
public String toString()
toString in class ObjectObject.toString()public GetIdentityPoolRolesResult clone()