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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListAnomalyDetectorsResponse.BuilderanomalyDetectorSummaryList(Collection<AnomalyDetectorSummary> anomalyDetectorSummaryList)A list of anomaly detectors in the account in the current region.ListAnomalyDetectorsResponse.BuilderanomalyDetectorSummaryList(Consumer<AnomalyDetectorSummary.Builder>... anomalyDetectorSummaryList)A list of anomaly detectors in the account in the current region.ListAnomalyDetectorsResponse.BuilderanomalyDetectorSummaryList(AnomalyDetectorSummary... anomalyDetectorSummaryList)A list of anomaly detectors in the account in the current region.ListAnomalyDetectorsResponse.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
-
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.Builderavoiding the need to create one manually viaAnomalyDetectorSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#anomalyDetectorSummaryList(List.) - 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:
#anomalyDetectorSummaryList(java.util.Collection)
-
nextToken
ListAnomalyDetectorsResponse.Builder nextToken(String 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.
-
-