Interface DescribeAnomalyDetectorsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchResponse.Builder,CopyableBuilder<DescribeAnomalyDetectorsResponse.Builder,,DescribeAnomalyDetectorsResponse> SdkBuilder<DescribeAnomalyDetectorsResponse.Builder,,DescribeAnomalyDetectorsResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
DescribeAnomalyDetectorsResponse
@Mutable
@NotThreadSafe
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, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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.Builderavoiding the need to create one manually viaAnomalyDetector.builder().When the
Consumercompletes,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.
-