@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetachPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
DetachPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DetachPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPolicyName()
The policy to detach.
|
String |
getTarget()
The target from which the policy will be detached.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The policy to detach.
|
void |
setTarget(String target)
The target from which the policy will be detached.
|
String |
toString()
Returns a string representation of this object.
|
DetachPolicyRequest |
withPolicyName(String policyName)
The policy to detach.
|
DetachPolicyRequest |
withTarget(String target)
The target from which the policy will be detached.
|
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 policy to detach.
policyName
- The policy to detach.public String getPolicyName()
The policy to detach.
public DetachPolicyRequest withPolicyName(String policyName)
The policy to detach.
policyName
- The policy to detach.public void setTarget(String target)
The target from which the policy will be detached.
target
- The target from which the policy will be detached.public String getTarget()
The target from which the policy will be detached.
public DetachPolicyRequest withTarget(String target)
The target from which the policy will be detached.
target
- The target from which the policy will be detached.public String toString()
toString
in class Object
Object.toString()
public DetachPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()