public class DescribeMetricCollectionTypesResult extends Object implements Serializable, Cloneable
| Constructor and Description |
|---|
DescribeMetricCollectionTypesResult() |
public List<MetricCollectionType> getMetrics()
public void setMetrics(Collection<MetricCollectionType> metrics)
metrics - One or more metrics.public DescribeMetricCollectionTypesResult withMetrics(MetricCollectionType... metrics)
NOTE: This method appends the values to the existing list (if
any). Use setMetrics(java.util.Collection) or withMetrics(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
metrics - One or more metrics.public DescribeMetricCollectionTypesResult withMetrics(Collection<MetricCollectionType> metrics)
Returns a reference to this object so that method calls can be chained together.
metrics - One or more metrics.public List<MetricGranularityType> getGranularities()
public void setGranularities(Collection<MetricGranularityType> granularities)
granularities - The granularities for the metrics.public DescribeMetricCollectionTypesResult withGranularities(MetricGranularityType... granularities)
NOTE: This method appends the values to the existing list (if
any). Use setGranularities(java.util.Collection) or withGranularities(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
granularities - The granularities for the metrics.public DescribeMetricCollectionTypesResult withGranularities(Collection<MetricGranularityType> granularities)
Returns a reference to this object so that method calls can be chained together.
granularities - The granularities for the metrics.public String toString()
toString in class ObjectObject.toString()public DescribeMetricCollectionTypesResult clone()
Copyright © 2015. All rights reserved.