Interface CustomerAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CustomerAction.Builder,
,CustomerAction> SdkBuilder<CustomerAction.Builder,
,CustomerAction> SdkPojo
- Enclosing class:
CustomerAction
-
Method Summary
Modifier and TypeMethodDescriptiondefault CustomerAction.Builder
acknowledgeActionConfiguration
(Consumer<AcknowledgeActionConfiguration.Builder> acknowledgeActionConfiguration) Contains the configuration information of an acknowledge action.acknowledgeActionConfiguration
(AcknowledgeActionConfiguration acknowledgeActionConfiguration) Contains the configuration information of an acknowledge action.actionName
(String actionName) The name of the action.actionName
(CustomerActionName actionName) The name of the action.default CustomerAction.Builder
disableActionConfiguration
(Consumer<DisableActionConfiguration.Builder> disableActionConfiguration) Contains the configuration information of a disable action.disableActionConfiguration
(DisableActionConfiguration disableActionConfiguration) Contains the configuration information of a disable action.default CustomerAction.Builder
enableActionConfiguration
(Consumer<EnableActionConfiguration.Builder> enableActionConfiguration) Contains the configuration information of an enable action.enableActionConfiguration
(EnableActionConfiguration enableActionConfiguration) Contains the configuration information of an enable action.default CustomerAction.Builder
resetActionConfiguration
(Consumer<ResetActionConfiguration.Builder> resetActionConfiguration) Contains the configuration information of a reset action.resetActionConfiguration
(ResetActionConfiguration resetActionConfiguration) Contains the configuration information of a reset action.default CustomerAction.Builder
snoozeActionConfiguration
(Consumer<SnoozeActionConfiguration.Builder> snoozeActionConfiguration) Contains the configuration information of a snooze action.snoozeActionConfiguration
(SnoozeActionConfiguration snoozeActionConfiguration) Contains the configuration information of a snooze action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
actionName
The name of the action. The action name can be one of the following values:
-
SNOOZE
- When you snooze the alarm, the alarm state changes toSNOOZE_DISABLED
. -
ENABLE
- When you enable the alarm, the alarm state changes toNORMAL
. -
DISABLE
- When you disable the alarm, the alarm state changes toDISABLED
. -
ACKNOWLEDGE
- When you acknowledge the alarm, the alarm state changes toACKNOWLEDGED
. -
RESET
- When you reset the alarm, the alarm state changes toNORMAL
.
For more information, see the AlarmState API.
- Parameters:
actionName
- The name of the action. The action name can be one of the following values:-
SNOOZE
- When you snooze the alarm, the alarm state changes toSNOOZE_DISABLED
. -
ENABLE
- When you enable the alarm, the alarm state changes toNORMAL
. -
DISABLE
- When you disable the alarm, the alarm state changes toDISABLED
. -
ACKNOWLEDGE
- When you acknowledge the alarm, the alarm state changes toACKNOWLEDGED
. -
RESET
- When you reset the alarm, the alarm state changes toNORMAL
.
For more information, see the AlarmState API.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
actionName
The name of the action. The action name can be one of the following values:
-
SNOOZE
- When you snooze the alarm, the alarm state changes toSNOOZE_DISABLED
. -
ENABLE
- When you enable the alarm, the alarm state changes toNORMAL
. -
DISABLE
- When you disable the alarm, the alarm state changes toDISABLED
. -
ACKNOWLEDGE
- When you acknowledge the alarm, the alarm state changes toACKNOWLEDGED
. -
RESET
- When you reset the alarm, the alarm state changes toNORMAL
.
For more information, see the AlarmState API.
- Parameters:
actionName
- The name of the action. The action name can be one of the following values:-
SNOOZE
- When you snooze the alarm, the alarm state changes toSNOOZE_DISABLED
. -
ENABLE
- When you enable the alarm, the alarm state changes toNORMAL
. -
DISABLE
- When you disable the alarm, the alarm state changes toDISABLED
. -
ACKNOWLEDGE
- When you acknowledge the alarm, the alarm state changes toACKNOWLEDGED
. -
RESET
- When you reset the alarm, the alarm state changes toNORMAL
.
For more information, see the AlarmState API.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
snoozeActionConfiguration
CustomerAction.Builder snoozeActionConfiguration(SnoozeActionConfiguration snoozeActionConfiguration) Contains the configuration information of a snooze action.
- Parameters:
snoozeActionConfiguration
- Contains the configuration information of a snooze action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
snoozeActionConfiguration
default CustomerAction.Builder snoozeActionConfiguration(Consumer<SnoozeActionConfiguration.Builder> snoozeActionConfiguration) Contains the configuration information of a snooze action.
This is a convenience method that creates an instance of theSnoozeActionConfiguration.Builder
avoiding the need to create one manually viaSnoozeActionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosnoozeActionConfiguration(SnoozeActionConfiguration)
.- Parameters:
snoozeActionConfiguration
- a consumer that will call methods onSnoozeActionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
enableActionConfiguration
CustomerAction.Builder enableActionConfiguration(EnableActionConfiguration enableActionConfiguration) Contains the configuration information of an enable action.
- Parameters:
enableActionConfiguration
- Contains the configuration information of an enable action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
enableActionConfiguration
default CustomerAction.Builder enableActionConfiguration(Consumer<EnableActionConfiguration.Builder> enableActionConfiguration) Contains the configuration information of an enable action.
This is a convenience method that creates an instance of theEnableActionConfiguration.Builder
avoiding the need to create one manually viaEnableActionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenableActionConfiguration(EnableActionConfiguration)
.- Parameters:
enableActionConfiguration
- a consumer that will call methods onEnableActionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
disableActionConfiguration
CustomerAction.Builder disableActionConfiguration(DisableActionConfiguration disableActionConfiguration) Contains the configuration information of a disable action.
- Parameters:
disableActionConfiguration
- Contains the configuration information of a disable action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
disableActionConfiguration
default CustomerAction.Builder disableActionConfiguration(Consumer<DisableActionConfiguration.Builder> disableActionConfiguration) Contains the configuration information of a disable action.
This is a convenience method that creates an instance of theDisableActionConfiguration.Builder
avoiding the need to create one manually viaDisableActionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todisableActionConfiguration(DisableActionConfiguration)
.- Parameters:
disableActionConfiguration
- a consumer that will call methods onDisableActionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
acknowledgeActionConfiguration
CustomerAction.Builder acknowledgeActionConfiguration(AcknowledgeActionConfiguration acknowledgeActionConfiguration) Contains the configuration information of an acknowledge action.
- Parameters:
acknowledgeActionConfiguration
- Contains the configuration information of an acknowledge action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
acknowledgeActionConfiguration
default CustomerAction.Builder acknowledgeActionConfiguration(Consumer<AcknowledgeActionConfiguration.Builder> acknowledgeActionConfiguration) Contains the configuration information of an acknowledge action.
This is a convenience method that creates an instance of theAcknowledgeActionConfiguration.Builder
avoiding the need to create one manually viaAcknowledgeActionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toacknowledgeActionConfiguration(AcknowledgeActionConfiguration)
.- Parameters:
acknowledgeActionConfiguration
- a consumer that will call methods onAcknowledgeActionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
resetActionConfiguration
Contains the configuration information of a reset action.
- Parameters:
resetActionConfiguration
- Contains the configuration information of a reset action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resetActionConfiguration
default CustomerAction.Builder resetActionConfiguration(Consumer<ResetActionConfiguration.Builder> resetActionConfiguration) Contains the configuration information of a reset action.
This is a convenience method that creates an instance of theResetActionConfiguration.Builder
avoiding the need to create one manually viaResetActionConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresetActionConfiguration(ResetActionConfiguration)
.- Parameters:
resetActionConfiguration
- a consumer that will call methods onResetActionConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-