@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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 |
getArn()
The Amazon Resource Name (ARN) of the resource for which the policy need to be returned.
|
int |
hashCode() |
void |
setArn(String arn)
The Amazon Resource Name (ARN) of the resource for which the policy need to be returned.
|
String |
toString()
Returns a string representation of this object.
|
GetPolicyRequest |
withArn(String arn)
The Amazon Resource Name (ARN) of the resource for which the policy need to be returned.
|
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 setArn(String arn)
The Amazon Resource Name (ARN) of the resource for which the policy need to be returned.
arn
- The Amazon Resource Name (ARN) of the resource for which the policy need to be returned.public String getArn()
The Amazon Resource Name (ARN) of the resource for which the policy need to be returned.
public GetPolicyRequest withArn(String arn)
The Amazon Resource Name (ARN) of the resource for which the policy need to be returned.
arn
- The Amazon Resource Name (ARN) of the resource for which the policy need to be returned.public String toString()
toString
in class Object
Object.toString()
public GetPolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()