Class WarmUpConfiguration
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<WarmUpConfiguration.Builder,WarmUpConfiguration>
The configuration settings that define the warm-up behavior for an alarm. Use these settings to delay alarm evaluation after you create or update the alarm, which reduces alarm noise while a new resource or service starts publishing data.
During the warm-up period, the alarm stays in INSUFFICIENT_DATA and does not perform alarm actions.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic WarmUpConfiguration.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final BooleanSpecifies whether the alarm waits for the full warm-up period before it starts to evaluate.static Class<? extends WarmUpConfiguration.Builder>final StringtoString()Returns a string representation of this object.final IntegerThe length of the warm-up period, in minutes.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
-
warmUpPeriodDurationInMinutes
The length of the warm-up period, in minutes. After you create or update the alarm, the alarm stays in
INSUFFICIENT_DATAfor this duration. During this time, the alarm does not perform alarm actions.You can change this value at any time, including after the warm-up period ends. If you change it after the warm-up period ends, the new value does not restart the warm-up period.
- Returns:
- The length of the warm-up period, in minutes. After you create or update the alarm, the alarm stays in
INSUFFICIENT_DATAfor this duration. During this time, the alarm does not perform alarm actions.You can change this value at any time, including after the warm-up period ends. If you change it after the warm-up period ends, the new value does not restart the warm-up period.
-
onlyStartEvaluatingAfterWarmUpPeriodEnds
Specifies whether the alarm waits for the full warm-up period before it starts to evaluate. The default is
false. Iftrue, the alarm waits the entireWarmUpPeriodDurationInMinutesbefore it starts to evaluate, even if metric data arrives earlier. Iffalse, the alarm ends the warm-up period early. Evaluation begins as soon as the alarm has enough metric data to fill its evaluation window.- Returns:
- Specifies whether the alarm waits for the full warm-up period before it starts to evaluate. The default
is
false. Iftrue, the alarm waits the entireWarmUpPeriodDurationInMinutesbefore it starts to evaluate, even if metric data arrives earlier. Iffalse, the alarm ends the warm-up period early. Evaluation begins as soon as the alarm has enough metric data to fill its evaluation window.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<WarmUpConfiguration.Builder,WarmUpConfiguration>
-
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
-