@Generated(value="software.amazon.awssdk:codegen") public final class CustomizedMetricSpecification extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CustomizedMetricSpecification.Builder,CustomizedMetricSpecification>
A customized metric.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CustomizedMetricSpecification.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CustomizedMetricSpecification.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
metricName()
The name of the customized metric.
|
String |
namespace()
The namespace of the customized metric.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CustomizedMetricSpecification.Builder> |
serializableBuilderClass() |
Statistic |
statistic()
The statistic of the customized metric.
|
String |
statisticAsString()
The statistic of the customized metric.
|
CustomizedMetricSpecification.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String metricName()
The name of the customized metric.
public final String namespace()
The namespace of the customized metric.
public final Statistic statistic()
The statistic of the customized metric.
If the service returns an enum value that is not available in the current SDK version, statistic will
return Statistic.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statisticAsString().
Statisticpublic final String statisticAsString()
The statistic of the customized metric.
If the service returns an enum value that is not available in the current SDK version, statistic will
return Statistic.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
statisticAsString().
Statisticpublic CustomizedMetricSpecification.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CustomizedMetricSpecification.Builder,CustomizedMetricSpecification>public static CustomizedMetricSpecification.Builder builder()
public static Class<? extends CustomizedMetricSpecification.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.