Interface ListMetricSetsResponse.Builder

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

public static interface ListMetricSetsResponse.Builder extends LookoutMetricsResponse.Builder, SdkPojo, CopyableBuilder<ListMetricSetsResponse.Builder,ListMetricSetsResponse>
  • Method Details

    • metricSetSummaryList

      ListMetricSetsResponse.Builder metricSetSummaryList(Collection<MetricSetSummary> metricSetSummaryList)

      A list of the datasets in the AWS Region, with configuration details for each.

      Parameters:
      metricSetSummaryList - A list of the datasets in the AWS Region, with configuration details for each.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricSetSummaryList

      ListMetricSetsResponse.Builder metricSetSummaryList(MetricSetSummary... metricSetSummaryList)

      A list of the datasets in the AWS Region, with configuration details for each.

      Parameters:
      metricSetSummaryList - A list of the datasets in the AWS Region, with configuration details for each.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • metricSetSummaryList

      ListMetricSetsResponse.Builder metricSetSummaryList(Consumer<MetricSetSummary.Builder>... metricSetSummaryList)

      A list of the datasets in the AWS Region, with configuration details for each.

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

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

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

      ListMetricSetsResponse.Builder nextToken(String nextToken)

      If the response is truncated, the list call returns this token. To retrieve the next set of results, use the token in the next list request.

      Parameters:
      nextToken - If the response is truncated, the list call returns this token. To retrieve the next set of results, use the token in the next list request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.