@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteAccountPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteAccountPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteAccountPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyName()
The name of the policy to delete.
|
String |
getPolicyType()
The type of policy to delete.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The name of the policy to delete.
|
void |
setPolicyType(String policyType)
The type of policy to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeleteAccountPolicyRequest |
withPolicyName(String policyName)
The name of the policy to delete.
|
DeleteAccountPolicyRequest |
withPolicyType(PolicyType policyType)
The type of policy to delete.
|
DeleteAccountPolicyRequest |
withPolicyType(String policyType)
The type of policy to delete.
|
addHandlerContext, copyBaseTo, 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 setPolicyName(String policyName)
The name of the policy to delete.
policyName
- The name of the policy to delete.public String getPolicyName()
The name of the policy to delete.
public DeleteAccountPolicyRequest withPolicyName(String policyName)
The name of the policy to delete.
policyName
- The name of the policy to delete.public void setPolicyType(String policyType)
The type of policy to delete. Currently, the only valid value is DATA_PROTECTION_POLICY
.
policyType
- The type of policy to delete. Currently, the only valid value is DATA_PROTECTION_POLICY
.PolicyType
public String getPolicyType()
The type of policy to delete. Currently, the only valid value is DATA_PROTECTION_POLICY
.
DATA_PROTECTION_POLICY
.PolicyType
public DeleteAccountPolicyRequest withPolicyType(String policyType)
The type of policy to delete. Currently, the only valid value is DATA_PROTECTION_POLICY
.
policyType
- The type of policy to delete. Currently, the only valid value is DATA_PROTECTION_POLICY
.PolicyType
public DeleteAccountPolicyRequest withPolicyType(PolicyType policyType)
The type of policy to delete. Currently, the only valid value is DATA_PROTECTION_POLICY
.
policyType
- The type of policy to delete. Currently, the only valid value is DATA_PROTECTION_POLICY
.PolicyType
public String toString()
toString
in class Object
Object.toString()
public DeleteAccountPolicyRequest clone()
clone
in class AmazonWebServiceRequest
Copyright © 2023. All rights reserved.