@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutPermissionPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutPermissionPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutPermissionPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPolicy()
The policy to attach to the specified RuleGroup.
|
String |
getResourceArn()
The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.
|
int |
hashCode() |
void |
setPolicy(String policy)
The policy to attach to the specified RuleGroup.
|
void |
setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.
|
String |
toString()
Returns a string representation of this object.
|
PutPermissionPolicyRequest |
withPolicy(String policy)
The policy to attach to the specified RuleGroup.
|
PutPermissionPolicyRequest |
withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach 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, withSdkRequestTimeoutpublic void setResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.
resourceArn - The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.public String getResourceArn()
The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.
public PutPermissionPolicyRequest withResourceArn(String resourceArn)
The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.
resourceArn - The Amazon Resource Name (ARN) of the RuleGroup to which you want to attach the policy.public void setPolicy(String policy)
The policy to attach to the specified RuleGroup.
policy - The policy to attach to the specified RuleGroup.public String getPolicy()
The policy to attach to the specified RuleGroup.
public PutPermissionPolicyRequest withPolicy(String policy)
The policy to attach to the specified RuleGroup.
policy - The policy to attach to the specified RuleGroup.public String toString()
toString in class ObjectObject.toString()public PutPermissionPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()