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 |
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.
|
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 String toString()
toString in class ObjectObject.toString()public GetIdentityPoolRolesResult clone()
Copyright © 2016. All rights reserved.