public UpdateTrafficPolicyInstanceResult withTrafficPolicyInstance(TrafficPolicyInstance trafficPolicyInstance) {
        setTrafficPolicyInstance(trafficPolicyInstance);
        return this;
    }
<p>
A complex type that contains settings for the updated traffic policy instance.
</p>

@param trafficPolicyInstance
       A complex type that contains settings for the updated traffic policy instance.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-route53/src/main/java/com/amazonaws/services/route53/model/UpdateTrafficPolicyInstanceResult.java