Interface AnomalyInstance.Builder

    • Method Detail

      • endTime

        AnomalyInstance.Builder endTime​(Instant endTime)

        The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

        Parameters:
        endTime - The end time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • id

        AnomalyInstance.Builder id​(String id)

        The universally unique identifier (UUID) of an instance of an anomaly in a metric.

        Parameters:
        id - The universally unique identifier (UUID) of an instance of an anomaly in a metric.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • startTime

        AnomalyInstance.Builder startTime​(Instant startTime)

        The start time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.

        Parameters:
        startTime - The start time of the period during which the metric is flagged as anomalous. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • userFeedback

        AnomalyInstance.Builder userFeedback​(UserFeedback userFeedback)

        Feedback type on a specific instance of anomaly submitted by the user.

        Parameters:
        userFeedback - Feedback type on a specific instance of anomaly submitted by the user.
        Returns:
        Returns a reference to this object so that method calls can be chained together.