public static interface AnomalyGroup.Builder extends SdkPojo, CopyableBuilder<AnomalyGroup.Builder,AnomalyGroup>
| Modifier and Type | Method and Description |
|---|---|
AnomalyGroup.Builder |
anomalyGroupId(String anomalyGroupId)
The ID of the anomaly group.
|
AnomalyGroup.Builder |
anomalyGroupScore(Double anomalyGroupScore)
The severity score of the group.
|
AnomalyGroup.Builder |
endTime(String endTime)
The end time for the group.
|
AnomalyGroup.Builder |
metricLevelImpactList(Collection<MetricLevelImpact> metricLevelImpactList)
A list of measures affected by the anomaly.
|
AnomalyGroup.Builder |
metricLevelImpactList(Consumer<MetricLevelImpact.Builder>... metricLevelImpactList)
A list of measures affected by the anomaly.
|
AnomalyGroup.Builder |
metricLevelImpactList(MetricLevelImpact... metricLevelImpactList)
A list of measures affected by the anomaly.
|
AnomalyGroup.Builder |
primaryMetricName(String primaryMetricName)
The name of the primary affected measure for the group.
|
AnomalyGroup.Builder |
startTime(String startTime)
The start time for the group.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildAnomalyGroup.Builder startTime(String startTime)
The start time for the group.
startTime - The start time for the group.AnomalyGroup.Builder endTime(String endTime)
The end time for the group.
endTime - The end time for the group.AnomalyGroup.Builder anomalyGroupId(String anomalyGroupId)
The ID of the anomaly group.
anomalyGroupId - The ID of the anomaly group.AnomalyGroup.Builder anomalyGroupScore(Double anomalyGroupScore)
The severity score of the group.
anomalyGroupScore - The severity score of the group.AnomalyGroup.Builder primaryMetricName(String primaryMetricName)
The name of the primary affected measure for the group.
primaryMetricName - The name of the primary affected measure for the group.AnomalyGroup.Builder metricLevelImpactList(Collection<MetricLevelImpact> metricLevelImpactList)
A list of measures affected by the anomaly.
metricLevelImpactList - A list of measures affected by the anomaly.AnomalyGroup.Builder metricLevelImpactList(MetricLevelImpact... metricLevelImpactList)
A list of measures affected by the anomaly.
metricLevelImpactList - A list of measures affected by the anomaly.AnomalyGroup.Builder metricLevelImpactList(Consumer<MetricLevelImpact.Builder>... metricLevelImpactList)
A list of measures affected by the anomaly.
This is a convenience method that creates an instance of theMetricLevelImpact.Builder avoiding the need to
create one manually via
MetricLevelImpact.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #metricLevelImpactList(List.
metricLevelImpactList - a consumer that will call methods on
MetricLevelImpact.Builder#metricLevelImpactList(java.util.Collection) Copyright © 2023. All rights reserved.