Interface AnomalyDetector.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AnomalyDetector.Builder,AnomalyDetector>
,SdkBuilder<AnomalyDetector.Builder,AnomalyDetector>
,SdkPojo
- Enclosing class:
- AnomalyDetector
public static interface AnomalyDetector.Builder extends SdkPojo, CopyableBuilder<AnomalyDetector.Builder,AnomalyDetector>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AnomalyDetector.Builder
anomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector.AnomalyDetector.Builder
anomalyDetectorStatus(String anomalyDetectorStatus)
Specifies the current status of the anomaly detector.AnomalyDetector.Builder
anomalyDetectorStatus(AnomalyDetectorStatus anomalyDetectorStatus)
Specifies the current status of the anomaly detector.AnomalyDetector.Builder
anomalyVisibilityTime(Long anomalyVisibilityTime)
The number of days used as the life cycle of anomalies.AnomalyDetector.Builder
creationTimeStamp(Long creationTimeStamp)
The date and time when this anomaly detector was created.AnomalyDetector.Builder
detectorName(String detectorName)
The name of the anomaly detector.AnomalyDetector.Builder
evaluationFrequency(String evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.AnomalyDetector.Builder
evaluationFrequency(EvaluationFrequency evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.AnomalyDetector.Builder
filterPattern(String filterPattern)
Sets the value of the FilterPattern property for this object.AnomalyDetector.Builder
kmsKeyId(String kmsKeyId)
The ID of the KMS key assigned to this anomaly detector, if any.AnomalyDetector.Builder
lastModifiedTimeStamp(Long lastModifiedTimeStamp)
The date and time when this anomaly detector was most recently modified.AnomalyDetector.Builder
logGroupArnList(String... logGroupArnList)
A list of the ARNs of the log groups that this anomaly detector watches.AnomalyDetector.Builder
logGroupArnList(Collection<String> logGroupArnList)
A list of the ARNs of the log groups that this anomaly detector watches.-
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
-
-
-
-
Method Detail
-
anomalyDetectorArn
AnomalyDetector.Builder anomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector.
- Parameters:
anomalyDetectorArn
- The ARN of the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
detectorName
AnomalyDetector.Builder detectorName(String detectorName)
The name of the anomaly detector.
- Parameters:
detectorName
- The name of the anomaly detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupArnList
AnomalyDetector.Builder logGroupArnList(Collection<String> logGroupArnList)
A list of the ARNs of the log groups that this anomaly detector watches.
- Parameters:
logGroupArnList
- A list of the ARNs of the log groups that this anomaly detector watches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logGroupArnList
AnomalyDetector.Builder logGroupArnList(String... logGroupArnList)
A list of the ARNs of the log groups that this anomaly detector watches.
- Parameters:
logGroupArnList
- A list of the ARNs of the log groups that this anomaly detector watches.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
evaluationFrequency
AnomalyDetector.Builder evaluationFrequency(String evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.
- Parameters:
evaluationFrequency
- Specifies how often the anomaly detector runs and look for anomalies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EvaluationFrequency
,EvaluationFrequency
-
evaluationFrequency
AnomalyDetector.Builder evaluationFrequency(EvaluationFrequency evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.
- Parameters:
evaluationFrequency
- Specifies how often the anomaly detector runs and look for anomalies.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
EvaluationFrequency
,EvaluationFrequency
-
filterPattern
AnomalyDetector.Builder filterPattern(String 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.
-
anomalyDetectorStatus
AnomalyDetector.Builder anomalyDetectorStatus(String anomalyDetectorStatus)
Specifies the current status of the anomaly detector. To pause an anomaly detector, use the
enabled
parameter in the UpdateLogAnomalyDetector operation.- Parameters:
anomalyDetectorStatus
- Specifies the current status of the anomaly detector. To pause an anomaly detector, use theenabled
parameter in the UpdateLogAnomalyDetector operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnomalyDetectorStatus
,AnomalyDetectorStatus
-
anomalyDetectorStatus
AnomalyDetector.Builder anomalyDetectorStatus(AnomalyDetectorStatus anomalyDetectorStatus)
Specifies the current status of the anomaly detector. To pause an anomaly detector, use the
enabled
parameter in the UpdateLogAnomalyDetector operation.- Parameters:
anomalyDetectorStatus
- Specifies the current status of the anomaly detector. To pause an anomaly detector, use theenabled
parameter in the UpdateLogAnomalyDetector operation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AnomalyDetectorStatus
,AnomalyDetectorStatus
-
kmsKeyId
AnomalyDetector.Builder kmsKeyId(String kmsKeyId)
The ID of the KMS key assigned to this anomaly detector, if any.
- Parameters:
kmsKeyId
- The ID of the KMS key assigned to this anomaly detector, if any.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creationTimeStamp
AnomalyDetector.Builder creationTimeStamp(Long creationTimeStamp)
The date and time when this anomaly detector was created.
- Parameters:
creationTimeStamp
- The date and time when this anomaly detector was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedTimeStamp
AnomalyDetector.Builder lastModifiedTimeStamp(Long lastModifiedTimeStamp)
The date and time when this anomaly detector was most recently modified.
- Parameters:
lastModifiedTimeStamp
- The date and time when this anomaly detector was most recently modified.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
anomalyVisibilityTime
AnomalyDetector.Builder anomalyVisibilityTime(Long anomalyVisibilityTime)
The number of days used 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.
- Parameters:
anomalyVisibilityTime
- The number of days used 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-