@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()
Creates a shallow clone of this object for all fields except the handler context.
|
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, 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.
policyType
- The type of policy to delete.PolicyType
public String getPolicyType()
The type of policy to delete.
PolicyType
public DeleteAccountPolicyRequest withPolicyType(String policyType)
The type of policy to delete.
policyType
- The type of policy to delete.PolicyType
public DeleteAccountPolicyRequest withPolicyType(PolicyType policyType)
The type of policy to delete.
policyType
- The type of policy to delete.PolicyType
public String toString()
toString
in class Object
Object.toString()
public DeleteAccountPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()