public class DetachPrincipalPolicyRequest extends AmazonWebServiceRequest implements Serializable
Removes the specified policy from the specified certificate.
| Constructor and Description |
|---|
DetachPrincipalPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, copyBaseTo, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getPolicyName()
The name of the policy to detach.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
The name of the policy to detach.
public void setPolicyName(String policyName)
The name of the policy to detach.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The name of the policy to detach.
public DetachPrincipalPolicyRequest withPolicyName(String policyName)
The name of the policy to detach.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The name of the policy to detach.
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.
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 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 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.
Returns a reference to this object so that method calls can be chained together.
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 ObjectObject.toString()Copyright © 2017. All rights reserved.