public static interface NamedEntityDefinition.Builder extends SdkPojo, CopyableBuilder<NamedEntityDefinition.Builder,NamedEntityDefinition>
| Modifier and Type | Method and Description |
|---|---|
NamedEntityDefinition.Builder |
fieldName(String fieldName)
The name of the entity.
|
default NamedEntityDefinition.Builder |
metric(Consumer<NamedEntityDefinitionMetric.Builder> metric)
The definition of a metric.
|
NamedEntityDefinition.Builder |
metric(NamedEntityDefinitionMetric metric)
The definition of a metric.
|
NamedEntityDefinition.Builder |
propertyName(String propertyName)
The property name to be used for the named entity.
|
NamedEntityDefinition.Builder |
propertyRole(PropertyRole propertyRole)
The property role.
|
NamedEntityDefinition.Builder |
propertyRole(String propertyRole)
The property role.
|
NamedEntityDefinition.Builder |
propertyUsage(PropertyUsage propertyUsage)
The property usage.
|
NamedEntityDefinition.Builder |
propertyUsage(String propertyUsage)
The property usage.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildNamedEntityDefinition.Builder fieldName(String fieldName)
The name of the entity.
fieldName - The name of the entity.NamedEntityDefinition.Builder propertyName(String propertyName)
The property name to be used for the named entity.
propertyName - The property name to be used for the named entity.NamedEntityDefinition.Builder propertyRole(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.PropertyRole,
PropertyRoleNamedEntityDefinition.Builder propertyRole(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.PropertyRole,
PropertyRoleNamedEntityDefinition.Builder propertyUsage(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.PropertyUsage,
PropertyUsageNamedEntityDefinition.Builder propertyUsage(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.PropertyUsage,
PropertyUsageNamedEntityDefinition.Builder metric(NamedEntityDefinitionMetric metric)
The definition of a metric.
metric - The definition of a metric.default NamedEntityDefinition.Builder metric(Consumer<NamedEntityDefinitionMetric.Builder> metric)
The definition of a metric.
This is a convenience method that creates an instance of theNamedEntityDefinitionMetric.Builder
avoiding the need to create one manually via NamedEntityDefinitionMetric.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to metric(NamedEntityDefinitionMetric).
metric - a consumer that will call methods on NamedEntityDefinitionMetric.Buildermetric(NamedEntityDefinitionMetric)Copyright © 2023. All rights reserved.