Class ResponseResourceMetric
java.lang.Object
software.amazon.awssdk.services.pi.model.ResponseResourceMetric
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ResponseResourceMetric.Builder,ResponseResourceMetric>
@Generated("software.amazon.awssdk:codegen")
public final class ResponseResourceMetric
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<ResponseResourceMetric.Builder,ResponseResourceMetric>
An object that contains the full name, description, and unit of a metric.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe description of the metric.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringmetric()The full name of the metric.static Class<? extends ResponseResourceMetric.Builder>final StringtoString()Returns a string representation of this object.final Stringunit()The unit of the metric.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
metric
The full name of the metric.
- Returns:
- The full name of the metric.
-
description
The description of the metric.
- Returns:
- The description of the metric.
-
unit
The unit of the metric.
- Returns:
- The unit of the metric.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResponseResourceMetric.Builder,ResponseResourceMetric>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-