public PutProjectPolicyRequest withPolicyDocument(String policyDocument) {
        setPolicyDocument(policyDocument);
        return this;
    }
<p>
A resource policy to add to the model. The policy is a JSON structure that contains one or more statements that
define the policy. The policy must follow the IAM syntax. For more information about the contents of a JSON
policy document, see <a href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html">IAM JSON
policy reference</a>.
</p>

@param policyDocument
       A resource policy to add to the model. The policy is a JSON structure that contains one or more statements
       that define the policy. The policy must follow the IAM syntax. For more information about the contents of
       a JSON policy document, see <a
       href="https://docs.aws.amazon.com/IAM/latest/UserGuide/reference_policies.html">IAM JSON policy
       reference</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-rekognition/src/main/java/com/amazonaws/services/rekognition/model/PutProjectPolicyRequest.java