@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetLogAnomalyDetectorResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetLogAnomalyDetectorResult() |
Modifier and Type | Method and Description |
---|---|
GetLogAnomalyDetectorResult |
clone() |
boolean |
equals(Object obj) |
String |
getAnomalyDetectorStatus()
Specifies whether the anomaly detector is currently active.
|
Long |
getAnomalyVisibilityTime()
The number of days used as the life cycle of anomalies.
|
Long |
getCreationTimeStamp()
The date and time when this anomaly detector was created.
|
String |
getDetectorName()
The name of the log anomaly detector
|
String |
getEvaluationFrequency()
Specifies how often the anomaly detector runs and look for anomalies.
|
String |
getFilterPattern() |
String |
getKmsKeyId()
The ID of the KMS key assigned to this anomaly detector, if any.
|
Long |
getLastModifiedTimeStamp()
The date and time when this anomaly detector was most recently modified.
|
List<String> |
getLogGroupArnList()
An array of structures, where each structure contains the ARN of a log group associated with this anomaly
detector.
|
int |
hashCode() |
void |
setAnomalyDetectorStatus(String anomalyDetectorStatus)
Specifies whether the anomaly detector is currently active.
|
void |
setAnomalyVisibilityTime(Long anomalyVisibilityTime)
The number of days used as the life cycle of anomalies.
|
void |
setCreationTimeStamp(Long creationTimeStamp)
The date and time when this anomaly detector was created.
|
void |
setDetectorName(String detectorName)
The name of the log anomaly detector
|
void |
setEvaluationFrequency(String evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.
|
void |
setFilterPattern(String filterPattern) |
void |
setKmsKeyId(String kmsKeyId)
The ID of the KMS key assigned to this anomaly detector, if any.
|
void |
setLastModifiedTimeStamp(Long lastModifiedTimeStamp)
The date and time when this anomaly detector was most recently modified.
|
void |
setLogGroupArnList(Collection<String> logGroupArnList)
An array of structures, where each structure contains the ARN of a log group associated with this anomaly
detector.
|
String |
toString()
Returns a string representation of this object.
|
GetLogAnomalyDetectorResult |
withAnomalyDetectorStatus(AnomalyDetectorStatus anomalyDetectorStatus)
Specifies whether the anomaly detector is currently active.
|
GetLogAnomalyDetectorResult |
withAnomalyDetectorStatus(String anomalyDetectorStatus)
Specifies whether the anomaly detector is currently active.
|
GetLogAnomalyDetectorResult |
withAnomalyVisibilityTime(Long anomalyVisibilityTime)
The number of days used as the life cycle of anomalies.
|
GetLogAnomalyDetectorResult |
withCreationTimeStamp(Long creationTimeStamp)
The date and time when this anomaly detector was created.
|
GetLogAnomalyDetectorResult |
withDetectorName(String detectorName)
The name of the log anomaly detector
|
GetLogAnomalyDetectorResult |
withEvaluationFrequency(EvaluationFrequency evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.
|
GetLogAnomalyDetectorResult |
withEvaluationFrequency(String evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.
|
GetLogAnomalyDetectorResult |
withFilterPattern(String filterPattern) |
GetLogAnomalyDetectorResult |
withKmsKeyId(String kmsKeyId)
The ID of the KMS key assigned to this anomaly detector, if any.
|
GetLogAnomalyDetectorResult |
withLastModifiedTimeStamp(Long lastModifiedTimeStamp)
The date and time when this anomaly detector was most recently modified.
|
GetLogAnomalyDetectorResult |
withLogGroupArnList(Collection<String> logGroupArnList)
An array of structures, where each structure contains the ARN of a log group associated with this anomaly
detector.
|
GetLogAnomalyDetectorResult |
withLogGroupArnList(String... logGroupArnList)
An array of structures, where each structure contains the ARN of a log group associated with this anomaly
detector.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setDetectorName(String detectorName)
The name of the log anomaly detector
detectorName
- The name of the log anomaly detectorpublic String getDetectorName()
The name of the log anomaly detector
public GetLogAnomalyDetectorResult withDetectorName(String detectorName)
The name of the log anomaly detector
detectorName
- The name of the log anomaly detectorpublic List<String> getLogGroupArnList()
An array of structures, where each structure contains the ARN of a log group associated with this anomaly detector.
public void setLogGroupArnList(Collection<String> logGroupArnList)
An array of structures, where each structure contains the ARN of a log group associated with this anomaly detector.
logGroupArnList
- An array of structures, where each structure contains the ARN of a log group associated with this anomaly
detector.public GetLogAnomalyDetectorResult withLogGroupArnList(String... logGroupArnList)
An array of structures, where each structure contains the ARN of a log group associated with this anomaly detector.
NOTE: This method appends the values to the existing list (if any). Use
setLogGroupArnList(java.util.Collection)
or withLogGroupArnList(java.util.Collection)
if you
want to override the existing values.
logGroupArnList
- An array of structures, where each structure contains the ARN of a log group associated with this anomaly
detector.public GetLogAnomalyDetectorResult withLogGroupArnList(Collection<String> logGroupArnList)
An array of structures, where each structure contains the ARN of a log group associated with this anomaly detector.
logGroupArnList
- An array of structures, where each structure contains the ARN of a log group associated with this anomaly
detector.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 GetLogAnomalyDetectorResult 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 GetLogAnomalyDetectorResult 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 GetLogAnomalyDetectorResult withFilterPattern(String filterPattern)
filterPattern
- public void setAnomalyDetectorStatus(String anomalyDetectorStatus)
Specifies whether the anomaly detector is currently active. To change its status, use the enabled
parameter in the UpdateLogAnomalyDetector operation.
anomalyDetectorStatus
- Specifies whether the anomaly detector is currently active. To change its status, use the
enabled
parameter in the UpdateLogAnomalyDetector operation.AnomalyDetectorStatus
public String getAnomalyDetectorStatus()
Specifies whether the anomaly detector is currently active. To change its status, use the enabled
parameter in the UpdateLogAnomalyDetector operation.
enabled
parameter in the UpdateLogAnomalyDetector operation.AnomalyDetectorStatus
public GetLogAnomalyDetectorResult withAnomalyDetectorStatus(String anomalyDetectorStatus)
Specifies whether the anomaly detector is currently active. To change its status, use the enabled
parameter in the UpdateLogAnomalyDetector operation.
anomalyDetectorStatus
- Specifies whether the anomaly detector is currently active. To change its status, use the
enabled
parameter in the UpdateLogAnomalyDetector operation.AnomalyDetectorStatus
public GetLogAnomalyDetectorResult withAnomalyDetectorStatus(AnomalyDetectorStatus anomalyDetectorStatus)
Specifies whether the anomaly detector is currently active. To change its status, use the enabled
parameter in the UpdateLogAnomalyDetector operation.
anomalyDetectorStatus
- Specifies whether the anomaly detector is currently active. To change its status, use the
enabled
parameter in the UpdateLogAnomalyDetector operation.AnomalyDetectorStatus
public void setKmsKeyId(String kmsKeyId)
The ID of the KMS key assigned to this anomaly detector, if any.
kmsKeyId
- The ID of the KMS key assigned to this anomaly detector, if any.public String getKmsKeyId()
The ID of the KMS key assigned to this anomaly detector, if any.
public GetLogAnomalyDetectorResult withKmsKeyId(String kmsKeyId)
The ID of the KMS key assigned to this anomaly detector, if any.
kmsKeyId
- The ID of the KMS key assigned to this anomaly detector, if any.public void setCreationTimeStamp(Long creationTimeStamp)
The date and time when this anomaly detector was created.
creationTimeStamp
- The date and time when this anomaly detector was created.public Long getCreationTimeStamp()
The date and time when this anomaly detector was created.
public GetLogAnomalyDetectorResult withCreationTimeStamp(Long creationTimeStamp)
The date and time when this anomaly detector was created.
creationTimeStamp
- The date and time when this anomaly detector was created.public void setLastModifiedTimeStamp(Long lastModifiedTimeStamp)
The date and time when this anomaly detector was most recently modified.
lastModifiedTimeStamp
- The date and time when this anomaly detector was most recently modified.public Long getLastModifiedTimeStamp()
The date and time when this anomaly detector was most recently modified.
public GetLogAnomalyDetectorResult withLastModifiedTimeStamp(Long lastModifiedTimeStamp)
The date and time when this anomaly detector was most recently modified.
lastModifiedTimeStamp
- The date and time when this anomaly detector was most recently modified.public void setAnomalyVisibilityTime(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.
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.public Long getAnomalyVisibilityTime()
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.
public GetLogAnomalyDetectorResult withAnomalyVisibilityTime(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.
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.public String toString()
toString
in class Object
Object.toString()
public GetLogAnomalyDetectorResult clone()