Interface ListAnomalyDetectorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListAnomalyDetectorsResponse.Builder,
,ListAnomalyDetectorsResponse> LookoutMetricsResponse.Builder
,SdkBuilder<ListAnomalyDetectorsResponse.Builder,
,ListAnomalyDetectorsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListAnomalyDetectorsResponse
public static interface ListAnomalyDetectorsResponse.Builder
extends LookoutMetricsResponse.Builder, SdkPojo, CopyableBuilder<ListAnomalyDetectorsResponse.Builder,ListAnomalyDetectorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectorSummaryList
(Collection<AnomalyDetectorSummary> anomalyDetectorSummaryList) A list of anomaly detectors in the account in the current region.anomalyDetectorSummaryList
(Consumer<AnomalyDetectorSummary.Builder>... anomalyDetectorSummaryList) A list of anomaly detectors in the account in the current region.anomalyDetectorSummaryList
(AnomalyDetectorSummary... anomalyDetectorSummaryList) A list of anomaly detectors in the account in the current region.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
-
anomalyDetectorSummaryList
ListAnomalyDetectorsResponse.Builder anomalyDetectorSummaryList(Collection<AnomalyDetectorSummary> anomalyDetectorSummaryList) A list of anomaly detectors in the account in the current region.
- Parameters:
anomalyDetectorSummaryList
- A list of anomaly detectors in the account in the current region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorSummaryList
ListAnomalyDetectorsResponse.Builder anomalyDetectorSummaryList(AnomalyDetectorSummary... anomalyDetectorSummaryList) A list of anomaly detectors in the account in the current region.
- Parameters:
anomalyDetectorSummaryList
- A list of anomaly detectors in the account in the current region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorSummaryList
ListAnomalyDetectorsResponse.Builder anomalyDetectorSummaryList(Consumer<AnomalyDetectorSummary.Builder>... anomalyDetectorSummaryList) A list of anomaly detectors in the account in the current region.
This is a convenience method that creates an instance of theAnomalyDetectorSummary.Builder
avoiding the need to create one manually viaAnomalyDetectorSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanomalyDetectorSummaryList(List<AnomalyDetectorSummary>)
.- Parameters:
anomalyDetectorSummaryList
- a consumer that will call methods onAnomalyDetectorSummary.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 the 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 the token in the next request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-