com.amazonaws.services.autoscaling.model
Class DescribeMetricCollectionTypesResult

java.lang.Object
  extended by com.amazonaws.services.autoscaling.model.DescribeMetricCollectionTypesResult

public class DescribeMetricCollectionTypesResult
extends Object

The output of the DescribeMetricCollectionTypes action.


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

Constructor Detail

DescribeMetricCollectionTypesResult

public DescribeMetricCollectionTypesResult()
Method Detail

getMetrics

public 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(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(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 List<MetricGranularityType> getGranularities()
A list of granularities for the listed Metrics.

Returns:
A list of granularities for the listed Metrics.

setGranularities

public void setGranularities(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(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 String toString()
Returns a string representation of this object; useful for testing and debugging.

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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