Interface CfnTopic.NamedEntityDefinitionProperty

All Superinterfaces:
software.amazon.jsii.JsiiSerializable
All Known Implementing Classes:
CfnTopic.NamedEntityDefinitionProperty.Jsii$Proxy
Enclosing class:
CfnTopic

@Stability(Stable) public static interface CfnTopic.NamedEntityDefinitionProperty extends software.amazon.jsii.JsiiSerializable
A structure that represents a named entity.

Example:

 // The code below shows an example of how to instantiate this type.
 // The values are placeholders you should change.
 import software.amazon.awscdk.services.quicksight.*;
 NamedEntityDefinitionProperty namedEntityDefinitionProperty = NamedEntityDefinitionProperty.builder()
         .fieldName("fieldName")
         .metric(NamedEntityDefinitionMetricProperty.builder()
                 .aggregation("aggregation")
                 .aggregationFunctionParameters(Map.of(
                         "aggregationFunctionParametersKey", "aggregationFunctionParameters"))
                 .build())
         .propertyName("propertyName")
         .propertyRole("propertyRole")
         .propertyUsage("propertyUsage")
         .build();
 
  • Method Details

    • getFieldName

      @Stability(Stable) @Nullable default String getFieldName()
      The name of the entity.
    • getMetric

      @Stability(Stable) @Nullable default Object getMetric()
      The definition of a metric.
    • getPropertyName

      @Stability(Stable) @Nullable default String getPropertyName()
      The property name to be used for the named entity.
    • getPropertyRole

      @Stability(Stable) @Nullable default String getPropertyRole()
      The property role.

      Valid values for this structure are PRIMARY and ID .

    • getPropertyUsage

      @Stability(Stable) @Nullable default String getPropertyUsage()
      The property usage.

      Valid values for this structure are INHERIT , DIMENSION , and MEASURE .

    • builder

      @Stability(Stable) static CfnTopic.NamedEntityDefinitionProperty.Builder builder()
      Returns:
      a CfnTopic.NamedEntityDefinitionProperty.Builder of CfnTopic.NamedEntityDefinitionProperty