@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PutContainerRecipePolicyRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
PutContainerRecipePolicyRequest() |
Modifier and Type | Method and Description |
---|---|
PutContainerRecipePolicyRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getContainerRecipeArn()
The Amazon Resource Name (ARN) of the container recipe that this policy should be applied to.
|
String |
getPolicy()
The policy to apply to the container recipe.
|
int |
hashCode() |
void |
setContainerRecipeArn(String containerRecipeArn)
The Amazon Resource Name (ARN) of the container recipe that this policy should be applied to.
|
void |
setPolicy(String policy)
The policy to apply to the container recipe.
|
String |
toString()
Returns a string representation of this object.
|
PutContainerRecipePolicyRequest |
withContainerRecipeArn(String containerRecipeArn)
The Amazon Resource Name (ARN) of the container recipe that this policy should be applied to.
|
PutContainerRecipePolicyRequest |
withPolicy(String policy)
The policy to apply to the container recipe.
|
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 setContainerRecipeArn(String containerRecipeArn)
The Amazon Resource Name (ARN) of the container recipe that this policy should be applied to.
containerRecipeArn
- The Amazon Resource Name (ARN) of the container recipe that this policy should be applied to.public String getContainerRecipeArn()
The Amazon Resource Name (ARN) of the container recipe that this policy should be applied to.
public PutContainerRecipePolicyRequest withContainerRecipeArn(String containerRecipeArn)
The Amazon Resource Name (ARN) of the container recipe that this policy should be applied to.
containerRecipeArn
- The Amazon Resource Name (ARN) of the container recipe that this policy should be applied to.public void setPolicy(String policy)
The policy to apply to the container recipe.
policy
- The policy to apply to the container recipe.public String getPolicy()
The policy to apply to the container recipe.
public PutContainerRecipePolicyRequest withPolicy(String policy)
The policy to apply to the container recipe.
policy
- The policy to apply to the container recipe.public String toString()
toString
in class Object
Object.toString()
public PutContainerRecipePolicyRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()