Interface AlarmStateChangeDetail.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<AlarmStateChangeDetail.Builder,,AlarmStateChangeDetail> SdkBuilder<AlarmStateChangeDetail.Builder,,AlarmStateChangeDetail> SdkPojo
- Enclosing class:
AlarmStateChangeDetail
@Mutable
@NotThreadSafe
public static interface AlarmStateChangeDetail.Builder
extends SdkPojo, CopyableBuilder<AlarmStateChangeDetail.Builder,AlarmStateChangeDetail>
-
Method Summary
Modifier and TypeMethodDescriptionpreviousState(String previousState) The state the alarm transitioned from.previousState(AlarmState previousState) The state the alarm transitioned from.A human-readable explanation of the state change, as reported by CloudWatch.The state the alarm transitioned to.state(AlarmState state) The state the alarm transitioned to.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
state
The state the alarm transitioned to.
- Parameters:
state- The state the alarm transitioned to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
state
The state the alarm transitioned to.
- Parameters:
state- The state the alarm transitioned to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
previousState
The state the alarm transitioned from. Absent on the initial event, which records the alarm's state when collection began.
- Parameters:
previousState- The state the alarm transitioned from. Absent on the initial event, which records the alarm's state when collection began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
previousState
The state the alarm transitioned from. Absent on the initial event, which records the alarm's state when collection began.
- Parameters:
previousState- The state the alarm transitioned from. Absent on the initial event, which records the alarm's state when collection began.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
reason
A human-readable explanation of the state change, as reported by CloudWatch.
- Parameters:
reason- A human-readable explanation of the state change, as reported by CloudWatch.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-