@Generated(value="software.amazon.awssdk:codegen") public final class NamedEntityDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NamedEntityDefinition.Builder,NamedEntityDefinition>
A structure that represents a named entity.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NamedEntityDefinition.Builder |
| Modifier and Type | Method and Description |
|---|---|
static NamedEntityDefinition.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
String |
fieldName()
The name of the entity.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
NamedEntityDefinitionMetric |
metric()
The definition of a metric.
|
String |
propertyName()
The property name to be used for the named entity.
|
PropertyRole |
propertyRole()
The property role.
|
String |
propertyRoleAsString()
The property role.
|
PropertyUsage |
propertyUsage()
The property usage.
|
String |
propertyUsageAsString()
The property usage.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NamedEntityDefinition.Builder> |
serializableBuilderClass() |
NamedEntityDefinition.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String fieldName()
The name of the entity.
public final String propertyName()
The property name to be used for the named entity.
public final PropertyRole propertyRole()
The property role. Valid values for this structure are PRIMARY and ID.
If the service returns an enum value that is not available in the current SDK version, propertyRole will
return PropertyRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
propertyRoleAsString().
PRIMARY and ID.PropertyRolepublic final String propertyRoleAsString()
The property role. Valid values for this structure are PRIMARY and ID.
If the service returns an enum value that is not available in the current SDK version, propertyRole will
return PropertyRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
propertyRoleAsString().
PRIMARY and ID.PropertyRolepublic final PropertyUsage propertyUsage()
The property usage. Valid values for this structure are INHERIT, DIMENSION, and
MEASURE.
If the service returns an enum value that is not available in the current SDK version, propertyUsage
will return PropertyUsage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
propertyUsageAsString().
INHERIT, DIMENSION, and
MEASURE.PropertyUsagepublic final String propertyUsageAsString()
The property usage. Valid values for this structure are INHERIT, DIMENSION, and
MEASURE.
If the service returns an enum value that is not available in the current SDK version, propertyUsage
will return PropertyUsage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
propertyUsageAsString().
INHERIT, DIMENSION, and
MEASURE.PropertyUsagepublic final NamedEntityDefinitionMetric metric()
The definition of a metric.
public NamedEntityDefinition.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NamedEntityDefinition.Builder,NamedEntityDefinition>public static NamedEntityDefinition.Builder builder()
public static Class<? extends NamedEntityDefinition.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.