Interface GetAnomaliesResponse.Builder

  • Method Details

    • anomalies

      A list of cost anomalies.

      Parameters:
      anomalies - A list of cost anomalies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • anomalies

      GetAnomaliesResponse.Builder anomalies(Anomaly... anomalies)

      A list of cost anomalies.

      Parameters:
      anomalies - A list of cost anomalies.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • anomalies

      A list of cost anomalies.

      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:
    • nextPageToken

      GetAnomaliesResponse.Builder nextPageToken(String nextPageToken)

      The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.

      Parameters:
      nextPageToken - The token to retrieve the next set of results. Amazon Web Services provides the token when the response from a previous call has more results than the maximum page size.
      Returns:
      Returns a reference to this object so that method calls can be chained together.