@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeletePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
DeletePolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
DeletePolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPolicyId()
Specifies the ID of the policy that you want to delete.
|
String |
getPolicyStoreId()
Specifies the ID of the policy store that contains the policy that you want to delete.
|
int |
hashCode() |
void |
setPolicyId(String policyId)
Specifies the ID of the policy that you want to delete.
|
void |
setPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store that contains the policy that you want to delete.
|
String |
toString()
Returns a string representation of this object.
|
DeletePolicyRequest |
withPolicyId(String policyId)
Specifies the ID of the policy that you want to delete.
|
DeletePolicyRequest |
withPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store that contains the policy that you want 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, withSdkRequestTimeoutpublic void setPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store that contains the policy that you want to delete.
policyStoreId - Specifies the ID of the policy store that contains the policy that you want to delete.public String getPolicyStoreId()
Specifies the ID of the policy store that contains the policy that you want to delete.
public DeletePolicyRequest withPolicyStoreId(String policyStoreId)
Specifies the ID of the policy store that contains the policy that you want to delete.
policyStoreId - Specifies the ID of the policy store that contains the policy that you want to delete.public void setPolicyId(String policyId)
Specifies the ID of the policy that you want to delete.
policyId - Specifies the ID of the policy that you want to delete.public String getPolicyId()
Specifies the ID of the policy that you want to delete.
public DeletePolicyRequest withPolicyId(String policyId)
Specifies the ID of the policy that you want to delete.
policyId - Specifies the ID of the policy that you want to delete.public String toString()
toString in class ObjectObject.toString()public DeletePolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()