@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutContainerPolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP| Constructor and Description |
|---|
PutContainerPolicyRequest() |
| Modifier and Type | Method and Description |
|---|---|
PutContainerPolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContainerName()
The name of the container.
|
String |
getPolicy()
The contents of the policy, which includes the following:
|
int |
hashCode() |
void |
setContainerName(String containerName)
The name of the container.
|
void |
setPolicy(String policy)
The contents of the policy, which includes the following:
|
String |
toString()
Returns a string representation of this object.
|
PutContainerPolicyRequest |
withContainerName(String containerName)
The name of the container.
|
PutContainerPolicyRequest |
withPolicy(String policy)
The contents of the policy, which includes the following:
|
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 setContainerName(String containerName)
The name of the container.
containerName - The name of the container.public String getContainerName()
The name of the container.
public PutContainerPolicyRequest withContainerName(String containerName)
The name of the container.
containerName - The name of the container.public void setPolicy(String policy)
The contents of the policy, which includes the following:
One Version tag
One Statement tag that contains the standard tags for the policy.
policy - The contents of the policy, which includes the following:
One Version tag
One Statement tag that contains the standard tags for the policy.
public String getPolicy()
The contents of the policy, which includes the following:
One Version tag
One Statement tag that contains the standard tags for the policy.
One Version tag
One Statement tag that contains the standard tags for the policy.
public PutContainerPolicyRequest withPolicy(String policy)
The contents of the policy, which includes the following:
One Version tag
One Statement tag that contains the standard tags for the policy.
policy - The contents of the policy, which includes the following:
One Version tag
One Statement tag that contains the standard tags for the policy.
public String toString()
toString in class ObjectObject.toString()public PutContainerPolicyRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()