Class ExportMetric
- java.lang.Object
-
- software.amazon.awssdk.services.sesv2.model.ExportMetric
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ExportMetric.Builder,ExportMetric>
@Generated("software.amazon.awssdk:codegen") public final class ExportMetric extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ExportMetric.Builder,ExportMetric>
An object that contains a mapping between a
MetricandMetricAggregation.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceExportMetric.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description MetricAggregationaggregation()Returns the value of the Aggregation property for this object.StringaggregationAsString()Returns the value of the Aggregation property for this object.static ExportMetric.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Metricname()Returns the value of the Name property for this object.StringnameAsString()Returns the value of the Name property for this object.List<SdkField<?>>sdkFields()static Class<? extends ExportMetric.Builder>serializableBuilderClass()ExportMetric.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
name
public final Metric name()
Returns the value of the Name property for this object.If the service returns an enum value that is not available in the current SDK version,
namewill returnMetric.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The value of the Name property for this object.
- See Also:
Metric
-
nameAsString
public final String nameAsString()
Returns the value of the Name property for this object.If the service returns an enum value that is not available in the current SDK version,
namewill returnMetric.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromnameAsString().- Returns:
- The value of the Name property for this object.
- See Also:
Metric
-
aggregation
public final MetricAggregation aggregation()
Returns the value of the Aggregation property for this object.If the service returns an enum value that is not available in the current SDK version,
aggregationwill returnMetricAggregation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaggregationAsString().- Returns:
- The value of the Aggregation property for this object.
- See Also:
MetricAggregation
-
aggregationAsString
public final String aggregationAsString()
Returns the value of the Aggregation property for this object.If the service returns an enum value that is not available in the current SDK version,
aggregationwill returnMetricAggregation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromaggregationAsString().- Returns:
- The value of the Aggregation property for this object.
- See Also:
MetricAggregation
-
toBuilder
public ExportMetric.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ExportMetric.Builder,ExportMetric>
-
builder
public static ExportMetric.Builder builder()
-
serializableBuilderClass
public static Class<? extends ExportMetric.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.
-
-