StructuredPojo
, ToCopyableBuilder<MetricDimension.Builder,MetricDimension>
@Generated("software.amazon.awssdk:codegen") public class MetricDimension extends Object implements StructuredPojo, ToCopyableBuilder<MetricDimension.Builder,MetricDimension>
A CloudWatch dimension, which is specified using a Key
(known as a Name
in CloudWatch),
Value
pair. By default, Amazon EMR uses one dimension whose Key
is JobFlowID
and Value
is a variable representing the cluster ID, which is ${emr.clusterId}
. This
enables the rule to bootstrap when the cluster ID becomes available.
Modifier and Type | Class | Description |
---|---|---|
static interface |
MetricDimension.Builder |
Modifier and Type | Method | Description |
---|---|---|
static MetricDimension.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
key() |
The dimension name.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
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 dimension value.
|
public String key()
The dimension name.
public String value()
The dimension value.
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.