@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DeleteSecurityPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DeleteSecurityPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DeleteSecurityPolicyRequest |
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.
|
DeleteSecurityPolicyRequest |
withClientToken(String clientToken)
Unique, case-sensitive identifier to ensure idempotency of the request.
|
DeleteSecurityPolicyRequest |
withName(String name)
The name of the policy to delete.
|
DeleteSecurityPolicyRequest |
withType(SecurityPolicyType type)
The type of policy.
|
DeleteSecurityPolicyRequest |
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 DeleteSecurityPolicyRequest 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 DeleteSecurityPolicyRequest 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.SecurityPolicyType
public String getType()
The type of policy.
SecurityPolicyType
public DeleteSecurityPolicyRequest withType(String type)
The type of policy.
type
- The type of policy.SecurityPolicyType
public DeleteSecurityPolicyRequest withType(SecurityPolicyType type)
The type of policy.
type
- The type of policy.SecurityPolicyType
public String toString()
toString
in class Object
Object.toString()
public DeleteSecurityPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()