Class MetricDataV2
- java.lang.Object
-
- software.amazon.awssdk.services.connect.model.MetricDataV2
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetricDataV2.Builder,MetricDataV2>
@Generated("software.amazon.awssdk:codegen") public final class MetricDataV2 extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricDataV2.Builder,MetricDataV2>
Contains the name, thresholds, and metric filters.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMetricDataV2.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricDataV2.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()MetricV2metric()The metric name, thresholds, and metric filters of the returned metric.List<SdkField<?>>sdkFields()static Class<? extends MetricDataV2.Builder>serializableBuilderClass()MetricDataV2.BuildertoBuilder()StringtoString()Returns a string representation of this object.Doublevalue()The corresponding value of the metric returned in the response.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
metric
public final MetricV2 metric()
The metric name, thresholds, and metric filters of the returned metric.
- Returns:
- The metric name, thresholds, and metric filters of the returned metric.
-
value
public final Double value()
The corresponding value of the metric returned in the response.
- Returns:
- The corresponding value of the metric returned in the response.
-
toBuilder
public MetricDataV2.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetricDataV2.Builder,MetricDataV2>
-
builder
public static MetricDataV2.Builder builder()
-
serializableBuilderClass
public static Class<? extends MetricDataV2.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-