@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutAuthPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutAuthPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutAuthPolicyRequest |
clone() |
boolean |
equals(Object obj) |
String |
getPolicy()
The auth policy.
|
String |
getResourceIdentifier()
The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
|
int |
hashCode() |
void |
setPolicy(String policy)
The auth policy.
|
void |
setResourceIdentifier(String resourceIdentifier)
The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
|
String |
toString()
Returns a string representation of this object.
|
PutAuthPolicyRequest |
withPolicy(String policy)
The auth policy.
|
PutAuthPolicyRequest |
withResourceIdentifier(String resourceIdentifier)
The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
|
addHandlerContext, copyBaseTo, 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 setPolicy(String policy)
The auth policy.
policy - The auth policy.public String getPolicy()
The auth policy.
public PutAuthPolicyRequest withPolicy(String policy)
The auth policy.
policy - The auth policy.public void setResourceIdentifier(String resourceIdentifier)
The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
resourceIdentifier - The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.public String getResourceIdentifier()
The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
public PutAuthPolicyRequest withResourceIdentifier(String resourceIdentifier)
The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.
resourceIdentifier - The ID or Amazon Resource Name (ARN) of the service network or service for which the policy is created.public String toString()
toString in class ObjectObject.toString()public PutAuthPolicyRequest clone()
clone in class AmazonWebServiceRequestCopyright © 2023. All rights reserved.