public void setDocument(String document) {
        this.document = document;
    }
<p>
The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic policy
in the <code>CreateTrafficPolicy</code> request. For more information about the JSON format, see <a
href="https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html"
>Traffic Policy Document Format</a>.
</p>

@param document
       The definition of a traffic policy in JSON format. You specify the JSON document to use for a new traffic
       policy in the <code>CreateTrafficPolicy</code> request. For more information about the JSON format, see <a
       href=
       "https://docs.aws.amazon.com/Route53/latest/APIReference/api-policies-traffic-policy-document-format.html"
       >Traffic Policy Document Format</a>.
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/TrafficPolicy.java