Interface AnomalyGroup.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AnomalyGroup.Builder,AnomalyGroup>,SdkBuilder<AnomalyGroup.Builder,AnomalyGroup>,SdkPojo
- Enclosing class:
- AnomalyGroup
public static interface AnomalyGroup.Builder extends SdkPojo, CopyableBuilder<AnomalyGroup.Builder,AnomalyGroup>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnomalyGroup.BuilderanomalyGroupId(String anomalyGroupId)The ID of the anomaly group.AnomalyGroup.BuilderanomalyGroupScore(Double anomalyGroupScore)The severity score of the group.AnomalyGroup.BuilderendTime(String endTime)The end time for the group.AnomalyGroup.BuildermetricLevelImpactList(Collection<MetricLevelImpact> metricLevelImpactList)A list of measures affected by the anomaly.AnomalyGroup.BuildermetricLevelImpactList(Consumer<MetricLevelImpact.Builder>... metricLevelImpactList)A list of measures affected by the anomaly.AnomalyGroup.BuildermetricLevelImpactList(MetricLevelImpact... metricLevelImpactList)A list of measures affected by the anomaly.AnomalyGroup.BuilderprimaryMetricName(String primaryMetricName)The name of the primary affected measure for the group.AnomalyGroup.BuilderstartTime(String startTime)The start time for the group.-
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 Detail
-
startTime
AnomalyGroup.Builder startTime(String startTime)
The start time for the group.
- Parameters:
startTime- The start time for the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endTime
AnomalyGroup.Builder endTime(String endTime)
The end time for the group.
- Parameters:
endTime- The end time for the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyGroupId
AnomalyGroup.Builder anomalyGroupId(String anomalyGroupId)
The ID of the anomaly group.
- Parameters:
anomalyGroupId- The ID of the anomaly group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyGroupScore
AnomalyGroup.Builder anomalyGroupScore(Double anomalyGroupScore)
The severity score of the group.
- Parameters:
anomalyGroupScore- The severity score of the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
primaryMetricName
AnomalyGroup.Builder primaryMetricName(String primaryMetricName)
The name of the primary affected measure for the group.
- Parameters:
primaryMetricName- The name of the primary affected measure for the group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricLevelImpactList
AnomalyGroup.Builder metricLevelImpactList(Collection<MetricLevelImpact> metricLevelImpactList)
A list of measures affected by the anomaly.
- Parameters:
metricLevelImpactList- A list of measures affected by the anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricLevelImpactList
AnomalyGroup.Builder metricLevelImpactList(MetricLevelImpact... metricLevelImpactList)
A list of measures affected by the anomaly.
- Parameters:
metricLevelImpactList- A list of measures affected by the anomaly.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
metricLevelImpactList
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.Builderavoiding the need to create one manually viaMetricLevelImpact.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#metricLevelImpactList(List.) - Parameters:
metricLevelImpactList- a consumer that will call methods onMetricLevelImpact.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#metricLevelImpactList(java.util.Collection)
-
-