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 Details

    • 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 the MetricLevelImpact.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<MetricLevelImpact>).

      Parameters:
      metricLevelImpactList - a consumer that will call methods on MetricLevelImpact.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: