public TrafficPolicyInstance withTrafficPolicyType(String trafficPolicyType) {
        setTrafficPolicyType(trafficPolicyType);
        return this;
    }
<p>
The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this traffic
policy instance.
</p>

@param trafficPolicyType
       The DNS type that Amazon Route 53 assigned to all of the resource record sets that it created for this
       traffic policy instance.
@return Returns a reference to this object so that method calls can be chained together.
@see RRType
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/TrafficPolicyInstance.java