public RxNormEntity withTraits(RxNormTrait... traits) {
        if (this.traits == null) {
            setTraits(new java.util.ArrayList<RxNormTrait>(traits.length));
        }
        for (RxNormTrait ele : traits) {
            this.traits.add(ele);
        }
        return this;
    }
<p>
Contextual information for the entity.
</p>
<p>
<b>NOTE:</b> This method appends the values to the existing list (if any). Use
{@link #setTraits(java.util.Collection)} or {@link #withTraits(java.util.Collection)} if you want to override the
existing values.
</p>

@param traits
       Contextual information for the entity.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-comprehendmedical/src/main/java/com/amazonaws/services/comprehendmedical/model/RxNormEntity.java