@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class EntityTypesListItem extends Object implements Serializable, Cloneable, StructuredPojo
An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.
Constructor and Description |
---|
EntityTypesListItem() |
Modifier and Type | Method and Description |
---|---|
EntityTypesListItem |
clone() |
boolean |
equals(Object obj) |
String |
getType()
An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setType(String type)
An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.
|
String |
toString()
Returns a string representation of this object.
|
EntityTypesListItem |
withType(String type)
An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.
|
public void setType(String type)
An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.
Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break, \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), and , (comma).
type
- An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity
recognizer.
Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break, \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), and , (comma).
public String getType()
An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.
Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break, \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), and , (comma).
Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break, \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), and , (comma).
public EntityTypesListItem withType(String type)
An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity recognizer.
Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break, \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), and , (comma).
type
- An entity type within a labeled training dataset that Amazon Comprehend uses to train a custom entity
recognizer.
Entity types must not contain the following invalid characters: \n (line break), \\n (escaped line break, \r (carriage return), \\r (escaped carriage return), \t (tab), \\t (escaped tab), and , (comma).
public String toString()
toString
in class Object
Object.toString()
public EntityTypesListItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.