@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnomalyDetectorSummary extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about an an anomaly detector.
Constructor and Description |
---|
AnomalyDetectorSummary() |
Modifier and Type | Method and Description |
---|---|
AnomalyDetectorSummary |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
AnomalyDetectorSummary |
clearTagsEntries()
Removes all the entries added into Tags.
|
AnomalyDetectorSummary |
clone() |
boolean |
equals(Object obj) |
String |
getAnomalyDetectorArn()
The ARN of the detector.
|
String |
getAnomalyDetectorDescription()
A description of the detector.
|
String |
getAnomalyDetectorName()
The name of the detector.
|
Date |
getCreationTime()
The time at which the detector was created.
|
Date |
getLastModificationTime()
The time at which the detector was last modified.
|
String |
getStatus()
The status of detector.
|
Map<String,String> |
getTags()
The detector's tags.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the detector.
|
void |
setAnomalyDetectorDescription(String anomalyDetectorDescription)
A description of the detector.
|
void |
setAnomalyDetectorName(String anomalyDetectorName)
The name of the detector.
|
void |
setCreationTime(Date creationTime)
The time at which the detector was created.
|
void |
setLastModificationTime(Date lastModificationTime)
The time at which the detector was last modified.
|
void |
setStatus(String status)
The status of detector.
|
void |
setTags(Map<String,String> tags)
The detector's tags.
|
String |
toString()
Returns a string representation of this object.
|
AnomalyDetectorSummary |
withAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the detector.
|
AnomalyDetectorSummary |
withAnomalyDetectorDescription(String anomalyDetectorDescription)
A description of the detector.
|
AnomalyDetectorSummary |
withAnomalyDetectorName(String anomalyDetectorName)
The name of the detector.
|
AnomalyDetectorSummary |
withCreationTime(Date creationTime)
The time at which the detector was created.
|
AnomalyDetectorSummary |
withLastModificationTime(Date lastModificationTime)
The time at which the detector was last modified.
|
AnomalyDetectorSummary |
withStatus(AnomalyDetectorStatus status)
The status of detector.
|
AnomalyDetectorSummary |
withStatus(String status)
The status of detector.
|
AnomalyDetectorSummary |
withTags(Map<String,String> tags)
The detector's tags.
|
public void setAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the detector.
anomalyDetectorArn
- The ARN of the detector.public String getAnomalyDetectorArn()
The ARN of the detector.
public AnomalyDetectorSummary withAnomalyDetectorArn(String anomalyDetectorArn)
The ARN of the detector.
anomalyDetectorArn
- The ARN of the detector.public void setAnomalyDetectorName(String anomalyDetectorName)
The name of the detector.
anomalyDetectorName
- The name of the detector.public String getAnomalyDetectorName()
The name of the detector.
public AnomalyDetectorSummary withAnomalyDetectorName(String anomalyDetectorName)
The name of the detector.
anomalyDetectorName
- The name of the detector.public void setAnomalyDetectorDescription(String anomalyDetectorDescription)
A description of the detector.
anomalyDetectorDescription
- A description of the detector.public String getAnomalyDetectorDescription()
A description of the detector.
public AnomalyDetectorSummary withAnomalyDetectorDescription(String anomalyDetectorDescription)
A description of the detector.
anomalyDetectorDescription
- A description of the detector.public void setCreationTime(Date creationTime)
The time at which the detector was created.
creationTime
- The time at which the detector was created.public Date getCreationTime()
The time at which the detector was created.
public AnomalyDetectorSummary withCreationTime(Date creationTime)
The time at which the detector was created.
creationTime
- The time at which the detector was created.public void setLastModificationTime(Date lastModificationTime)
The time at which the detector was last modified.
lastModificationTime
- The time at which the detector was last modified.public Date getLastModificationTime()
The time at which the detector was last modified.
public AnomalyDetectorSummary withLastModificationTime(Date lastModificationTime)
The time at which the detector was last modified.
lastModificationTime
- The time at which the detector was last modified.public void setStatus(String status)
The status of detector.
status
- The status of detector.AnomalyDetectorStatus
public String getStatus()
The status of detector.
AnomalyDetectorStatus
public AnomalyDetectorSummary withStatus(String status)
The status of detector.
status
- The status of detector.AnomalyDetectorStatus
public AnomalyDetectorSummary withStatus(AnomalyDetectorStatus status)
The status of detector.
status
- The status of detector.AnomalyDetectorStatus
public void setTags(Map<String,String> tags)
The detector's tags.
tags
- The detector's tags.public AnomalyDetectorSummary withTags(Map<String,String> tags)
The detector's tags.
tags
- The detector's tags.public AnomalyDetectorSummary addTagsEntry(String key, String value)
public AnomalyDetectorSummary clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public AnomalyDetectorSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.