public void setDocument(String document) {
        this.document = document;
    }
<p>
The definition of this version of the traffic policy, in JSON format. You specified the JSON in the
<code>CreateTrafficPolicyVersion</code> request. For more information about the JSON format, see <a
href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html"
>CreateTrafficPolicy</a>.
</p>

@param document
       The definition of this version of the traffic policy, in JSON format. You specified the JSON in the
       <code>CreateTrafficPolicyVersion</code> request. For more information about the JSON format, see <a
       href="https://docs.aws.amazon.com/Route53/latest/APIReference/API_CreateTrafficPolicy.html"
       >CreateTrafficPolicy</a>.
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/CreateTrafficPolicyVersionRequest.java