public class GetIdentityPoolRolesResult
extends java.lang.Object
implements java.io.Serializable
| Constructor and Description |
|---|
GetIdentityPoolRolesResult() |
| Modifier and Type | Method and Description |
|---|---|
GetIdentityPoolRolesResult |
addRolesEntry(java.lang.String key,
java.lang.String value)
Sets the value of the Roles property for this object.
|
GetIdentityPoolRolesResult |
clearRolesEntries()
Removes all the entries added into Roles.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getIdentityPoolId()
Returns the value of the IdentityPoolId property for this object.
|
java.util.Map<java.lang.String,java.lang.String> |
getRoles()
Returns the value of the Roles property for this object.
|
int |
hashCode() |
void |
setIdentityPoolId(java.lang.String identityPoolId)
Sets the value of the IdentityPoolId property for this object.
|
void |
setRoles(java.util.Map<java.lang.String,java.lang.String> roles)
Sets the value of the Roles property for this object.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetIdentityPoolRolesResult |
withIdentityPoolId(java.lang.String identityPoolId)
Sets the value of the IdentityPoolId property for this object.
|
GetIdentityPoolRolesResult |
withRoles(java.util.Map<java.lang.String,java.lang.String> roles)
Sets the value of the Roles property for this object.
|
public java.lang.String getIdentityPoolId()
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
public void setIdentityPoolId(java.lang.String identityPoolId)
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityPoolId - The new value for the IdentityPoolId property for this object.public GetIdentityPoolRolesResult withIdentityPoolId(java.lang.String identityPoolId)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 50
Pattern: [\w-]+:[0-9a-f-]+
identityPoolId - The new value for the IdentityPoolId property for this object.public java.util.Map<java.lang.String,java.lang.String> getRoles()
Constraints:
Length: 0 - 2
public void setRoles(java.util.Map<java.lang.String,java.lang.String> roles)
Constraints:
Length: 0 - 2
roles - The new value for the Roles property for this object.public GetIdentityPoolRolesResult withRoles(java.util.Map<java.lang.String,java.lang.String> roles)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 2
roles - The new value for the Roles property for this object.public GetIdentityPoolRolesResult addRolesEntry(java.lang.String key, java.lang.String value)
The method adds a new key-value pair into Roles parameter, and returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 2
key - The key of the entry to be added into Roles.value - The corresponding value of the entry to be added into Roles.public GetIdentityPoolRolesResult clearRolesEntries()
Returns a reference to this object so that method calls can be chained together.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object