@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AnomalyGroup extends Object implements Serializable, Cloneable, StructuredPojo
A group of anomalous metrics
Constructor and Description |
---|
AnomalyGroup() |
Modifier and Type | Method and Description |
---|---|
AnomalyGroup |
clone() |
boolean |
equals(Object obj) |
String |
getAnomalyGroupId()
The ID of the anomaly group.
|
Double |
getAnomalyGroupScore()
The severity score of the group.
|
String |
getEndTime()
The end time for the group.
|
List<MetricLevelImpact> |
getMetricLevelImpactList()
A list of measures affected by the anomaly.
|
String |
getPrimaryMetricName()
The name of the primary affected measure for the group.
|
String |
getStartTime()
The start time for the group.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAnomalyGroupId(String anomalyGroupId)
The ID of the anomaly group.
|
void |
setAnomalyGroupScore(Double anomalyGroupScore)
The severity score of the group.
|
void |
setEndTime(String endTime)
The end time for the group.
|
void |
setMetricLevelImpactList(Collection<MetricLevelImpact> metricLevelImpactList)
A list of measures affected by the anomaly.
|
void |
setPrimaryMetricName(String primaryMetricName)
The name of the primary affected measure for the group.
|
void |
setStartTime(String startTime)
The start time for the group.
|
String |
toString()
Returns a string representation of this object.
|
AnomalyGroup |
withAnomalyGroupId(String anomalyGroupId)
The ID of the anomaly group.
|
AnomalyGroup |
withAnomalyGroupScore(Double anomalyGroupScore)
The severity score of the group.
|
AnomalyGroup |
withEndTime(String endTime)
The end time for the group.
|
AnomalyGroup |
withMetricLevelImpactList(Collection<MetricLevelImpact> metricLevelImpactList)
A list of measures affected by the anomaly.
|
AnomalyGroup |
withMetricLevelImpactList(MetricLevelImpact... metricLevelImpactList)
A list of measures affected by the anomaly.
|
AnomalyGroup |
withPrimaryMetricName(String primaryMetricName)
The name of the primary affected measure for the group.
|
AnomalyGroup |
withStartTime(String startTime)
The start time for the group.
|
public void setStartTime(String startTime)
The start time for the group.
startTime
- The start time for the group.public String getStartTime()
The start time for the group.
public AnomalyGroup withStartTime(String startTime)
The start time for the group.
startTime
- The start time for the group.public void setEndTime(String endTime)
The end time for the group.
endTime
- The end time for the group.public String getEndTime()
The end time for the group.
public AnomalyGroup withEndTime(String endTime)
The end time for the group.
endTime
- The end time for the group.public void setAnomalyGroupId(String anomalyGroupId)
The ID of the anomaly group.
anomalyGroupId
- The ID of the anomaly group.public String getAnomalyGroupId()
The ID of the anomaly group.
public AnomalyGroup withAnomalyGroupId(String anomalyGroupId)
The ID of the anomaly group.
anomalyGroupId
- The ID of the anomaly group.public void setAnomalyGroupScore(Double anomalyGroupScore)
The severity score of the group.
anomalyGroupScore
- The severity score of the group.public Double getAnomalyGroupScore()
The severity score of the group.
public AnomalyGroup withAnomalyGroupScore(Double anomalyGroupScore)
The severity score of the group.
anomalyGroupScore
- The severity score of the group.public void setPrimaryMetricName(String primaryMetricName)
The name of the primary affected measure for the group.
primaryMetricName
- The name of the primary affected measure for the group.public String getPrimaryMetricName()
The name of the primary affected measure for the group.
public AnomalyGroup withPrimaryMetricName(String primaryMetricName)
The name of the primary affected measure for the group.
primaryMetricName
- The name of the primary affected measure for the group.public List<MetricLevelImpact> getMetricLevelImpactList()
A list of measures affected by the anomaly.
public void setMetricLevelImpactList(Collection<MetricLevelImpact> metricLevelImpactList)
A list of measures affected by the anomaly.
metricLevelImpactList
- A list of measures affected by the anomaly.public AnomalyGroup withMetricLevelImpactList(MetricLevelImpact... metricLevelImpactList)
A list of measures affected by the anomaly.
NOTE: This method appends the values to the existing list (if any). Use
setMetricLevelImpactList(java.util.Collection)
or
withMetricLevelImpactList(java.util.Collection)
if you want to override the existing values.
metricLevelImpactList
- A list of measures affected by the anomaly.public AnomalyGroup withMetricLevelImpactList(Collection<MetricLevelImpact> metricLevelImpactList)
A list of measures affected by the anomaly.
metricLevelImpactList
- A list of measures affected by the anomaly.public String toString()
toString
in class Object
Object.toString()
public AnomalyGroup clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.