public class EntityTypesListItem
extends java.lang.Object
implements java.io.Serializable
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 |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getType()
An entity type within a labeled training dataset that Amazon Comprehend
uses to train a custom entity recognizer.
|
int |
hashCode() |
void |
setType(java.lang.String type)
An entity type within a labeled training dataset that Amazon Comprehend
uses to train a custom entity recognizer.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
EntityTypesListItem |
withType(java.lang.String type)
An entity type within a labeled training dataset that Amazon Comprehend
uses to train a custom entity recognizer.
|
public java.lang.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), space, and , (comma).
Constraints:
Length: - 64
Pattern: ^(?:(?!\\n+|\\t+|\\r+|[\r\t\n\s,]).)+$
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), space, and , (comma).
public void setType(java.lang.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), space, and , (comma).
Constraints:
Length: - 64
Pattern: ^(?:(?!\\n+|\\t+|\\r+|[\r\t\n\s,]).)+$
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), space, and , (comma).
public EntityTypesListItem withType(java.lang.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), space, and , (comma).
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: - 64
Pattern: ^(?:(?!\\n+|\\t+|\\r+|[\r\t\n\s,]).)+$
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), space, and , (comma).
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.