@Generated(value="software.amazon.awssdk:codegen") public final class EnableMetricsCollectionRequest extends AutoScalingRequest implements ToCopyableBuilder<EnableMetricsCollectionRequest.Builder,EnableMetricsCollectionRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
EnableMetricsCollectionRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
autoScalingGroupName()
The name of the Auto Scaling group.
|
static EnableMetricsCollectionRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
String |
granularity()
The granularity to associate with the metrics to collect.
|
int |
hashCode() |
List<String> |
metrics()
One or more of the following metrics.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends EnableMetricsCollectionRequest.Builder> |
serializableBuilderClass() |
EnableMetricsCollectionRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String autoScalingGroupName()
The name of the Auto Scaling group.
public List<String> metrics()
One or more of the following metrics. If you omit this parameter, all metrics are enabled.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
GroupMinSize
GroupMaxSize
GroupDesiredCapacity
GroupInServiceInstances
GroupPendingInstances
GroupStandbyInstances
GroupTerminatingInstances
GroupTotalInstances
public String granularity()
The granularity to associate with the metrics to collect. The only valid value is 1Minute.
1Minute.public EnableMetricsCollectionRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EnableMetricsCollectionRequest.Builder,EnableMetricsCollectionRequest>toBuilder in class AutoScalingRequestpublic static EnableMetricsCollectionRequest.Builder builder()
public static Class<? extends EnableMetricsCollectionRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.