@Generated(value="software.amazon.awssdk:codegen") public class Dimension extends Object implements ToCopyableBuilder<Dimension.Builder,Dimension>
For the metric that the CloudWatch alarm is associated with, a complex type that contains information about one dimension.
Modifier and Type | Class and Description |
---|---|
static interface |
Dimension.Builder |
Modifier and Type | Method and Description |
---|---|
static Dimension.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
name()
For the metric that the CloudWatch alarm is associated with, the name of one dimension.
|
static Class<? extends Dimension.Builder> |
serializableBuilderClass() |
Dimension.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
value()
For the metric that the CloudWatch alarm is associated with, the value of one dimension.
|
copy
public String name()
For the metric that the CloudWatch alarm is associated with, the name of one dimension.
public String value()
For the metric that the CloudWatch alarm is associated with, the value of one dimension.
public Dimension.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Dimension.Builder,Dimension>
public static Dimension.Builder builder()
public static Class<? extends Dimension.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.