@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateLogAnomalyDetectorRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateLogAnomalyDetectorRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateLogAnomalyDetectorRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAnomalyDetectorArn()
The ARN of the anomaly detector that you want to update.
|
Long |
getAnomalyVisibilityTime()
The number of days to use as the life cycle of anomalies.
|
Boolean |
getEnabled()
Use this parameter to pause or restart the anomaly detector.
|
String |
getEvaluationFrequency()
Specifies how often the anomaly detector runs and look for anomalies.
|
String |
getFilterPattern() |
int |
hashCode() |
Boolean |
isEnabled()
Use this parameter to pause or restart the anomaly detector.
|
void |
setAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector that you want to update.
|
void |
setAnomalyVisibilityTime(Long anomalyVisibilityTime)
The number of days to use as the life cycle of anomalies.
|
void |
setEnabled(Boolean enabled)
Use this parameter to pause or restart the anomaly detector.
|
void |
setEvaluationFrequency(String evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.
|
void |
setFilterPattern(String filterPattern) |
String |
toString()
Returns a string representation of this object.
|
UpdateLogAnomalyDetectorRequest |
withAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector that you want to update.
|
UpdateLogAnomalyDetectorRequest |
withAnomalyVisibilityTime(Long anomalyVisibilityTime)
The number of days to use as the life cycle of anomalies.
|
UpdateLogAnomalyDetectorRequest |
withEnabled(Boolean enabled)
Use this parameter to pause or restart the anomaly detector.
|
UpdateLogAnomalyDetectorRequest |
withEvaluationFrequency(EvaluationFrequency evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.
|
UpdateLogAnomalyDetectorRequest |
withEvaluationFrequency(String evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.
|
UpdateLogAnomalyDetectorRequest |
withFilterPattern(String filterPattern) |
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector that you want to update.
anomalyDetectorArn
- The ARN of the anomaly detector that you want to update.public String getAnomalyDetectorArn()
The ARN of the anomaly detector that you want to update.
public UpdateLogAnomalyDetectorRequest withAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector that you want to update.
anomalyDetectorArn
- The ARN of the anomaly detector that you want to update.public void setEvaluationFrequency(String 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
to FIFTEEN_MIN
might be appropriate.
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
to FIFTEEN_MIN
might be
appropriate.EvaluationFrequency
public String getEvaluationFrequency()
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
to FIFTEEN_MIN
might be appropriate.
evaluationFrequency
to FIFTEEN_MIN
might be
appropriate.EvaluationFrequency
public UpdateLogAnomalyDetectorRequest withEvaluationFrequency(String 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
to FIFTEEN_MIN
might be appropriate.
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
to FIFTEEN_MIN
might be
appropriate.EvaluationFrequency
public UpdateLogAnomalyDetectorRequest withEvaluationFrequency(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
to FIFTEEN_MIN
might be appropriate.
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
to FIFTEEN_MIN
might be
appropriate.EvaluationFrequency
public void setFilterPattern(String filterPattern)
filterPattern
- public String getFilterPattern()
public UpdateLogAnomalyDetectorRequest withFilterPattern(String filterPattern)
filterPattern
- public void setAnomalyVisibilityTime(Long 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.
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.public Long getAnomalyVisibilityTime()
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.
public UpdateLogAnomalyDetectorRequest withAnomalyVisibilityTime(Long 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.
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.public void setEnabled(Boolean enabled)
Use this parameter to pause or restart the anomaly detector.
enabled
- Use this parameter to pause or restart the anomaly detector.public Boolean getEnabled()
Use this parameter to pause or restart the anomaly detector.
public UpdateLogAnomalyDetectorRequest withEnabled(Boolean enabled)
Use this parameter to pause or restart the anomaly detector.
enabled
- Use this parameter to pause or restart the anomaly detector.public Boolean isEnabled()
Use this parameter to pause or restart the anomaly detector.
public String toString()
toString
in class Object
Object.toString()
public UpdateLogAnomalyDetectorRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()