@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DetachPrincipalPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the DetachPrincipalPolicy operation.
NOOP
Constructor and Description |
---|
DetachPrincipalPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
DetachPrincipalPolicyRequest |
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 detach.
|
String |
getPrincipal()
The principal.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The name of the policy to detach.
|
void |
setPrincipal(String principal)
The principal.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
DetachPrincipalPolicyRequest |
withPolicyName(String policyName)
The name of the policy to detach.
|
DetachPrincipalPolicyRequest |
withPrincipal(String principal)
The principal.
|
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 detach.
policyName
- The name of the policy to detach.public String getPolicyName()
The name of the policy to detach.
public DetachPrincipalPolicyRequest withPolicyName(String policyName)
The name of the policy to detach.
policyName
- The name of the policy to detach.public void setPrincipal(String principal)
The principal.
If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID.
principal
- The principal.
If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID.
public String getPrincipal()
The principal.
If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID.
If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID.
public DetachPrincipalPolicyRequest withPrincipal(String principal)
The principal.
If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID.
principal
- The principal.
If the principal is a certificate, specify the certificate ARN. If the principal is an Amazon Cognito identity, specify the identity ID.
public String toString()
toString
in class Object
Object.toString()
public DetachPrincipalPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.