public TrafficPolicy withVersion(Integer version) {
        setVersion(version);
        return this;
    }
<p>
The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value of
<code>Version</code> is always 1.
</p>

@param version
       The version number that Amazon Route 53 assigns to a traffic policy. For a new traffic policy, the value
       of <code>Version</code> is always 1.
@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/TrafficPolicy.java