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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAlertsResponse.BuilderalertSummaryList(Collection<AlertSummary> alertSummaryList)Contains information about an alert.ListAlertsResponse.BuilderalertSummaryList(Consumer<AlertSummary.Builder>... alertSummaryList)Contains information about an alert.ListAlertsResponse.BuilderalertSummaryList(AlertSummary... alertSummaryList)Contains information about an alert.ListAlertsResponse.BuildernextToken(String nextToken)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 Detail
-
alertSummaryList
ListAlertsResponse.Builder alertSummaryList(Collection<AlertSummary> 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
ListAlertsResponse.Builder alertSummaryList(AlertSummary... 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
ListAlertsResponse.Builder alertSummaryList(Consumer<AlertSummary.Builder>... alertSummaryList)
Contains information about an alert.
This is a convenience method that creates an instance of theAlertSummary.Builderavoiding the need to create one manually viaAlertSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#alertSummaryList(List.) - 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:
#alertSummaryList(java.util.Collection)
-
nextToken
ListAlertsResponse.Builder nextToken(String 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.
-
-