@Generated(value="software.amazon.awssdk:codegen") public final class ExportMetric extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportMetric.Builder,ExportMetric>
An object that contains a mapping between a Metric and MetricAggregation.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ExportMetric.Builder |
| Modifier and Type | Method and Description |
|---|---|
MetricAggregation |
aggregation()
Returns the value of the Aggregation property for this object.
|
String |
aggregationAsString()
Returns the value of the Aggregation property for this object.
|
static ExportMetric.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Metric |
name()
Returns the value of the Name property for this object.
|
String |
nameAsString()
Returns the value of the Name property for this object.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ExportMetric.Builder> |
serializableBuilderClass() |
ExportMetric.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final Metric name()
If the service returns an enum value that is not available in the current SDK version, name will return
Metric.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
Metricpublic final String nameAsString()
If the service returns an enum value that is not available in the current SDK version, name will return
Metric.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
Metricpublic final MetricAggregation aggregation()
If the service returns an enum value that is not available in the current SDK version, aggregation will
return MetricAggregation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
aggregationAsString().
MetricAggregationpublic final String aggregationAsString()
If the service returns an enum value that is not available in the current SDK version, aggregation will
return MetricAggregation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
aggregationAsString().
MetricAggregationpublic ExportMetric.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ExportMetric.Builder,ExportMetric>public static ExportMetric.Builder builder()
public static Class<? extends ExportMetric.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.