@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutRegistryPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutRegistryPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutRegistryPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getPolicyText()
The JSON policy text to apply to your registry.
|
int |
hashCode() |
void |
setPolicyText(String policyText)
The JSON policy text to apply to your registry.
|
String |
toString()
Returns a string representation of this object.
|
PutRegistryPolicyRequest |
withPolicyText(String policyText)
The JSON policy text to apply to your registry.
|
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 setPolicyText(String policyText)
The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy text. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.
policyText - The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy
text. For more information, see Registry
permissions in the Amazon Elastic Container Registry User Guide.public String getPolicyText()
The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy text. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.
public PutRegistryPolicyRequest withPolicyText(String policyText)
The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy text. For more information, see Registry permissions in the Amazon Elastic Container Registry User Guide.
policyText - The JSON policy text to apply to your registry. The policy text follows the same format as IAM policy
text. For more information, see Registry
permissions in the Amazon Elastic Container Registry User Guide.public String toString()
toString in class ObjectObject.toString()public PutRegistryPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()