Interface CustomerAction.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<CustomerAction.Builder,CustomerAction>,SdkBuilder<CustomerAction.Builder,CustomerAction>,SdkPojo
- Enclosing class:
- CustomerAction
public static interface CustomerAction.Builder extends SdkPojo, CopyableBuilder<CustomerAction.Builder,CustomerAction>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default CustomerAction.BuilderacknowledgeActionConfiguration(Consumer<AcknowledgeActionConfiguration.Builder> acknowledgeActionConfiguration)Contains the configuration information of an acknowledge action.CustomerAction.BuilderacknowledgeActionConfiguration(AcknowledgeActionConfiguration acknowledgeActionConfiguration)Contains the configuration information of an acknowledge action.CustomerAction.BuilderactionName(String actionName)The name of the action.CustomerAction.BuilderactionName(CustomerActionName actionName)The name of the action.default CustomerAction.BuilderdisableActionConfiguration(Consumer<DisableActionConfiguration.Builder> disableActionConfiguration)Contains the configuration information of a disable action.CustomerAction.BuilderdisableActionConfiguration(DisableActionConfiguration disableActionConfiguration)Contains the configuration information of a disable action.default CustomerAction.BuilderenableActionConfiguration(Consumer<EnableActionConfiguration.Builder> enableActionConfiguration)Contains the configuration information of an enable action.CustomerAction.BuilderenableActionConfiguration(EnableActionConfiguration enableActionConfiguration)Contains the configuration information of an enable action.default CustomerAction.BuilderresetActionConfiguration(Consumer<ResetActionConfiguration.Builder> resetActionConfiguration)Contains the configuration information of a reset action.CustomerAction.BuilderresetActionConfiguration(ResetActionConfiguration resetActionConfiguration)Contains the configuration information of a reset action.default CustomerAction.BuildersnoozeActionConfiguration(Consumer<SnoozeActionConfiguration.Builder> snoozeActionConfiguration)Contains the configuration information of a snooze action.CustomerAction.BuildersnoozeActionConfiguration(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 Detail
-
actionName
CustomerAction.Builder actionName(String 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:
CustomerActionName,CustomerActionName
-
-
actionName
CustomerAction.Builder actionName(CustomerActionName 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:
CustomerActionName,CustomerActionName
-
-
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.Builderavoiding the need to create one manually viaSnoozeActionConfiguration.builder().When the
Consumercompletes,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:
snoozeActionConfiguration(SnoozeActionConfiguration)
-
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.Builderavoiding the need to create one manually viaEnableActionConfiguration.builder().When the
Consumercompletes,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:
enableActionConfiguration(EnableActionConfiguration)
-
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.Builderavoiding the need to create one manually viaDisableActionConfiguration.builder().When the
Consumercompletes,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:
disableActionConfiguration(DisableActionConfiguration)
-
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.Builderavoiding the need to create one manually viaAcknowledgeActionConfiguration.builder().When the
Consumercompletes,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:
acknowledgeActionConfiguration(AcknowledgeActionConfiguration)
-
resetActionConfiguration
CustomerAction.Builder resetActionConfiguration(ResetActionConfiguration 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.Builderavoiding the need to create one manually viaResetActionConfiguration.builder().When the
Consumercompletes,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:
resetActionConfiguration(ResetActionConfiguration)
-
-