Class EntityAssociation
java.lang.Object
com.azure.core.util.ExpandableStringEnum<EntityAssociation>
com.azure.ai.textanalytics.models.EntityAssociation
public final class EntityAssociation
extends com.azure.core.util.ExpandableStringEnum<EntityAssociation>
The
EntityAssociation model.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final EntityAssociationSpecifies that the entity describes someone else.static final EntityAssociationSpecifies if the entity is the subject of the text. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic EntityAssociationfromString(String name) Creates or finds aEntityAssociationfrom its string representation.static Collection<EntityAssociation>values()All known EntityAssociation values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
SUBJECT
Specifies if the entity is the subject of the text. -
OTHER
Specifies that the entity describes someone else.
-
-
Constructor Details
-
EntityAssociation
Deprecated.Use thefromString(String)factory method.Creates a new instance ofEntityAssociationvalue.
-
-
Method Details
-
fromString
Creates or finds aEntityAssociationfrom its string representation.- Parameters:
name- The string name to look for.- Returns:
- The corresponding
EntityAssociation.
-
values
All known EntityAssociation values.- Returns:
- known EntityAssociation values.
-
fromString(String)factory method.