public class GetPolicyRequest extends AmazonWebServiceRequest implements Serializable
GetPolicy operation.
Gets information about the specified policy with the policy document of the default version.
| Constructor and Description |
|---|
GetPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getPolicyName()
The name of the policy.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The name of the policy.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetPolicyRequest |
withPolicyName(String policyName)
The name of the policy.
|
getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic String getPolicyName()
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
public void setPolicyName(String policyName)
Constraints:
Length: 1 - 128
Pattern: [\w+=,.@-]+
policyName - The name of the policy.public GetPolicyRequest withPolicyName(String policyName)
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.public String toString()
toString in class ObjectObject.toString()Copyright © 2016. All rights reserved.