public static interface MetricV2.Builder extends SdkPojo, CopyableBuilder<MetricV2.Builder,MetricV2>
| Modifier and Type | Method and Description |
|---|---|
MetricV2.Builder |
metricFilters(Collection<MetricFilterV2> metricFilters)
Contains the filters to be used when returning data.
|
MetricV2.Builder |
metricFilters(Consumer<MetricFilterV2.Builder>... metricFilters)
Contains the filters to be used when returning data.
|
MetricV2.Builder |
metricFilters(MetricFilterV2... metricFilters)
Contains the filters to be used when returning data.
|
MetricV2.Builder |
name(String name)
The name of the metric.
|
MetricV2.Builder |
threshold(Collection<ThresholdV2> threshold)
Contains information about the threshold for service level metrics.
|
MetricV2.Builder |
threshold(Consumer<ThresholdV2.Builder>... threshold)
Contains information about the threshold for service level metrics.
|
MetricV2.Builder |
threshold(ThresholdV2... threshold)
Contains information about the threshold for service level metrics.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildMetricV2.Builder name(String name)
The name of the metric.
This parameter is required. The following Required = No is incorrect.
name - The name of the metric. This parameter is required. The following Required = No is incorrect.
MetricV2.Builder threshold(Collection<ThresholdV2> threshold)
Contains information about the threshold for service level metrics.
threshold - Contains information about the threshold for service level metrics.MetricV2.Builder threshold(ThresholdV2... threshold)
Contains information about the threshold for service level metrics.
threshold - Contains information about the threshold for service level metrics.MetricV2.Builder threshold(Consumer<ThresholdV2.Builder>... threshold)
Contains information about the threshold for service level metrics.
This is a convenience method that creates an instance of theThresholdV2.Builder avoiding the need to create one
manually via ThresholdV2.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately and
its result is passed to #threshold(List.
threshold - a consumer that will call methods on
ThresholdV2.Builder#threshold(java.util.Collection) MetricV2.Builder metricFilters(Collection<MetricFilterV2> metricFilters)
Contains the filters to be used when returning data.
metricFilters - Contains the filters to be used when returning data.MetricV2.Builder metricFilters(MetricFilterV2... metricFilters)
Contains the filters to be used when returning data.
metricFilters - Contains the filters to be used when returning data.MetricV2.Builder metricFilters(Consumer<MetricFilterV2.Builder>... metricFilters)
Contains the filters to be used when returning data.
This is a convenience method that creates an instance of theMetricFilterV2.Builder avoiding the need to create one
manually via MetricFilterV2.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #metricFilters(List.
metricFilters - a consumer that will call methods on
MetricFilterV2.Builder#metricFilters(java.util.Collection) Copyright © 2023. All rights reserved.