public void setTrafficPolicyId(String trafficPolicyId) {
        this.trafficPolicyId = trafficPolicyId;
    }
<p>
The ID of the traffic policy that you want to use to create resource record sets in the specified hosted zone.
</p>

@param trafficPolicyId
       The ID of the traffic policy that you want to use to create resource record sets in the specified hosted
       zone.
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/CreateTrafficPolicyInstanceRequest.java