public TrafficPolicyInstance withId(String id) {
        setId(id);
        return this;
    }
<p>
The ID that Amazon Route 53 assigned to the new traffic policy instance.
</p>

@param id
       The ID that Amazon Route 53 assigned to the new 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/TrafficPolicyInstance.java