Interface NamedEntityDefinition.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<NamedEntityDefinition.Builder,NamedEntityDefinition>,SdkBuilder<NamedEntityDefinition.Builder,NamedEntityDefinition>,SdkPojo
- Enclosing class:
- NamedEntityDefinition
@Mutable @NotThreadSafe public static interface NamedEntityDefinition.Builder extends SdkPojo, CopyableBuilder<NamedEntityDefinition.Builder,NamedEntityDefinition>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description NamedEntityDefinition.BuilderfieldName(String fieldName)The name of the entity.default NamedEntityDefinition.Buildermetric(Consumer<NamedEntityDefinitionMetric.Builder> metric)The definition of a metric.NamedEntityDefinition.Buildermetric(NamedEntityDefinitionMetric metric)The definition of a metric.NamedEntityDefinition.BuilderpropertyName(String propertyName)The property name to be used for the named entity.NamedEntityDefinition.BuilderpropertyRole(String propertyRole)The property role.NamedEntityDefinition.BuilderpropertyRole(PropertyRole propertyRole)The property role.NamedEntityDefinition.BuilderpropertyUsage(String propertyUsage)The property usage.NamedEntityDefinition.BuilderpropertyUsage(PropertyUsage propertyUsage)The property usage.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
fieldName
NamedEntityDefinition.Builder fieldName(String fieldName)
The name of the entity.
- Parameters:
fieldName- The name of the entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyName
NamedEntityDefinition.Builder propertyName(String propertyName)
The property name to be used for the named entity.
- Parameters:
propertyName- The property name to be used for the named entity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyRole
NamedEntityDefinition.Builder propertyRole(String propertyRole)
The property role. Valid values for this structure are
PRIMARYandID.- Parameters:
propertyRole- The property role. Valid values for this structure arePRIMARYandID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PropertyRole,PropertyRole
-
propertyRole
NamedEntityDefinition.Builder propertyRole(PropertyRole propertyRole)
The property role. Valid values for this structure are
PRIMARYandID.- Parameters:
propertyRole- The property role. Valid values for this structure arePRIMARYandID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PropertyRole,PropertyRole
-
propertyUsage
NamedEntityDefinition.Builder propertyUsage(String propertyUsage)
The property usage. Valid values for this structure are
INHERIT,DIMENSION, andMEASURE.- Parameters:
propertyUsage- The property usage. Valid values for this structure areINHERIT,DIMENSION, andMEASURE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PropertyUsage,PropertyUsage
-
propertyUsage
NamedEntityDefinition.Builder propertyUsage(PropertyUsage propertyUsage)
The property usage. Valid values for this structure are
INHERIT,DIMENSION, andMEASURE.- Parameters:
propertyUsage- The property usage. Valid values for this structure areINHERIT,DIMENSION, andMEASURE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
PropertyUsage,PropertyUsage
-
metric
NamedEntityDefinition.Builder metric(NamedEntityDefinitionMetric metric)
The definition of a metric.
- Parameters:
metric- The definition of a metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaNamedEntityDefinitionMetric.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometric(NamedEntityDefinitionMetric).- Parameters:
metric- a consumer that will call methods onNamedEntityDefinitionMetric.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
metric(NamedEntityDefinitionMetric)
-
-