public PutContainerRecipePolicyRequest withPolicy(String policy) {
        setPolicy(policy);
        return this;
    }
<p>
The policy to apply to the container recipe.
</p>

@param policy
       The policy to apply to the container recipe.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-imagebuilder/src/main/java/com/amazonaws/services/imagebuilder/model/PutContainerRecipePolicyRequest.java