public PutAuthPolicyRequest withPolicy(String policy) {
        setPolicy(policy);
        return this;
    }
<p>
The auth policy. The policy string in JSON must not contain newlines or blank lines.
</p>

@param policy
       The auth policy. The policy string in JSON must not contain newlines or blank lines.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-vpclattice/src/main/java/com/amazonaws/services/vpclattice/model/PutAuthPolicyRequest.java