@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input for the GetPolicy operation.
NOOP
Constructor and Description |
---|
GetPolicyRequest() |
Modifier and Type | Method and Description |
---|---|
GetPolicyRequest |
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.
|
int |
hashCode() |
void |
setPolicyName(String policyName)
The name of the policy.
|
String |
toString()
Returns a string representation of this object.
|
GetPolicyRequest |
withPolicyName(String policyName)
The name of the 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 setPolicyName(String policyName)
The name of the policy.
policyName
- The name of the policy.public String getPolicyName()
The name of the policy.
public GetPolicyRequest withPolicyName(String policyName)
The name of the policy.
policyName
- The name of the policy.public String toString()
toString
in class Object
Object.toString()
public GetPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()