@Generated(value="software.amazon.awssdk:codegen") public final class CurrentMetric extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CurrentMetric.Builder,CurrentMetric>
Contains information about a real-time metric. For a description of each metric, see Real-time Metrics Definitions in the Amazon Connect Administrator Guide.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CurrentMetric.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CurrentMetric.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
CurrentMetricName |
name()
The name of the metric.
|
String |
nameAsString()
The name of the metric.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CurrentMetric.Builder> |
serializableBuilderClass() |
CurrentMetric.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
Unit |
unit()
The unit for the metric.
|
String |
unitAsString()
The unit for the metric.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final CurrentMetricName name()
The name of the metric.
If the service returns an enum value that is not available in the current SDK version, name will return
CurrentMetricName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
CurrentMetricNamepublic final String nameAsString()
The name of the metric.
If the service returns an enum value that is not available in the current SDK version, name will return
CurrentMetricName.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
nameAsString().
CurrentMetricNamepublic final Unit unit()
The unit for the metric.
If the service returns an enum value that is not available in the current SDK version, unit will return
Unit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
Unitpublic final String unitAsString()
The unit for the metric.
If the service returns an enum value that is not available in the current SDK version, unit will return
Unit.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
unitAsString().
Unitpublic CurrentMetric.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CurrentMetric.Builder,CurrentMetric>public static CurrentMetric.Builder builder()
public static Class<? extends CurrentMetric.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.