public class GetIdentityPoolRolesResult extends Object implements Serializable, Cloneable
Returned in response to a successful GetIdentityPoolRoles
operation.
Constructor and Description |
---|
GetIdentityPoolRolesResult() |
Modifier and Type | Method and 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.
|
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 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 String toString()
toString
in class Object
Object.toString()
public GetIdentityPoolRolesResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.