Interface ListLogAnomalyDetectorsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CloudWatchLogsResponse.Builder,CopyableBuilder<ListLogAnomalyDetectorsResponse.Builder,ListLogAnomalyDetectorsResponse>,SdkBuilder<ListLogAnomalyDetectorsResponse.Builder,ListLogAnomalyDetectorsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- ListLogAnomalyDetectorsResponse
public static interface ListLogAnomalyDetectorsResponse.Builder extends CloudWatchLogsResponse.Builder, SdkPojo, CopyableBuilder<ListLogAnomalyDetectorsResponse.Builder,ListLogAnomalyDetectorsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ListLogAnomalyDetectorsResponse.BuilderanomalyDetectors(Collection<AnomalyDetector> anomalyDetectors)An array of structures, where each structure in the array contains information about one anomaly detector.ListLogAnomalyDetectorsResponse.BuilderanomalyDetectors(Consumer<AnomalyDetector.Builder>... anomalyDetectors)An array of structures, where each structure in the array contains information about one anomaly detector.ListLogAnomalyDetectorsResponse.BuilderanomalyDetectors(AnomalyDetector... anomalyDetectors)An array of structures, where each structure in the array contains information about one anomaly detector.ListLogAnomalyDetectorsResponse.BuildernextToken(String nextToken)Sets the value of the NextToken property for this object.-
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsResponse.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 Detail
-
anomalyDetectors
ListLogAnomalyDetectorsResponse.Builder anomalyDetectors(Collection<AnomalyDetector> anomalyDetectors)
An array of structures, where each structure in the array contains information about one anomaly detector.
- Parameters:
anomalyDetectors- An array of structures, where each structure in the array contains information about one anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectors
ListLogAnomalyDetectorsResponse.Builder anomalyDetectors(AnomalyDetector... anomalyDetectors)
An array of structures, where each structure in the array contains information about one anomaly detector.
- Parameters:
anomalyDetectors- An array of structures, where each structure in the array contains information about one anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectors
ListLogAnomalyDetectorsResponse.Builder anomalyDetectors(Consumer<AnomalyDetector.Builder>... anomalyDetectors)
An array of structures, where each structure in the array contains information about one anomaly detector.
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
ListLogAnomalyDetectorsResponse.Builder nextToken(String nextToken)
Sets the value of the NextToken property for this object.- Parameters:
nextToken- The new value for the NextToken property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-