Class GetIdentityPoolRolesResult
- java.lang.Object
-
- com.amazonaws.services.cognitoidentity.model.GetIdentityPoolRolesResult
-
- All Implemented Interfaces:
Serializable,Cloneable
public class GetIdentityPoolRolesResult extends Object implements Serializable, Cloneable
Returned in response to a successful
GetIdentityPoolRolesoperation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetIdentityPoolRolesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetIdentityPoolRolesResultaddRolesEntry(String key, String value)GetIdentityPoolRolesResultclearRolesEntries()Removes all the entries added into Roles.GetIdentityPoolRolesResultclone()booleanequals(Object obj)StringgetIdentityPoolId()An identity pool ID in the format REGION:GUID.Map<String,String>getRoles()The map of roles associated with this pool.inthashCode()voidsetIdentityPoolId(String identityPoolId)An identity pool ID in the format REGION:GUID.voidsetRoles(Map<String,String> roles)The map of roles associated with this pool.StringtoString()Returns a string representation of this object; useful for testing and debugging.GetIdentityPoolRolesResultwithIdentityPoolId(String identityPoolId)An identity pool ID in the format REGION:GUID.GetIdentityPoolRolesResultwithRoles(Map<String,String> roles)The map of roles associated with this pool.
-
-
-
Method Detail
-
setIdentityPoolId
public void setIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.
- Parameters:
identityPoolId- An identity pool ID in the format REGION:GUID.
-
getIdentityPoolId
public String getIdentityPoolId()
An identity pool ID in the format REGION:GUID.
- Returns:
- An identity pool ID in the format REGION:GUID.
-
withIdentityPoolId
public GetIdentityPoolRolesResult withIdentityPoolId(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.
-
getRoles
public Map<String,String> getRoles()
The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.
- Returns:
- The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.
-
setRoles
public void setRoles(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.
-
withRoles
public GetIdentityPoolRolesResult withRoles(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.
-
addRolesEntry
public GetIdentityPoolRolesResult addRolesEntry(String key, String value)
-
clearRolesEntries
public GetIdentityPoolRolesResult clearRolesEntries()
Removes all the entries added into Roles. <p> Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetIdentityPoolRolesResult clone()
-
-