public class PutRolePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutRolePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
PutRolePolicyRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(Object obj) |
String |
getPolicyDocument()
The policy document.
|
String |
getPolicyName()
The name of the policy document.
|
String |
getRoleName()
The name of the role to associate the policy with.
|
int |
hashCode() |
void |
setPolicyDocument(String policyDocument)
The policy document.
|
void |
setPolicyName(String policyName)
The name of the policy document.
|
void |
setRoleName(String roleName)
The name of the role to associate the policy with.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PutRolePolicyRequest |
withPolicyDocument(String policyDocument)
The policy document.
|
PutRolePolicyRequest |
withPolicyName(String policyName)
The name of the policy document.
|
PutRolePolicyRequest |
withRoleName(String roleName)
The name of the role to associate the policy with.
|
getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setRoleName(String roleName)
The name of the role to associate the policy with.
roleName
- The name of the role to associate the policy with.public String getRoleName()
The name of the role to associate the policy with.
public PutRolePolicyRequest withRoleName(String roleName)
The name of the role to associate the policy with.
roleName
- The name of the role to associate the policy with.public void setPolicyName(String policyName)
The name of the policy document.
policyName
- The name of the policy document.public String getPolicyName()
The name of the policy document.
public PutRolePolicyRequest withPolicyName(String policyName)
The name of the policy document.
policyName
- The name of the policy document.public void setPolicyDocument(String policyDocument)
The policy document.
policyDocument
- The policy document.public String getPolicyDocument()
The policy document.
public PutRolePolicyRequest withPolicyDocument(String policyDocument)
The policy document.
policyDocument
- The policy document.public String toString()
toString
in class Object
Object.toString()
public PutRolePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.