public TopicNamedEntity withDefinition(java.util.Collection<NamedEntityDefinition> definition) {
        setDefinition(definition);
        return this;
    }
<p>
The definition of a named entity.
</p>

@param definition
       The definition of a named entity.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-quicksight/src/main/java/com/amazonaws/services/quicksight/model/TopicNamedEntity.java