public class GetIdentityPoolRolesResult
extends java.lang.Object
implements java.io.Serializable, java.lang.Cloneable
Returned in response to a successful GetIdentityPoolRoles
operation.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
identityPoolId
An identity pool ID in the format REGION:GUID.
|
private java.util.Map<java.lang.String,java.lang.String> |
roles
The map of roles associated with this pool.
|
Constructor and Description |
---|
GetIdentityPoolRolesResult() |
Modifier and Type | Method and Description |
---|---|
GetIdentityPoolRolesResult |
addRolesEntry(java.lang.String key,
java.lang.String value) |
GetIdentityPoolRolesResult |
clearRolesEntries()
Removes all the entries added into Roles.
|
GetIdentityPoolRolesResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentityPoolId()
An identity pool ID in the format REGION:GUID.
|
java.util.Map<java.lang.String,java.lang.String> |
getRoles()
The map of roles associated with this pool.
|
int |
hashCode() |
void |
setIdentityPoolId(java.lang.String identityPoolId)
An identity pool ID in the format REGION:GUID.
|
void |
setRoles(java.util.Map<java.lang.String,java.lang.String> roles)
The map of roles associated with this pool.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetIdentityPoolRolesResult |
withIdentityPoolId(java.lang.String identityPoolId)
An identity pool ID in the format REGION:GUID.
|
GetIdentityPoolRolesResult |
withRoles(java.util.Map<java.lang.String,java.lang.String> roles)
The map of roles associated with this pool.
|
private java.lang.String identityPoolId
An identity pool ID in the format REGION:GUID.
private java.util.Map<java.lang.String,java.lang.String> roles
The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.
public void setIdentityPoolId(java.lang.String identityPoolId)
An identity pool ID in the format REGION:GUID.
identityPoolId
- An identity pool ID in the format REGION:GUID.public java.lang.String getIdentityPoolId()
An identity pool ID in the format REGION:GUID.
public GetIdentityPoolRolesResult withIdentityPoolId(java.lang.String identityPoolId)
An identity pool ID in the format REGION:GUID.
identityPoolId
- An identity pool ID in the format REGION:GUID.public java.util.Map<java.lang.String,java.lang.String> getRoles()
The map of roles associated with this pool. Currently only authenticated and unauthenticated roles are supported.
public void setRoles(java.util.Map<java.lang.String,java.lang.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(java.util.Map<java.lang.String,java.lang.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(java.lang.String key, java.lang.String value)
public GetIdentityPoolRolesResult clearRolesEntries()
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public GetIdentityPoolRolesResult clone()
clone
in class java.lang.Object