Interface MetricDefinitionConfig.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<MetricDefinitionConfig.Builder,MetricDefinitionConfig>,SdkBuilder<MetricDefinitionConfig.Builder,MetricDefinitionConfig>,SdkPojo
- Enclosing class:
- MetricDefinitionConfig
public static interface MetricDefinitionConfig.Builder extends SdkPojo, CopyableBuilder<MetricDefinitionConfig.Builder,MetricDefinitionConfig>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description MetricDefinitionConfig.BuilderentityIdKey(String entityIdKey)The entity, such as a user or session, that does an action that causes a metric value to be recorded.MetricDefinitionConfig.BuildereventPattern(String eventPattern)The EventBridge event pattern that defines how the metric is recorded.MetricDefinitionConfig.Buildername(String name)A name for the metric.MetricDefinitionConfig.BuilderunitLabel(String unitLabel)A label for the units that the metric is measuring.MetricDefinitionConfig.BuildervalueKey(String valueKey)The value that is tracked to produce the metric.-
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
-
entityIdKey
MetricDefinitionConfig.Builder entityIdKey(String entityIdKey)
The entity, such as a user or session, that does an action that causes a metric value to be recorded. An example is
userDetails.userID.- Parameters:
entityIdKey- The entity, such as a user or session, that does an action that causes a metric value to be recorded. An example isuserDetails.userID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
eventPattern
MetricDefinitionConfig.Builder eventPattern(String eventPattern)
The EventBridge event pattern that defines how the metric is recorded.
For more information about EventBridge event patterns, see Amazon EventBridge event patterns.
- Parameters:
eventPattern- The EventBridge event pattern that defines how the metric is recorded.For more information about EventBridge event patterns, see Amazon EventBridge event patterns.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
MetricDefinitionConfig.Builder name(String name)
A name for the metric.
- Parameters:
name- A name for the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
unitLabel
MetricDefinitionConfig.Builder unitLabel(String unitLabel)
A label for the units that the metric is measuring.
- Parameters:
unitLabel- A label for the units that the metric is measuring.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
valueKey
MetricDefinitionConfig.Builder valueKey(String valueKey)
The value that is tracked to produce the metric.
- Parameters:
valueKey- The value that is tracked to produce the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-