public PutDeliveryDestinationPolicyResult withPolicy(Policy policy) {
        setPolicy(policy);
        return this;
    }
<p>
The contents of the policy that you just created.
</p>

@param policy
       The contents of the policy that you just created.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-logs/src/main/java/com/amazonaws/services/logs/model/PutDeliveryDestinationPolicyResult.java