public class SetIdentityPoolRolesRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable
Input to the SetIdentityPoolRoles
action.
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.
|
NOOP
Constructor and Description |
---|
SetIdentityPoolRolesRequest() |
Modifier and Type | Method and Description |
---|---|
SetIdentityPoolRolesRequest |
addRolesEntry(java.lang.String key,
java.lang.String value) |
SetIdentityPoolRolesRequest |
clearRolesEntries()
Removes all the entries added into Roles.
|
SetIdentityPoolRolesRequest |
clone()
Creates a shallow clone of this request.
|
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.
|
SetIdentityPoolRolesRequest |
withIdentityPoolId(java.lang.String identityPoolId)
An identity pool ID in the format REGION:GUID.
|
SetIdentityPoolRolesRequest |
withRoles(java.util.Map<java.lang.String,java.lang.String> roles)
The map of roles associated with this pool.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
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. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.
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 SetIdentityPoolRolesRequest 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. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.
public void setRoles(java.util.Map<java.lang.String,java.lang.String> roles)
The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.
roles
- The map of roles associated with this pool. For a given role, the
key will be either "authenticated" or "unauthenticated" and the
value will be the Role ARN.public SetIdentityPoolRolesRequest withRoles(java.util.Map<java.lang.String,java.lang.String> roles)
The map of roles associated with this pool. For a given role, the key will be either "authenticated" or "unauthenticated" and the value will be the Role ARN.
roles
- The map of roles associated with this pool. For a given role, the
key will be either "authenticated" or "unauthenticated" and the
value will be the Role ARN.public SetIdentityPoolRolesRequest addRolesEntry(java.lang.String key, java.lang.String value)
public SetIdentityPoolRolesRequest 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 SetIdentityPoolRolesRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()