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) Indicates whether some other object is "equal to" this one by SDK fields.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> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.final IntegerThe length of the warm-up period, in minutes.Methods 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
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<WarmUpConfiguration.Builder,WarmUpConfiguration> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-