@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteAccessPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteAccessPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteAccessPolicyRequest |
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 |
getName()
The name of the policy to delete.
|
String |
getType()
The type of policy.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
|
void |
setName(String name)
The name of the policy to delete.
|
void |
setType(String type)
The type of policy.
|
String |
toString()
Returns a string representation of this object.
|
DeleteAccessPolicyRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
|
DeleteAccessPolicyRequest |
withName(String name)
The name of the policy to delete.
|
DeleteAccessPolicyRequest |
withType(AccessPolicyType type)
The type of policy.
|
DeleteAccessPolicyRequest |
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, withSdkRequestTimeout
public 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 DeleteAccessPolicyRequest 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 setName(String name)
The name of the policy to delete.
name
- The name of the policy to delete.public String getName()
The name of the policy to delete.
public DeleteAccessPolicyRequest withName(String name)
The name of the policy to delete.
name
- The name of the policy to delete.public void setType(String type)
The type of policy.
type
- The type of policy.AccessPolicyType
public String getType()
The type of policy.
AccessPolicyType
public DeleteAccessPolicyRequest withType(String type)
The type of policy.
type
- The type of policy.AccessPolicyType
public DeleteAccessPolicyRequest withType(AccessPolicyType type)
The type of policy.
type
- The type of policy.AccessPolicyType
public String toString()
toString
in class Object
Object.toString()
public DeleteAccessPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()