Interface ListAnomaliesResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CloudWatchLogsResponse.Builder, CopyableBuilder<ListAnomaliesResponse.Builder,ListAnomaliesResponse>, SdkBuilder<ListAnomaliesResponse.Builder,ListAnomaliesResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
ListAnomaliesResponse

public static interface ListAnomaliesResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<ListAnomaliesResponse.Builder,ListAnomaliesResponse>
  • Method Details

    • anomalies

      An array of structures, where each structure contains information about one anomaly that a log anomaly detector has found.

      Parameters:
      anomalies - An array of structures, where each structure contains information about one anomaly that a log anomaly detector has found.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • anomalies

      ListAnomaliesResponse.Builder anomalies(Anomaly... anomalies)

      An array of structures, where each structure contains information about one anomaly that a log anomaly detector has found.

      Parameters:
      anomalies - An array of structures, where each structure contains information about one anomaly that a log anomaly detector has found.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • anomalies

      An array of structures, where each structure contains information about one anomaly that a log anomaly detector has found.

      This is a convenience method that creates an instance of the Anomaly.Builder avoiding the need to create one manually via Anomaly.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to anomalies(List<Anomaly>).

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

      ListAnomaliesResponse.Builder nextToken(String nextToken)
      Sets the value of the NextToken property for this object.
      Parameters:
      nextToken - The new value for the NextToken property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.