public PutDomainPermissionsPolicyRequest withPolicyDocument(String policyDocument) {
        setPolicyDocument(policyDocument);
        return this;
    }
<p>
A valid displayable JSON Aspen policy string to be set as the access control resource policy on the provided
domain.
</p>

@param policyDocument
       A valid displayable JSON Aspen policy string to be set as the access control resource policy on the
       provided domain.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-codeartifact/src/main/java/com/amazonaws/services/codeartifact/model/PutDomainPermissionsPolicyRequest.java