@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnomalyDetector extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about one anomaly detector in the account.
Constructor and Description |
---|
AnomalyDetector() |
Modifier and Type | Method and Description |
---|---|
AnomalyDetector |
clone() |
boolean |
equals(Object obj) |
String |
getAnomalyDetectorArn()
The ARN of the anomaly detector.
|
String |
getAnomalyDetectorStatus()
Specifies the current status of the anomaly detector.
|
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 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()
A list of the ARNs of the log groups that this anomaly detector watches.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector.
|
void |
setAnomalyDetectorStatus(String anomalyDetectorStatus)
Specifies the current status of the anomaly detector.
|
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 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)
A list of the ARNs of the log groups that this anomaly detector watches.
|
String |
toString()
Returns a string representation of this object.
|
AnomalyDetector |
withAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector.
|
AnomalyDetector |
withAnomalyDetectorStatus(AnomalyDetectorStatus anomalyDetectorStatus)
Specifies the current status of the anomaly detector.
|
AnomalyDetector |
withAnomalyDetectorStatus(String anomalyDetectorStatus)
Specifies the current status of the anomaly detector.
|
AnomalyDetector |
withAnomalyVisibilityTime(Long anomalyVisibilityTime)
The number of days used as the life cycle of anomalies.
|
AnomalyDetector |
withCreationTimeStamp(Long creationTimeStamp)
The date and time when this anomaly detector was created.
|
AnomalyDetector |
withDetectorName(String detectorName)
The name of the anomaly detector.
|
AnomalyDetector |
withEvaluationFrequency(EvaluationFrequency evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.
|
AnomalyDetector |
withEvaluationFrequency(String evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.
|
AnomalyDetector |
withFilterPattern(String filterPattern) |
AnomalyDetector |
withKmsKeyId(String kmsKeyId)
The ID of the KMS key assigned to this anomaly detector, if any.
|
AnomalyDetector |
withLastModifiedTimeStamp(Long lastModifiedTimeStamp)
The date and time when this anomaly detector was most recently modified.
|
AnomalyDetector |
withLogGroupArnList(Collection<String> logGroupArnList)
A list of the ARNs of the log groups that this anomaly detector watches.
|
AnomalyDetector |
withLogGroupArnList(String... logGroupArnList)
A list of the ARNs of the log groups that this anomaly detector watches.
|
public void setAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector.
anomalyDetectorArn
- The ARN of the anomaly detector.public String getAnomalyDetectorArn()
The ARN of the anomaly detector.
public AnomalyDetector withAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the anomaly detector.
anomalyDetectorArn
- The ARN of the anomaly detector.public void setDetectorName(String detectorName)
The name of the anomaly detector.
detectorName
- The name of the anomaly detector.public String getDetectorName()
The name of the anomaly detector.
public AnomalyDetector withDetectorName(String detectorName)
The name of the anomaly detector.
detectorName
- The name of the anomaly detector.public List<String> getLogGroupArnList()
A list of the ARNs of the log groups that this anomaly detector watches.
public void setLogGroupArnList(Collection<String> logGroupArnList)
A list of the ARNs of the log groups that this anomaly detector watches.
logGroupArnList
- A list of the ARNs of the log groups that this anomaly detector watches.public AnomalyDetector withLogGroupArnList(String... logGroupArnList)
A list of the ARNs of the log groups that this anomaly detector watches.
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
- A list of the ARNs of the log groups that this anomaly detector watches.public AnomalyDetector withLogGroupArnList(Collection<String> logGroupArnList)
A list of the ARNs of the log groups that this anomaly detector watches.
logGroupArnList
- A list of the ARNs of the log groups that this anomaly detector watches.public void setEvaluationFrequency(String evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.
evaluationFrequency
- Specifies how often the anomaly detector runs and look for anomalies.EvaluationFrequency
public String getEvaluationFrequency()
Specifies how often the anomaly detector runs and look for anomalies.
EvaluationFrequency
public AnomalyDetector withEvaluationFrequency(String evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.
evaluationFrequency
- Specifies how often the anomaly detector runs and look for anomalies.EvaluationFrequency
public AnomalyDetector withEvaluationFrequency(EvaluationFrequency evaluationFrequency)
Specifies how often the anomaly detector runs and look for anomalies.
evaluationFrequency
- Specifies how often the anomaly detector runs and look for anomalies.EvaluationFrequency
public void setFilterPattern(String filterPattern)
filterPattern
- public String getFilterPattern()
public AnomalyDetector withFilterPattern(String filterPattern)
filterPattern
- public void setAnomalyDetectorStatus(String anomalyDetectorStatus)
Specifies the current status of the anomaly detector. To pause an anomaly detector, use the enabled
parameter in the UpdateLogAnomalyDetector operation.
anomalyDetectorStatus
- Specifies the current status of the anomaly detector. To pause an anomaly detector, use the
enabled
parameter in the UpdateLogAnomalyDetector operation.AnomalyDetectorStatus
public String getAnomalyDetectorStatus()
Specifies the current status of the anomaly detector. To pause an anomaly detector, use the enabled
parameter in the UpdateLogAnomalyDetector operation.
enabled
parameter in the UpdateLogAnomalyDetector operation.AnomalyDetectorStatus
public AnomalyDetector withAnomalyDetectorStatus(String anomalyDetectorStatus)
Specifies the current status of the anomaly detector. To pause an anomaly detector, use the enabled
parameter in the UpdateLogAnomalyDetector operation.
anomalyDetectorStatus
- Specifies the current status of the anomaly detector. To pause an anomaly detector, use the
enabled
parameter in the UpdateLogAnomalyDetector operation.AnomalyDetectorStatus
public AnomalyDetector withAnomalyDetectorStatus(AnomalyDetectorStatus anomalyDetectorStatus)
Specifies the current status of the anomaly detector. To pause an anomaly detector, use the enabled
parameter in the UpdateLogAnomalyDetector operation.
anomalyDetectorStatus
- Specifies the current status of the anomaly detector. To pause an anomaly detector, 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 AnomalyDetector 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 AnomalyDetector 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 AnomalyDetector 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 AnomalyDetector 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 AnomalyDetector clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.