Interface AnomalyDetectorDescription.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AnomalyDetectorDescription.Builder,,AnomalyDetectorDescription> SdkBuilder<AnomalyDetectorDescription.Builder,,AnomalyDetectorDescription> SdkPojo
- Enclosing class:
AnomalyDetectorDescription
-
Method Summary
Modifier and TypeMethodDescriptionThe user-friendly name of the anomaly detector.anomalyDetectorId(String anomalyDetectorId) The unique identifier of the anomaly detector.The Amazon Resource Name (ARN) of the anomaly detector.configuration(Consumer<AnomalyDetectorConfiguration.Builder> configuration) The algorithm configuration of the anomaly detector.configuration(AnomalyDetectorConfiguration configuration) The algorithm configuration of the anomaly detector.The timestamp when the anomaly detector was created.evaluationIntervalInSeconds(Integer evaluationIntervalInSeconds) The frequency, in seconds, at which the anomaly detector evaluates metrics.The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.missingDataAction(Consumer<AnomalyDetectorMissingDataAction.Builder> missingDataAction) The action taken when data is missing during evaluation.missingDataAction(AnomalyDetectorMissingDataAction missingDataAction) The action taken when data is missing during evaluation.modifiedAt(Instant modifiedAt) The timestamp when the anomaly detector was last modified.status(Consumer<AnomalyDetectorStatus.Builder> status) The current status of the anomaly detector.status(AnomalyDetectorStatus status) The current status of the anomaly detector.The tags applied to the anomaly detector.Methods 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, sdkFields
-
Method Details
-
arn
The Amazon Resource Name (ARN) of the anomaly detector.
- Parameters:
arn- The Amazon Resource Name (ARN) of the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyDetectorId
The unique identifier of the anomaly detector.
- Parameters:
anomalyDetectorId- The unique identifier of the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
alias
The user-friendly name of the anomaly detector.
- Parameters:
alias- The user-friendly name of the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationIntervalInSeconds
The frequency, in seconds, at which the anomaly detector evaluates metrics.
- Parameters:
evaluationIntervalInSeconds- The frequency, in seconds, at which the anomaly detector evaluates metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
missingDataAction
AnomalyDetectorDescription.Builder missingDataAction(AnomalyDetectorMissingDataAction missingDataAction) The action taken when data is missing during evaluation.
- Parameters:
missingDataAction- The action taken when data is missing during evaluation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
missingDataAction
default AnomalyDetectorDescription.Builder missingDataAction(Consumer<AnomalyDetectorMissingDataAction.Builder> missingDataAction) The action taken when data is missing during evaluation.
This is a convenience method that creates an instance of theAnomalyDetectorMissingDataAction.Builderavoiding the need to create one manually viaAnomalyDetectorMissingDataAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomissingDataAction(AnomalyDetectorMissingDataAction).- Parameters:
missingDataAction- a consumer that will call methods onAnomalyDetectorMissingDataAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
configuration
The algorithm configuration of the anomaly detector.
- Parameters:
configuration- The algorithm configuration of the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default AnomalyDetectorDescription.Builder configuration(Consumer<AnomalyDetectorConfiguration.Builder> configuration) The algorithm configuration of the anomaly detector.
This is a convenience method that creates an instance of theAnomalyDetectorConfiguration.Builderavoiding the need to create one manually viaAnomalyDetectorConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(AnomalyDetectorConfiguration).- Parameters:
configuration- a consumer that will call methods onAnomalyDetectorConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
labels
The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.
- Parameters:
labels- The Amazon Managed Service for Prometheus metric labels associated with the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the anomaly detector.
- Parameters:
status- The current status of the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
The current status of the anomaly detector.
This is a convenience method that creates an instance of theAnomalyDetectorStatus.Builderavoiding the need to create one manually viaAnomalyDetectorStatus.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostatus(AnomalyDetectorStatus).- Parameters:
status- a consumer that will call methods onAnomalyDetectorStatus.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdAt
The timestamp when the anomaly detector was created.
- Parameters:
createdAt- The timestamp when the anomaly detector was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
modifiedAt
The timestamp when the anomaly detector was last modified.
- Parameters:
modifiedAt- The timestamp when the anomaly detector was last modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags applied to the anomaly detector.
- Parameters:
tags- The tags applied to the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-