public static interface CustomerAction.Builder extends SdkPojo, CopyableBuilder<CustomerAction.Builder,CustomerAction>
| Modifier and Type | Method and Description |
|---|---|
CustomerAction.Builder |
acknowledgeActionConfiguration(AcknowledgeActionConfiguration acknowledgeActionConfiguration)
Contains the configuration information of an acknowledge action.
|
default CustomerAction.Builder |
acknowledgeActionConfiguration(Consumer<AcknowledgeActionConfiguration.Builder> acknowledgeActionConfiguration)
Contains the configuration information of an acknowledge action.
|
CustomerAction.Builder |
actionName(CustomerActionName actionName)
The name of the action.
|
CustomerAction.Builder |
actionName(String actionName)
The name of the action.
|
default CustomerAction.Builder |
disableActionConfiguration(Consumer<DisableActionConfiguration.Builder> disableActionConfiguration)
Contains the configuration information of a disable action.
|
CustomerAction.Builder |
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.
|
CustomerAction.Builder |
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.
|
CustomerAction.Builder |
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.
|
CustomerAction.Builder |
snoozeActionConfiguration(SnoozeActionConfiguration snoozeActionConfiguration)
Contains the configuration information of a snooze action.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildCustomerAction.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 to SNOOZE_DISABLED.
ENABLE - When you enable the alarm, the alarm state changes to NORMAL.
DISABLE - When you disable the alarm, the alarm state changes to DISABLED.
ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to
ACKNOWLEDGED.
RESET - When you reset the alarm, the alarm state changes to NORMAL.
For more information, see the AlarmState API.
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 to
SNOOZE_DISABLED.
ENABLE - When you enable the alarm, the alarm state changes to NORMAL.
DISABLE - When you disable the alarm, the alarm state changes to DISABLED.
ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to
ACKNOWLEDGED.
RESET - When you reset the alarm, the alarm state changes to NORMAL.
For more information, see the AlarmState API.
CustomerActionName,
CustomerActionNameCustomerAction.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 to SNOOZE_DISABLED.
ENABLE - When you enable the alarm, the alarm state changes to NORMAL.
DISABLE - When you disable the alarm, the alarm state changes to DISABLED.
ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to
ACKNOWLEDGED.
RESET - When you reset the alarm, the alarm state changes to NORMAL.
For more information, see the AlarmState API.
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 to
SNOOZE_DISABLED.
ENABLE - When you enable the alarm, the alarm state changes to NORMAL.
DISABLE - When you disable the alarm, the alarm state changes to DISABLED.
ACKNOWLEDGE - When you acknowledge the alarm, the alarm state changes to
ACKNOWLEDGED.
RESET - When you reset the alarm, the alarm state changes to NORMAL.
For more information, see the AlarmState API.
CustomerActionName,
CustomerActionNameCustomerAction.Builder snoozeActionConfiguration(SnoozeActionConfiguration snoozeActionConfiguration)
Contains the configuration information of a snooze action.
snoozeActionConfiguration - Contains the configuration information of a snooze action.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 via SnoozeActionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to snoozeActionConfiguration(SnoozeActionConfiguration).
snoozeActionConfiguration - a consumer that will call methods on SnoozeActionConfiguration.BuildersnoozeActionConfiguration(SnoozeActionConfiguration)CustomerAction.Builder enableActionConfiguration(EnableActionConfiguration enableActionConfiguration)
Contains the configuration information of an enable action.
enableActionConfiguration - Contains the configuration information of an enable action.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 via EnableActionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to enableActionConfiguration(EnableActionConfiguration).
enableActionConfiguration - a consumer that will call methods on EnableActionConfiguration.BuilderenableActionConfiguration(EnableActionConfiguration)CustomerAction.Builder disableActionConfiguration(DisableActionConfiguration disableActionConfiguration)
Contains the configuration information of a disable action.
disableActionConfiguration - Contains the configuration information of a disable action.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 via DisableActionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to disableActionConfiguration(DisableActionConfiguration).
disableActionConfiguration - a consumer that will call methods on DisableActionConfiguration.BuilderdisableActionConfiguration(DisableActionConfiguration)CustomerAction.Builder acknowledgeActionConfiguration(AcknowledgeActionConfiguration acknowledgeActionConfiguration)
Contains the configuration information of an acknowledge action.
acknowledgeActionConfiguration - Contains the configuration information of an acknowledge action.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 via AcknowledgeActionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to
acknowledgeActionConfiguration(AcknowledgeActionConfiguration).
acknowledgeActionConfiguration - a consumer that will call methods on AcknowledgeActionConfiguration.BuilderacknowledgeActionConfiguration(AcknowledgeActionConfiguration)CustomerAction.Builder resetActionConfiguration(ResetActionConfiguration resetActionConfiguration)
Contains the configuration information of a reset action.
resetActionConfiguration - Contains the configuration information of a reset action.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 via ResetActionConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to resetActionConfiguration(ResetActionConfiguration).
resetActionConfiguration - a consumer that will call methods on ResetActionConfiguration.BuilderresetActionConfiguration(ResetActionConfiguration)Copyright © 2023. All rights reserved.