@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TopicNamedEntity extends Object implements Serializable, Cloneable, StructuredPojo
A structure that represents a named entity.
Constructor and Description |
---|
TopicNamedEntity() |
Modifier and Type | Method and Description |
---|---|
TopicNamedEntity |
clone() |
boolean |
equals(Object obj) |
List<NamedEntityDefinition> |
getDefinition()
The definition of a named entity.
|
String |
getEntityDescription()
The description of the named entity.
|
String |
getEntityName()
The name of the named entity.
|
List<String> |
getEntitySynonyms()
The other names or aliases for the named entity.
|
SemanticEntityType |
getSemanticEntityType()
The type of named entity that a topic represents.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDefinition(Collection<NamedEntityDefinition> definition)
The definition of a named entity.
|
void |
setEntityDescription(String entityDescription)
The description of the named entity.
|
void |
setEntityName(String entityName)
The name of the named entity.
|
void |
setEntitySynonyms(Collection<String> entitySynonyms)
The other names or aliases for the named entity.
|
void |
setSemanticEntityType(SemanticEntityType semanticEntityType)
The type of named entity that a topic represents.
|
String |
toString()
Returns a string representation of this object.
|
TopicNamedEntity |
withDefinition(Collection<NamedEntityDefinition> definition)
The definition of a named entity.
|
TopicNamedEntity |
withDefinition(NamedEntityDefinition... definition)
The definition of a named entity.
|
TopicNamedEntity |
withEntityDescription(String entityDescription)
The description of the named entity.
|
TopicNamedEntity |
withEntityName(String entityName)
The name of the named entity.
|
TopicNamedEntity |
withEntitySynonyms(Collection<String> entitySynonyms)
The other names or aliases for the named entity.
|
TopicNamedEntity |
withEntitySynonyms(String... entitySynonyms)
The other names or aliases for the named entity.
|
TopicNamedEntity |
withSemanticEntityType(SemanticEntityType semanticEntityType)
The type of named entity that a topic represents.
|
public void setEntityName(String entityName)
The name of the named entity.
entityName
- The name of the named entity.public String getEntityName()
The name of the named entity.
public TopicNamedEntity withEntityName(String entityName)
The name of the named entity.
entityName
- The name of the named entity.public void setEntityDescription(String entityDescription)
The description of the named entity.
entityDescription
- The description of the named entity.public String getEntityDescription()
The description of the named entity.
public TopicNamedEntity withEntityDescription(String entityDescription)
The description of the named entity.
entityDescription
- The description of the named entity.public List<String> getEntitySynonyms()
The other names or aliases for the named entity.
public void setEntitySynonyms(Collection<String> entitySynonyms)
The other names or aliases for the named entity.
entitySynonyms
- The other names or aliases for the named entity.public TopicNamedEntity withEntitySynonyms(String... entitySynonyms)
The other names or aliases for the named entity.
NOTE: This method appends the values to the existing list (if any). Use
setEntitySynonyms(java.util.Collection)
or withEntitySynonyms(java.util.Collection)
if you want
to override the existing values.
entitySynonyms
- The other names or aliases for the named entity.public TopicNamedEntity withEntitySynonyms(Collection<String> entitySynonyms)
The other names or aliases for the named entity.
entitySynonyms
- The other names or aliases for the named entity.public void setSemanticEntityType(SemanticEntityType semanticEntityType)
The type of named entity that a topic represents.
semanticEntityType
- The type of named entity that a topic represents.public SemanticEntityType getSemanticEntityType()
The type of named entity that a topic represents.
public TopicNamedEntity withSemanticEntityType(SemanticEntityType semanticEntityType)
The type of named entity that a topic represents.
semanticEntityType
- The type of named entity that a topic represents.public List<NamedEntityDefinition> getDefinition()
The definition of a named entity.
public void setDefinition(Collection<NamedEntityDefinition> definition)
The definition of a named entity.
definition
- The definition of a named entity.public TopicNamedEntity withDefinition(NamedEntityDefinition... definition)
The definition of a named entity.
NOTE: This method appends the values to the existing list (if any). Use
setDefinition(java.util.Collection)
or withDefinition(java.util.Collection)
if you want to
override the existing values.
definition
- The definition of a named entity.public TopicNamedEntity withDefinition(Collection<NamedEntityDefinition> definition)
The definition of a named entity.
definition
- The definition of a named entity.public String toString()
toString
in class Object
Object.toString()
public TopicNamedEntity clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.