Interface MetricV2.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MetricV2.Builder,,MetricV2> SdkBuilder<MetricV2.Builder,,MetricV2> SdkPojo
- Enclosing class:
MetricV2
-
Method Summary
Modifier and TypeMethodDescriptionmetricFilters(Collection<MetricFilterV2> metricFilters) Contains the filters to be used when returning data.metricFilters(Consumer<MetricFilterV2.Builder>... metricFilters) Contains the filters to be used when returning data.metricFilters(MetricFilterV2... metricFilters) Contains the filters to be used when returning data.Historical metrics or custom metrics can be referenced via this field.The name of the metric.threshold(Collection<ThresholdV2> threshold) Contains information about the threshold for service level metrics.threshold(Consumer<ThresholdV2.Builder>... threshold) Contains information about the threshold for service level metrics.threshold(ThresholdV2... threshold) Contains information about the threshold for service level metrics.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the metric.
- Parameters:
name- The name of the metric.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threshold
Contains information about the threshold for service level metrics.
- Parameters:
threshold- Contains information about the threshold for service level metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threshold
Contains information about the threshold for service level metrics.
- Parameters:
threshold- Contains information about the threshold for service level metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
threshold
Contains information about the threshold for service level metrics.
This is a convenience method that creates an instance of theThresholdV2.Builderavoiding the need to create one manually viaThresholdV2.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tothreshold(List<ThresholdV2>).- Parameters:
threshold- a consumer that will call methods onThresholdV2.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
metricId
Historical metrics or custom metrics can be referenced via this field. This field is a valid Amazon Connect Arn or a UUID
- Parameters:
metricId- Historical metrics or custom metrics can be referenced via this field. This field is a valid Amazon Connect Arn or a UUID- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricFilters
Contains the filters to be used when returning data.
- Parameters:
metricFilters- Contains the filters to be used when returning data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricFilters
Contains the filters to be used when returning data.
- Parameters:
metricFilters- Contains the filters to be used when returning data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricFilters
Contains the filters to be used when returning data.
This is a convenience method that creates an instance of theMetricFilterV2.Builderavoiding the need to create one manually viaMetricFilterV2.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tometricFilters(List<MetricFilterV2>).- Parameters:
metricFilters- a consumer that will call methods onMetricFilterV2.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-