StructuredPojo
, ToCopyableBuilder<CustomizedMetricSpecification.Builder,CustomizedMetricSpecification>
@Generated("software.amazon.awssdk:codegen") public class CustomizedMetricSpecification extends Object implements StructuredPojo, ToCopyableBuilder<CustomizedMetricSpecification.Builder,CustomizedMetricSpecification>
Configures a customized metric for a target tracking policy.
Modifier and Type | Class | Description |
---|---|---|
static interface |
CustomizedMetricSpecification.Builder |
Modifier and Type | Method | Description |
---|---|---|
static CustomizedMetricSpecification.Builder |
builder() |
|
List<MetricDimension> |
dimensions() |
The dimensions of the metric.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
metricName() |
The name of the metric.
|
String |
namespace() |
The namespace of the metric.
|
static Class<? extends CustomizedMetricSpecification.Builder> |
serializableBuilderClass() |
|
String |
statistic() |
The statistic of the metric.
|
CustomizedMetricSpecification.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
unit() |
The unit of the metric.
|
public String metricName()
The name of the metric.
public String namespace()
The namespace of the metric.
public List<MetricDimension> dimensions()
The dimensions of the metric.
public String statistic()
The statistic of the metric.
MetricStatistic
public String unit()
The unit of the metric.
public CustomizedMetricSpecification.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CustomizedMetricSpecification.Builder,CustomizedMetricSpecification>
public static CustomizedMetricSpecification.Builder builder()
public static Class<? extends CustomizedMetricSpecification.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.