@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NamedEntityDefinition extends Object implements Serializable, Cloneable, StructuredPojo
A structure that represents a named entity.
| Constructor and Description |
|---|
NamedEntityDefinition() |
| Modifier and Type | Method and Description |
|---|---|
NamedEntityDefinition |
clone() |
boolean |
equals(Object obj) |
String |
getFieldName()
The name of the entity.
|
NamedEntityDefinitionMetric |
getMetric()
The definition of a metric.
|
String |
getPropertyName()
The property name to be used for the named entity.
|
String |
getPropertyRole()
The property role.
|
String |
getPropertyUsage()
The property usage.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setFieldName(String fieldName)
The name of the entity.
|
void |
setMetric(NamedEntityDefinitionMetric metric)
The definition of a metric.
|
void |
setPropertyName(String propertyName)
The property name to be used for the named entity.
|
void |
setPropertyRole(String propertyRole)
The property role.
|
void |
setPropertyUsage(String propertyUsage)
The property usage.
|
String |
toString()
Returns a string representation of this object.
|
NamedEntityDefinition |
withFieldName(String fieldName)
The name of the entity.
|
NamedEntityDefinition |
withMetric(NamedEntityDefinitionMetric metric)
The definition of a metric.
|
NamedEntityDefinition |
withPropertyName(String propertyName)
The property name to be used for the named entity.
|
NamedEntityDefinition |
withPropertyRole(PropertyRole propertyRole)
The property role.
|
NamedEntityDefinition |
withPropertyRole(String propertyRole)
The property role.
|
NamedEntityDefinition |
withPropertyUsage(PropertyUsage propertyUsage)
The property usage.
|
NamedEntityDefinition |
withPropertyUsage(String propertyUsage)
The property usage.
|
public void setFieldName(String fieldName)
The name of the entity.
fieldName - The name of the entity.public String getFieldName()
The name of the entity.
public NamedEntityDefinition withFieldName(String fieldName)
The name of the entity.
fieldName - The name of the entity.public void setPropertyName(String propertyName)
The property name to be used for the named entity.
propertyName - The property name to be used for the named entity.public String getPropertyName()
The property name to be used for the named entity.
public NamedEntityDefinition withPropertyName(String propertyName)
The property name to be used for the named entity.
propertyName - The property name to be used for the named entity.public void setPropertyRole(String propertyRole)
The property role. Valid values for this structure are PRIMARY and ID.
propertyRole - The property role. Valid values for this structure are PRIMARY and ID.PropertyRolepublic String getPropertyRole()
The property role. Valid values for this structure are PRIMARY and ID.
PRIMARY and ID.PropertyRolepublic NamedEntityDefinition withPropertyRole(String propertyRole)
The property role. Valid values for this structure are PRIMARY and ID.
propertyRole - The property role. Valid values for this structure are PRIMARY and ID.PropertyRolepublic NamedEntityDefinition withPropertyRole(PropertyRole propertyRole)
The property role. Valid values for this structure are PRIMARY and ID.
propertyRole - The property role. Valid values for this structure are PRIMARY and ID.PropertyRolepublic void setPropertyUsage(String propertyUsage)
The property usage. Valid values for this structure are INHERIT, DIMENSION, and
MEASURE.
propertyUsage - The property usage. Valid values for this structure are INHERIT, DIMENSION, and
MEASURE.PropertyUsagepublic String getPropertyUsage()
The property usage. Valid values for this structure are INHERIT, DIMENSION, and
MEASURE.
INHERIT, DIMENSION, and
MEASURE.PropertyUsagepublic NamedEntityDefinition withPropertyUsage(String propertyUsage)
The property usage. Valid values for this structure are INHERIT, DIMENSION, and
MEASURE.
propertyUsage - The property usage. Valid values for this structure are INHERIT, DIMENSION, and
MEASURE.PropertyUsagepublic NamedEntityDefinition withPropertyUsage(PropertyUsage propertyUsage)
The property usage. Valid values for this structure are INHERIT, DIMENSION, and
MEASURE.
propertyUsage - The property usage. Valid values for this structure are INHERIT, DIMENSION, and
MEASURE.PropertyUsagepublic void setMetric(NamedEntityDefinitionMetric metric)
The definition of a metric.
metric - The definition of a metric.public NamedEntityDefinitionMetric getMetric()
The definition of a metric.
public NamedEntityDefinition withMetric(NamedEntityDefinitionMetric metric)
The definition of a metric.
metric - The definition of a metric.public String toString()
toString in class ObjectObject.toString()public NamedEntityDefinition clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.