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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceResponseResourceMetric.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ResponseResourceMetric.Builderbuilder()Stringdescription()The description of the metric.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringmetric()The full name of the metric.List<SdkField<?>>sdkFields()static Class<? extends ResponseResourceMetric.Builder>serializableBuilderClass()ResponseResourceMetric.BuildertoBuilder()StringtoString()Returns a string representation of this object.Stringunit()The unit of the metric.-
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 String metric()
The full name of the metric.
- Returns:
- The full name of the metric.
-
description
public final String description()
The description of the metric.
- Returns:
- The description of the metric.
-
unit
public final String unit()
The unit of the metric.
- Returns:
- The unit of the metric.
-
toBuilder
public ResponseResourceMetric.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ResponseResourceMetric.Builder,ResponseResourceMetric>
-
builder
public static ResponseResourceMetric.Builder builder()
-
serializableBuilderClass
public static Class<? extends ResponseResourceMetric.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.
-
-