@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateAccessPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
UpdateAccessPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
UpdateAccessPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
Unique, case-sensitive identifier to ensure idempotency of the request.
|
String |
getDescription()
A description of the policy.
|
String |
getName()
The name of the policy.
|
String |
getPolicy()
The JSON policy document to use as the content for the policy.
|
String |
getPolicyVersion()
The version of the policy being updated.
|
String |
getType()
The type of policy.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
|
void |
setDescription(String description)
A description of the policy.
|
void |
setName(String name)
The name of the policy.
|
void |
setPolicy(String policy)
The JSON policy document to use as the content for the policy.
|
void |
setPolicyVersion(String policyVersion)
The version of the policy being updated.
|
void |
setType(String type)
The type of policy.
|
String |
toString()
Returns a string representation of this object.
|
UpdateAccessPolicyRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
|
UpdateAccessPolicyRequest |
withDescription(String description)
A description of the policy.
|
UpdateAccessPolicyRequest |
withName(String name)
The name of the policy.
|
UpdateAccessPolicyRequest |
withPolicy(String policy)
The JSON policy document to use as the content for the policy.
|
UpdateAccessPolicyRequest |
withPolicyVersion(String policyVersion)
The version of the policy being updated.
|
UpdateAccessPolicyRequest |
withType(AccessPolicyType type)
The type of policy.
|
UpdateAccessPolicyRequest |
withType(String type)
The type of policy.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeoutpublic void setClientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
clientToken - Unique, case-sensitive identifier to ensure idempotency of the request.public String getClientToken()
Unique, case-sensitive identifier to ensure idempotency of the request.
public UpdateAccessPolicyRequest withClientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
clientToken - Unique, case-sensitive identifier to ensure idempotency of the request.public void setDescription(String description)
A description of the policy. Typically used to store information about the permissions defined in the policy.
description - A description of the policy. Typically used to store information about the permissions defined in the
policy.public String getDescription()
A description of the policy. Typically used to store information about the permissions defined in the policy.
public UpdateAccessPolicyRequest withDescription(String description)
A description of the policy. Typically used to store information about the permissions defined in the policy.
description - A description of the policy. Typically used to store information about the permissions defined in the
policy.public void setName(String name)
The name of the policy.
name - The name of the policy.public String getName()
The name of the policy.
public UpdateAccessPolicyRequest withName(String name)
The name of the policy.
name - The name of the policy.public void setPolicy(String policy)
The JSON policy document to use as the content for the policy.
policy - The JSON policy document to use as the content for the policy.public String getPolicy()
The JSON policy document to use as the content for the policy.
public UpdateAccessPolicyRequest withPolicy(String policy)
The JSON policy document to use as the content for the policy.
policy - The JSON policy document to use as the content for the policy.public void setPolicyVersion(String policyVersion)
The version of the policy being updated.
policyVersion - The version of the policy being updated.public String getPolicyVersion()
The version of the policy being updated.
public UpdateAccessPolicyRequest withPolicyVersion(String policyVersion)
The version of the policy being updated.
policyVersion - The version of the policy being updated.public void setType(String type)
The type of policy.
type - The type of policy.AccessPolicyTypepublic String getType()
The type of policy.
AccessPolicyTypepublic UpdateAccessPolicyRequest withType(String type)
The type of policy.
type - The type of policy.AccessPolicyTypepublic UpdateAccessPolicyRequest withType(AccessPolicyType type)
The type of policy.
type - The type of policy.AccessPolicyTypepublic String toString()
toString in class ObjectObject.toString()public UpdateAccessPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()