Class NamedEntityDefinition
- java.lang.Object
-
- software.amazon.awssdk.services.quicksight.model.NamedEntityDefinition
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NamedEntityDefinition.Builder,NamedEntityDefinition>
@Generated("software.amazon.awssdk:codegen") public final class NamedEntityDefinition extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NamedEntityDefinition.Builder,NamedEntityDefinition>
A structure that represents a named entity.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNamedEntityDefinition.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static NamedEntityDefinition.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)StringfieldName()The name of the entity.<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()NamedEntityDefinitionMetricmetric()The definition of a metric.StringpropertyName()The property name to be used for the named entity.PropertyRolepropertyRole()The property role.StringpropertyRoleAsString()The property role.PropertyUsagepropertyUsage()The property usage.StringpropertyUsageAsString()The property usage.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends NamedEntityDefinition.Builder>serializableBuilderClass()NamedEntityDefinition.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
fieldName
public final String fieldName()
The name of the entity.
- Returns:
- The name of the entity.
-
propertyName
public final String propertyName()
The property name to be used for the named entity.
- Returns:
- The property name to be used for the named entity.
-
propertyRole
public final PropertyRole propertyRole()
The property role. Valid values for this structure are
PRIMARYandID.If the service returns an enum value that is not available in the current SDK version,
propertyRolewill returnPropertyRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompropertyRoleAsString().- Returns:
- The property role. Valid values for this structure are
PRIMARYandID. - See Also:
PropertyRole
-
propertyRoleAsString
public final String propertyRoleAsString()
The property role. Valid values for this structure are
PRIMARYandID.If the service returns an enum value that is not available in the current SDK version,
propertyRolewill returnPropertyRole.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompropertyRoleAsString().- Returns:
- The property role. Valid values for this structure are
PRIMARYandID. - See Also:
PropertyRole
-
propertyUsage
public final PropertyUsage propertyUsage()
The property usage. Valid values for this structure are
INHERIT,DIMENSION, andMEASURE.If the service returns an enum value that is not available in the current SDK version,
propertyUsagewill returnPropertyUsage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompropertyUsageAsString().- Returns:
- The property usage. Valid values for this structure are
INHERIT,DIMENSION, andMEASURE. - See Also:
PropertyUsage
-
propertyUsageAsString
public final String propertyUsageAsString()
The property usage. Valid values for this structure are
INHERIT,DIMENSION, andMEASURE.If the service returns an enum value that is not available in the current SDK version,
propertyUsagewill returnPropertyUsage.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompropertyUsageAsString().- Returns:
- The property usage. Valid values for this structure are
INHERIT,DIMENSION, andMEASURE. - See Also:
PropertyUsage
-
metric
public final NamedEntityDefinitionMetric metric()
The definition of a metric.
- Returns:
- The definition of a metric.
-
toBuilder
public NamedEntityDefinition.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NamedEntityDefinition.Builder,NamedEntityDefinition>
-
builder
public static NamedEntityDefinition.Builder builder()
-
serializableBuilderClass
public static Class<? extends NamedEntityDefinition.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-