@Generated(value="software.amazon.awssdk:codegen") public class MetricDimension extends Object implements StructuredPojo, ToCopyableBuilder<MetricDimension.Builder,MetricDimension>
Describes the dimension of a metric.
Modifier and Type | Class and Description |
---|---|
static interface |
MetricDimension.Builder |
Modifier and Type | Method and Description |
---|---|
static MetricDimension.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name()
The name of the dimension.
|
static Class<? extends MetricDimension.Builder> |
serializableBuilderClass() |
MetricDimension.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
value()
The value of the dimension.
|
copy
public String name()
The name of the dimension.
public String value()
The value of the dimension.
public MetricDimension.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<MetricDimension.Builder,MetricDimension>
public static MetricDimension.Builder builder()
public static Class<? extends MetricDimension.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.