Interface UpdateLogAnomalyDetectorRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CloudWatchLogsRequest.Builder
,CopyableBuilder<UpdateLogAnomalyDetectorRequest.Builder,
,UpdateLogAnomalyDetectorRequest> SdkBuilder<UpdateLogAnomalyDetectorRequest.Builder,
,UpdateLogAnomalyDetectorRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateLogAnomalyDetectorRequest
-
Method Summary
Modifier and TypeMethodDescriptionanomalyDetectorArn
(String anomalyDetectorArn) The ARN of the anomaly detector that you want to update.anomalyVisibilityTime
(Long anomalyVisibilityTime) The number of days to use as the life cycle of anomalies.Use this parameter to pause or restart the anomaly detector.evaluationFrequency
(String evaluationFrequency) Specifies how often the anomaly detector runs and look for anomalies.evaluationFrequency
(EvaluationFrequency evaluationFrequency) Specifies how often the anomaly detector runs and look for anomalies.filterPattern
(String filterPattern) Sets the value of the FilterPattern property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.services.cloudwatchlogs.model.CloudWatchLogsRequest.Builder
build
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
-
Method Details
-
anomalyDetectorArn
The ARN of the anomaly detector that you want to update.
- Parameters:
anomalyDetectorArn
- The ARN of the anomaly detector that you want to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationFrequency
Specifies how often the anomaly detector runs and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then setting
evaluationFrequency
toFIFTEEN_MIN
might be appropriate.- Parameters:
evaluationFrequency
- Specifies how often the anomaly detector runs and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then settingevaluationFrequency
toFIFTEEN_MIN
might be appropriate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
evaluationFrequency
UpdateLogAnomalyDetectorRequest.Builder evaluationFrequency(EvaluationFrequency evaluationFrequency) Specifies how often the anomaly detector runs and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then setting
evaluationFrequency
toFIFTEEN_MIN
might be appropriate.- Parameters:
evaluationFrequency
- Specifies how often the anomaly detector runs and look for anomalies. Set this value according to the frequency that the log group receives new logs. For example, if the log group receives new log events every 10 minutes, then settingevaluationFrequency
toFIFTEEN_MIN
might be appropriate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
filterPattern
Sets the value of the FilterPattern property for this object.- Parameters:
filterPattern
- The new value for the FilterPattern property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyVisibilityTime
The number of days to use as the life cycle of anomalies. After this time, anomalies are automatically baselined and the anomaly detector model will treat new occurrences of similar event as normal. Therefore, if you do not correct the cause of an anomaly during this time, it will be considered normal going forward and will not be detected.
- Parameters:
anomalyVisibilityTime
- The number of days to use as the life cycle of anomalies. After this time, anomalies are automatically baselined and the anomaly detector model will treat new occurrences of similar event as normal. Therefore, if you do not correct the cause of an anomaly during this time, it will be considered normal going forward and will not be detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enabled
Use this parameter to pause or restart the anomaly detector.
- Parameters:
enabled
- Use this parameter to pause or restart the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UpdateLogAnomalyDetectorRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
UpdateLogAnomalyDetectorRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-