Interface DescribeAnomalyDetectorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CloudWatchResponse.Builder
,CopyableBuilder<DescribeAnomalyDetectorsResponse.Builder,
,DescribeAnomalyDetectorsResponse> SdkBuilder<DescribeAnomalyDetectorsResponse.Builder,
,DescribeAnomalyDetectorsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
DescribeAnomalyDetectorsResponse
public static interface DescribeAnomalyDetectorsResponse.Builder
extends CloudWatchResponse.Builder, SdkPojo, CopyableBuilder<DescribeAnomalyDetectorsResponse.Builder,DescribeAnomalyDetectorsResponse>
-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectors
(Collection<AnomalyDetector> anomalyDetectors) The list of anomaly detection models returned by the operation.anomalyDetectors
(Consumer<AnomalyDetector.Builder>... anomalyDetectors) The list of anomaly detection models returned by the operation.anomalyDetectors
(AnomalyDetector... anomalyDetectors) The list of anomaly detection models returned by the operation.A token that you can use in a subsequent operation to retrieve the next set of results.Methods inherited from interface software.amazon.awssdk.services.cloudwatch.model.CloudWatchResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
anomalyDetectors
DescribeAnomalyDetectorsResponse.Builder anomalyDetectors(Collection<AnomalyDetector> anomalyDetectors) The list of anomaly detection models returned by the operation.
- Parameters:
anomalyDetectors
- The list of anomaly detection models returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectors
The list of anomaly detection models returned by the operation.
- Parameters:
anomalyDetectors
- The list of anomaly detection models returned by the operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectors
DescribeAnomalyDetectorsResponse.Builder anomalyDetectors(Consumer<AnomalyDetector.Builder>... anomalyDetectors) The list of anomaly detection models returned by the operation.
This is a convenience method that creates an instance of theAnomalyDetector.Builder
avoiding the need to create one manually viaAnomalyDetector.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toanomalyDetectors(List<AnomalyDetector>)
.- Parameters:
anomalyDetectors
- a consumer that will call methods onAnomalyDetector.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
A token that you can use in a subsequent operation to retrieve the next set of results.
- Parameters:
nextToken
- A token that you can use in a subsequent operation to retrieve the next set of results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-