Interface GetAnomalyMonitorsResponse.Builder

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

public static interface GetAnomalyMonitorsResponse.Builder extends CostExplorerResponse.Builder, SdkPojo, CopyableBuilder<GetAnomalyMonitorsResponse.Builder,GetAnomalyMonitorsResponse>
  • Method Details

    • anomalyMonitors

      A list of cost anomaly monitors that includes the detailed metadata for each monitor.

      Parameters:
      anomalyMonitors - A list of cost anomaly monitors that includes the detailed metadata for each monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • anomalyMonitors

      GetAnomalyMonitorsResponse.Builder anomalyMonitors(AnomalyMonitor... anomalyMonitors)

      A list of cost anomaly monitors that includes the detailed metadata for each monitor.

      Parameters:
      anomalyMonitors - A list of cost anomaly monitors that includes the detailed metadata for each monitor.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • anomalyMonitors

      A list of cost anomaly monitors that includes the detailed metadata for each monitor.

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

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

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

      GetAnomalyMonitorsResponse.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.