Interface ListAlertsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAlertsResponse.Builder,
,ListAlertsResponse> LookoutMetricsResponse.Builder
,SdkBuilder<ListAlertsResponse.Builder,
,ListAlertsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAlertsResponse
public static interface ListAlertsResponse.Builder
extends LookoutMetricsResponse.Builder, SdkPojo, CopyableBuilder<ListAlertsResponse.Builder,ListAlertsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionalertSummaryList
(Collection<AlertSummary> alertSummaryList) Contains information about an alert.alertSummaryList
(Consumer<AlertSummary.Builder>... alertSummaryList) Contains information about an alert.alertSummaryList
(AlertSummary... alertSummaryList) Contains information about an alert.If the response is truncated, the service returns this token.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.lookoutmetrics.model.LookoutMetricsResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
alertSummaryList
Contains information about an alert.
- Parameters:
alertSummaryList
- Contains information about an alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alertSummaryList
Contains information about an alert.
- Parameters:
alertSummaryList
- Contains information about an alert.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alertSummaryList
Contains information about an alert.
This is a convenience method that creates an instance of theAlertSummary.Builder
avoiding the need to create one manually viaAlertSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toalertSummaryList(List<AlertSummary>)
.- Parameters:
alertSummaryList
- a consumer that will call methods onAlertSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
If the response is truncated, the service returns this token. To retrieve the next set of results, use this token in the next request.
- Parameters:
nextToken
- If the response is truncated, the service returns this token. To retrieve the next set of results, use this token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-