Interface AwsAutoscalingGroupMetricsCollectionOrBuilder (0.33.0)

public interface AwsAutoscalingGroupMetricsCollectionOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGranularity()

public abstract String getGranularity()

Required. The frequency at which EC2 Auto Scaling sends aggregated data to AWS CloudWatch. The only valid value is "1Minute".

string granularity = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The granularity.

getGranularityBytes()

public abstract ByteString getGranularityBytes()

Required. The frequency at which EC2 Auto Scaling sends aggregated data to AWS CloudWatch. The only valid value is "1Minute".

string granularity = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for granularity.

getMetrics(int index)

public abstract String getMetrics(int index)

Optional. The metrics to enable. For a list of valid metrics, see https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html. If you specify Granularity and don't specify any metrics, all metrics are enabled.

repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The metrics at the given index.

getMetricsBytes(int index)

public abstract ByteString getMetricsBytes(int index)

Optional. The metrics to enable. For a list of valid metrics, see https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html. If you specify Granularity and don't specify any metrics, all metrics are enabled.

repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the metrics at the given index.

getMetricsCount()

public abstract int getMetricsCount()

Optional. The metrics to enable. For a list of valid metrics, see https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html. If you specify Granularity and don't specify any metrics, all metrics are enabled.

repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

The count of metrics.

getMetricsList()

public abstract List<String> getMetricsList()

Optional. The metrics to enable. For a list of valid metrics, see https://docs.aws.amazon.com/autoscaling/ec2/APIReference/API_EnableMetricsCollection.html. If you specify Granularity and don't specify any metrics, all metrics are enabled.

repeated string metrics = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
List<String>

A list containing the metrics.