Interface AwsAutoscalingGroupMetricsCollectionOrBuilder (0.52.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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the metrics.