public CreatePolicyResult withPolicyDocument(String policyDocument) {
        setPolicyDocument(policyDocument);
        return this;
    }
<p>
The JSON document that describes the policy.
</p>

@param policyDocument
       The JSON document that describes the policy.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-iot/src/main/java/com/amazonaws/services/iot/model/CreatePolicyResult.java