Interface ReactiveAnomalySummary.Builder

    • Method Detail

      • id

        ReactiveAnomalySummary.Builder id​(String id)

        The ID of the reactive anomaly.

        Parameters:
        id - The ID of the reactive anomaly.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • severity

        ReactiveAnomalySummary.Builder severity​(String severity)

        The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.

        Parameters:
        severity - The severity of the anomaly. The severity of anomalies that generate an insight determine that insight's severity. For more information, see Understanding insight severities in the Amazon DevOps Guru User Guide.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnomalySeverity, AnomalySeverity
      • anomalyTimeRange

        ReactiveAnomalySummary.Builder anomalyTimeRange​(AnomalyTimeRange anomalyTimeRange)
        Sets the value of the AnomalyTimeRange property for this object.
        Parameters:
        anomalyTimeRange - The new value for the AnomalyTimeRange property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • anomalyReportedTimeRange

        ReactiveAnomalySummary.Builder anomalyReportedTimeRange​(AnomalyReportedTimeRange anomalyReportedTimeRange)

        An AnomalyReportedTimeRange object that specifies the time range between when the anomaly is opened and the time when it is closed.

        Parameters:
        anomalyReportedTimeRange - An AnomalyReportedTimeRange object that specifies the time range between when the anomaly is opened and the time when it is closed.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceDetails

        ReactiveAnomalySummary.Builder sourceDetails​(AnomalySourceDetails sourceDetails)

        Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.

        Parameters:
        sourceDetails - Details about the source of the analyzed operational data that triggered the anomaly. The one supported source is Amazon CloudWatch metrics.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • associatedInsightId

        ReactiveAnomalySummary.Builder associatedInsightId​(String associatedInsightId)

        The ID of the insight that contains this anomaly. An insight is composed of related anomalies.

        Parameters:
        associatedInsightId - The ID of the insight that contains this anomaly. An insight is composed of related anomalies.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • resourceCollection

        ReactiveAnomalySummary.Builder resourceCollection​(ResourceCollection resourceCollection)
        Sets the value of the ResourceCollection property for this object.
        Parameters:
        resourceCollection - The new value for the ResourceCollection property for this object.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • type

        ReactiveAnomalySummary.Builder type​(String type)

        The type of the reactive anomaly. It can be one of the following types.

        • CAUSAL - the anomaly can cause a new insight.

        • CONTEXTUAL - the anomaly contains additional information about an insight or its causal anomaly.

        Parameters:
        type - The type of the reactive anomaly. It can be one of the following types.

        • CAUSAL - the anomaly can cause a new insight.

        • CONTEXTUAL - the anomaly contains additional information about an insight or its causal anomaly.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnomalyType, AnomalyType
      • type

        ReactiveAnomalySummary.Builder type​(AnomalyType type)

        The type of the reactive anomaly. It can be one of the following types.

        • CAUSAL - the anomaly can cause a new insight.

        • CONTEXTUAL - the anomaly contains additional information about an insight or its causal anomaly.

        Parameters:
        type - The type of the reactive anomaly. It can be one of the following types.

        • CAUSAL - the anomaly can cause a new insight.

        • CONTEXTUAL - the anomaly contains additional information about an insight or its causal anomaly.

        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        AnomalyType, AnomalyType
      • name

        ReactiveAnomalySummary.Builder name​(String name)

        The name of the reactive anomaly.

        Parameters:
        name - The name of the reactive anomaly.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • description

        ReactiveAnomalySummary.Builder description​(String description)

        A description of the reactive anomaly.

        Parameters:
        description - A description of the reactive anomaly.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • causalAnomalyId

        ReactiveAnomalySummary.Builder causalAnomalyId​(String causalAnomalyId)

        The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.

        Parameters:
        causalAnomalyId - The ID of the causal anomaly that is associated with this reactive anomaly. The ID of a `CAUSAL` anomaly is always `NULL`.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • anomalyResources

        ReactiveAnomalySummary.Builder anomalyResources​(Collection<AnomalyResource> anomalyResources)

        The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.

        Parameters:
        anomalyResources - The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • anomalyResources

        ReactiveAnomalySummary.Builder anomalyResources​(AnomalyResource... anomalyResources)

        The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.

        Parameters:
        anomalyResources - The Amazon Web Services resources in which anomalous behavior was detected by DevOps Guru.
        Returns:
        Returns a reference to this object so that method calls can be chained together.