public PutBackupVaultAccessPolicyRequest withPolicy(String policy) {
        setPolicy(policy);
        return this;
    }
<p>
The backup vault access policy document in JSON format.
</p>

@param policy
       The backup vault access policy document in JSON format.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-backup/src/main/java/com/amazonaws/services/backup/model/PutBackupVaultAccessPolicyRequest.java