com.amazonaws.services.autoscaling.model
Class DescribeMetricCollectionTypesResult

java.lang.Object
  extended by com.amazonaws.services.autoscaling.model.DescribeMetricCollectionTypesResult
All Implemented Interfaces:
java.io.Serializable

public class DescribeMetricCollectionTypesResult
extends java.lang.Object
implements java.io.Serializable

The output of the DescribeMetricCollectionTypes action.

See Also:
Serialized Form

Constructor Summary
DescribeMetricCollectionTypesResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.util.List<MetricGranularityType> getGranularities()
          A list of granularities for the listed Metrics.
 java.util.List<MetricCollectionType> getMetrics()
          The list of Metrics collected.
 int hashCode()
           
 void setGranularities(java.util.Collection<MetricGranularityType> granularities)
          A list of granularities for the listed Metrics.
 void setMetrics(java.util.Collection<MetricCollectionType> metrics)
          The list of Metrics collected.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DescribeMetricCollectionTypesResult withGranularities(java.util.Collection<MetricGranularityType> granularities)
          A list of granularities for the listed Metrics.
 DescribeMetricCollectionTypesResult withGranularities(MetricGranularityType... granularities)
          A list of granularities for the listed Metrics.
 DescribeMetricCollectionTypesResult withMetrics(java.util.Collection<MetricCollectionType> metrics)
          The list of Metrics collected.
 DescribeMetricCollectionTypesResult withMetrics(MetricCollectionType... metrics)
          The list of Metrics collected.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DescribeMetricCollectionTypesResult

public DescribeMetricCollectionTypesResult()
Method Detail

getMetrics

public java.util.List<MetricCollectionType> getMetrics()
The list of Metrics collected. The following metrics are supported:

Returns:
The list of Metrics collected. The following metrics are supported:
  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupTerminatingInstances

  • GroupTotalInstances


setMetrics

public void setMetrics(java.util.Collection<MetricCollectionType> metrics)
The list of Metrics collected. The following metrics are supported:

Parameters:
metrics - The list of Metrics collected. The following metrics are supported:
  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupTerminatingInstances

  • GroupTotalInstances


withMetrics

public DescribeMetricCollectionTypesResult withMetrics(MetricCollectionType... metrics)
The list of Metrics collected. The following metrics are supported:

Returns a reference to this object so that method calls can be chained together.

Parameters:
metrics - The list of Metrics collected. The following metrics are supported:
  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

Returns:
A reference to this updated object so that method calls can be chained together.

withMetrics

public DescribeMetricCollectionTypesResult withMetrics(java.util.Collection<MetricCollectionType> metrics)
The list of Metrics collected. The following metrics are supported:

Returns a reference to this object so that method calls can be chained together.

Parameters:
metrics - The list of Metrics collected. The following metrics are supported:
  • GroupMinSize

  • GroupMaxSize

  • GroupDesiredCapacity

  • GroupInServiceInstances

  • GroupPendingInstances

  • GroupTerminatingInstances

  • GroupTotalInstances

Returns:
A reference to this updated object so that method calls can be chained together.

getGranularities

public java.util.List<MetricGranularityType> getGranularities()
A list of granularities for the listed Metrics.

Returns:
A list of granularities for the listed Metrics.

setGranularities

public void setGranularities(java.util.Collection<MetricGranularityType> granularities)
A list of granularities for the listed Metrics.

Parameters:
granularities - A list of granularities for the listed Metrics.

withGranularities

public DescribeMetricCollectionTypesResult withGranularities(MetricGranularityType... granularities)
A list of granularities for the listed Metrics.

Returns a reference to this object so that method calls can be chained together.

Parameters:
granularities - A list of granularities for the listed Metrics.
Returns:
A reference to this updated object so that method calls can be chained together.

withGranularities

public DescribeMetricCollectionTypesResult withGranularities(java.util.Collection<MetricGranularityType> granularities)
A list of granularities for the listed Metrics.

Returns a reference to this object so that method calls can be chained together.

Parameters:
granularities - A list of granularities for the listed Metrics.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.