@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecommendationRelatedAnomalySourceDetail extends Object implements Serializable, Cloneable, StructuredPojo
Contains an array of RecommendationRelatedCloudWatchMetricsSourceDetail objects that contain the name
and namespace of an Amazon CloudWatch metric.
| Constructor and Description |
|---|
RecommendationRelatedAnomalySourceDetail() |
| Modifier and Type | Method and Description |
|---|---|
RecommendationRelatedAnomalySourceDetail |
clone() |
boolean |
equals(Object obj) |
List<RecommendationRelatedCloudWatchMetricsSourceDetail> |
getCloudWatchMetrics()
An array of
CloudWatchMetricsDetail objects that contains information about the analyzed metrics
that displayed anomalous behavior. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCloudWatchMetrics(Collection<RecommendationRelatedCloudWatchMetricsSourceDetail> cloudWatchMetrics)
An array of
CloudWatchMetricsDetail objects that contains information about the analyzed metrics
that displayed anomalous behavior. |
String |
toString()
Returns a string representation of this object.
|
RecommendationRelatedAnomalySourceDetail |
withCloudWatchMetrics(Collection<RecommendationRelatedCloudWatchMetricsSourceDetail> cloudWatchMetrics)
An array of
CloudWatchMetricsDetail objects that contains information about the analyzed metrics
that displayed anomalous behavior. |
RecommendationRelatedAnomalySourceDetail |
withCloudWatchMetrics(RecommendationRelatedCloudWatchMetricsSourceDetail... cloudWatchMetrics)
An array of
CloudWatchMetricsDetail objects that contains information about the analyzed metrics
that displayed anomalous behavior. |
public RecommendationRelatedAnomalySourceDetail()
public List<RecommendationRelatedCloudWatchMetricsSourceDetail> getCloudWatchMetrics()
An array of CloudWatchMetricsDetail objects that contains information about the analyzed metrics
that displayed anomalous behavior.
CloudWatchMetricsDetail objects that contains information about the analyzed
metrics that displayed anomalous behavior.public void setCloudWatchMetrics(Collection<RecommendationRelatedCloudWatchMetricsSourceDetail> cloudWatchMetrics)
An array of CloudWatchMetricsDetail objects that contains information about the analyzed metrics
that displayed anomalous behavior.
cloudWatchMetrics - An array of CloudWatchMetricsDetail objects that contains information about the analyzed
metrics that displayed anomalous behavior.public RecommendationRelatedAnomalySourceDetail withCloudWatchMetrics(RecommendationRelatedCloudWatchMetricsSourceDetail... cloudWatchMetrics)
An array of CloudWatchMetricsDetail objects that contains information about the analyzed metrics
that displayed anomalous behavior.
NOTE: This method appends the values to the existing list (if any). Use
setCloudWatchMetrics(java.util.Collection) or withCloudWatchMetrics(java.util.Collection) if
you want to override the existing values.
cloudWatchMetrics - An array of CloudWatchMetricsDetail objects that contains information about the analyzed
metrics that displayed anomalous behavior.public RecommendationRelatedAnomalySourceDetail withCloudWatchMetrics(Collection<RecommendationRelatedCloudWatchMetricsSourceDetail> cloudWatchMetrics)
An array of CloudWatchMetricsDetail objects that contains information about the analyzed metrics
that displayed anomalous behavior.
cloudWatchMetrics - An array of CloudWatchMetricsDetail objects that contains information about the analyzed
metrics that displayed anomalous behavior.public String toString()
toString in class ObjectObject.toString()public RecommendationRelatedAnomalySourceDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.