public void setPolicy(String policy) {
        this.policy = policy;
    }
<p>
A JSON-formatted string for an Amazon Web Services resource-based policy.
</p>

@param policy
       A JSON-formatted string for an Amazon Web Services resource-based policy.
aws-java-sdk-migrationhubrefactorspaces/src/main/java/com/amazonaws/services/migrationhubrefactorspaces/model/PutResourcePolicyRequest.java