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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescribeAnomalyDetectorsResponse.BuilderanomalyDetectors(Collection<AnomalyDetector> anomalyDetectors)The list of anomaly detection models returned by the operation.DescribeAnomalyDetectorsResponse.BuilderanomalyDetectors(Consumer<AnomalyDetector.Builder>... anomalyDetectors)The list of anomaly detection models returned by the operation.DescribeAnomalyDetectorsResponse.BuilderanomalyDetectors(AnomalyDetector... anomalyDetectors)The list of anomaly detection models returned by the operation.DescribeAnomalyDetectorsResponse.BuildernextToken(String nextToken)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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
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
DescribeAnomalyDetectorsResponse.Builder anomalyDetectors(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
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 to#anomalyDetectors(List.) - 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:
#anomalyDetectors(java.util.Collection)
-
nextToken
DescribeAnomalyDetectorsResponse.Builder nextToken(String 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.
-
-