Class DescribeMetricCollectionTypesResult
java.lang.Object
com.amazonaws.services.autoscaling.model.DescribeMetricCollectionTypesResult
- All Implemented Interfaces:
Serializable
,Cloneable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The granularities for the metrics.One or more metrics.int
hashCode()
void
setGranularities
(Collection<MetricGranularityType> granularities) The granularities for the metrics.void
setMetrics
(Collection<MetricCollectionType> metrics) One or more metrics.toString()
Returns a string representation of this object; useful for testing and debugging.withGranularities
(MetricGranularityType... granularities) The granularities for the metrics.withGranularities
(Collection<MetricGranularityType> granularities) The granularities for the metrics.withMetrics
(MetricCollectionType... metrics) One or more metrics.withMetrics
(Collection<MetricCollectionType> metrics) One or more metrics.
-
Constructor Details
-
DescribeMetricCollectionTypesResult
public DescribeMetricCollectionTypesResult()
-
-
Method Details
-
getMetrics
One or more metrics.
- Returns:
- One or more metrics.
-
setMetrics
One or more metrics.
- Parameters:
metrics
- One or more metrics.
-
withMetrics
One or more metrics.
NOTE: This method appends the values to the existing list (if any). Use
setMetrics(java.util.Collection)
orwithMetrics(java.util.Collection)
if you want to override the existing values.- Parameters:
metrics
- One or more metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withMetrics
One or more metrics.
- Parameters:
metrics
- One or more metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getGranularities
The granularities for the metrics.
- Returns:
- The granularities for the metrics.
-
setGranularities
The granularities for the metrics.
- Parameters:
granularities
- The granularities for the metrics.
-
withGranularities
public DescribeMetricCollectionTypesResult withGranularities(MetricGranularityType... granularities) The granularities for the metrics.
NOTE: This method appends the values to the existing list (if any). Use
setGranularities(java.util.Collection)
orwithGranularities(java.util.Collection)
if you want to override the existing values.- Parameters:
granularities
- The granularities for the metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withGranularities
public DescribeMetricCollectionTypesResult withGranularities(Collection<MetricGranularityType> granularities) The granularities for the metrics.
- Parameters:
granularities
- The granularities for the metrics.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-