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
GetIdentityPoolRoles
operation.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GetIdentityPoolRolesResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description GetIdentityPoolRolesResult
addRolesEntry(String key, String value)
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,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
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.GetIdentityPoolRolesResult
withIdentityPoolId(String identityPoolId)
An identity pool ID in the format REGION:GUID.GetIdentityPoolRolesResult
withRoles(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:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public GetIdentityPoolRolesResult clone()
-
-