Interface NamedEntityDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NamedEntityDefinition.Builder,
,NamedEntityDefinition> SdkBuilder<NamedEntityDefinition.Builder,
,NamedEntityDefinition> SdkPojo
- Enclosing class:
NamedEntityDefinition
public static interface NamedEntityDefinition.Builder
extends SdkPojo, CopyableBuilder<NamedEntityDefinition.Builder,NamedEntityDefinition>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the entity.default NamedEntityDefinition.Builder
The definition of a metric.metric
(NamedEntityDefinitionMetric metric) The definition of a metric.propertyName
(String propertyName) The property name to be used for the named entity.propertyRole
(String propertyRole) The property role.propertyRole
(PropertyRole propertyRole) The property role.propertyUsage
(String propertyUsage) The property usage.propertyUsage
(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, sdkFields
-
Method Details
-
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
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
The property role. Valid values for this structure are
PRIMARY
andID
.- Parameters:
propertyRole
- The property role. Valid values for this structure arePRIMARY
andID
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propertyRole
The property role. Valid values for this structure are
PRIMARY
andID
.- Parameters:
propertyRole
- The property role. Valid values for this structure arePRIMARY
andID
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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:
-
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
The definition of a metric.
This is a convenience method that creates an instance of theNamedEntityDefinitionMetric.Builder
avoiding the need to create one manually viaNamedEntityDefinitionMetric.builder()
.When the
Consumer
completes,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:
-