public RxNormEntity withType(String type) {
        setType(type);
        return this;
    }
<p>
Describes the specific type of entity. For InferRxNorm, the recognized entity type is <code>MEDICATION</code>.
</p>

@param type
       Describes the specific type of entity. For InferRxNorm, the recognized entity type is
       <code>MEDICATION</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see RxNormEntityType
aws-java-sdk-comprehendmedical/src/main/java/com/amazonaws/services/comprehendmedical/model/RxNormEntity.java