Class MetricProcessingConfig
- java.lang.Object
-
- software.amazon.awssdk.services.iotsitewise.model.MetricProcessingConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetricProcessingConfig.Builder,MetricProcessingConfig>
@Generated("software.amazon.awssdk:codegen") public final class MetricProcessingConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MetricProcessingConfig.Builder,MetricProcessingConfig>
The processing configuration for the given metric property. You can configure metrics to be computed at the edge or in the Amazon Web Services Cloud. By default, metrics are forwarded to the cloud.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceMetricProcessingConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MetricProcessingConfig.Builderbuilder()ComputeLocationcomputeLocation()The compute location for the given metric property.StringcomputeLocationAsString()The compute location for the given metric property.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends MetricProcessingConfig.Builder>serializableBuilderClass()MetricProcessingConfig.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
-
computeLocation
public final ComputeLocation computeLocation()
The compute location for the given metric property.
If the service returns an enum value that is not available in the current SDK version,
computeLocationwill returnComputeLocation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomputeLocationAsString().- Returns:
- The compute location for the given metric property.
- See Also:
ComputeLocation
-
computeLocationAsString
public final String computeLocationAsString()
The compute location for the given metric property.
If the service returns an enum value that is not available in the current SDK version,
computeLocationwill returnComputeLocation.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromcomputeLocationAsString().- Returns:
- The compute location for the given metric property.
- See Also:
ComputeLocation
-
toBuilder
public MetricProcessingConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetricProcessingConfig.Builder,MetricProcessingConfig>
-
builder
public static MetricProcessingConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends MetricProcessingConfig.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.
-
-