public class SetIdentityPoolRolesRequest extends AmazonWebServiceRequest implements java.io.Serializable
SetIdentityPoolRoles operation.| Constructor and Description |
|---|
SetIdentityPoolRolesRequest() |
| Modifier and Type | Method and Description |
|---|---|
SetIdentityPoolRolesRequest |
addRolesEntry(java.lang.String key,
java.lang.String value)
Sets the value of the Roles property for this object.
|
SetIdentityPoolRolesRequest |
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.
|
SetIdentityPoolRolesRequest |
withIdentityPoolId(java.lang.String identityPoolId)
Sets the value of the IdentityPoolId property for this object.
|
SetIdentityPoolRolesRequest |
withRoles(java.util.Map<java.lang.String,java.lang.String> roles)
Sets the value of the Roles property for this object.
|
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic 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 SetIdentityPoolRolesRequest 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 SetIdentityPoolRolesRequest 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 SetIdentityPoolRolesRequest 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 SetIdentityPoolRolesRequest 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