@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeletePolicyVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the DeletePolicyVersion operation.
NOOP
Constructor and Description |
---|
DeletePolicyVersionRequest() |
Modifier and Type | Method and Description |
---|---|
DeletePolicyVersionRequest |
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.
|
String |
getPolicyVersionId()
The policy version ID.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The name of the policy.
|
void |
setPolicyVersionId(String policyVersionId)
The policy version ID.
|
String |
toString()
Returns a string representation of this object.
|
DeletePolicyVersionRequest |
withPolicyName(String policyName)
The name of the policy.
|
DeletePolicyVersionRequest |
withPolicyVersionId(String policyVersionId)
The policy version ID.
|
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.
policyName
- The name of the policy.public String getPolicyName()
The name of the policy.
public DeletePolicyVersionRequest withPolicyName(String policyName)
The name of the policy.
policyName
- The name of the policy.public void setPolicyVersionId(String policyVersionId)
The policy version ID.
policyVersionId
- The policy version ID.public String getPolicyVersionId()
The policy version ID.
public DeletePolicyVersionRequest withPolicyVersionId(String policyVersionId)
The policy version ID.
policyVersionId
- The policy version ID.public String toString()
toString
in class Object
Object.toString()
public DeletePolicyVersionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()