Interface AwsAutoscalingGroupMetricsCollectionOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AwsAutoscalingGroupMetricsCollection,AwsAutoscalingGroupMetricsCollection.Builder
public interface AwsAutoscalingGroupMetricsCollectionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetGranularity()Required.com.google.protobuf.ByteStringgetGranularityBytes()Required.StringgetMetrics(int index)Optional.com.google.protobuf.ByteStringgetMetricsBytes(int index)Optional.intgetMetricsCount()Optional.List<String>getMetricsList()Optional.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getGranularity
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:
- The granularity.
-
getGranularityBytes
com.google.protobuf.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:
- The bytes for granularity.
-
getMetricsList
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:
- A list containing the metrics.
-
getMetricsCount
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:
- The count of metrics.
-
getMetrics
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];- Parameters:
index- The index of the element to return.- Returns:
- The metrics at the given index.
-
getMetricsBytes
com.google.protobuf.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];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the metrics at the given index.
-
-