Class MetricCharacteristics
java.lang.Object
software.amazon.awssdk.services.cloudwatch.model.MetricCharacteristics
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<MetricCharacteristics.Builder,MetricCharacteristics>
@Generated("software.amazon.awssdk:codegen")
public final class MetricCharacteristics
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<MetricCharacteristics.Builder,MetricCharacteristics>
This object includes parameters that you can use to provide information to CloudWatch to help it build more accurate anomaly detection models.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final BooleanSet this parameter totrueif values for this metric consistently include spikes that should not be considered to be anomalies.static Class<? extends MetricCharacteristics.Builder>final StringtoString()Returns a string representation of this object.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
-
periodicSpikes
Set this parameter to
trueif values for this metric consistently include spikes that should not be considered to be anomalies. With this set totrue, CloudWatch will expect to see spikes that occurred consistently during the model training period, and won't flag future similar spikes as anomalies.- Returns:
- Set this parameter to
trueif values for this metric consistently include spikes that should not be considered to be anomalies. With this set totrue, CloudWatch will expect to see spikes that occurred consistently during the model training period, and won't flag future similar spikes as anomalies.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<MetricCharacteristics.Builder,MetricCharacteristics>
-
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
-