public static interface DetectorStateDefinition.Builder extends SdkPojo, CopyableBuilder<DetectorStateDefinition.Builder,DetectorStateDefinition>
| Modifier and Type | Method and Description |
|---|---|
DetectorStateDefinition.Builder |
stateName(String stateName)
The name of the new state of the detector (instance).
|
DetectorStateDefinition.Builder |
timers(Collection<TimerDefinition> timers)
The new values of the detector's timers.
|
DetectorStateDefinition.Builder |
timers(Consumer<TimerDefinition.Builder>... timers)
The new values of the detector's timers.
|
DetectorStateDefinition.Builder |
timers(TimerDefinition... timers)
The new values of the detector's timers.
|
DetectorStateDefinition.Builder |
variables(Collection<VariableDefinition> variables)
The new values of the detector's variables.
|
DetectorStateDefinition.Builder |
variables(Consumer<VariableDefinition.Builder>... variables)
The new values of the detector's variables.
|
DetectorStateDefinition.Builder |
variables(VariableDefinition... variables)
The new values of the detector's variables.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectorStateDefinition.Builder stateName(String stateName)
The name of the new state of the detector (instance).
stateName - The name of the new state of the detector (instance).DetectorStateDefinition.Builder variables(Collection<VariableDefinition> variables)
The new values of the detector's variables. Any variable whose value isn't specified is cleared.
variables - The new values of the detector's variables. Any variable whose value isn't specified is cleared.DetectorStateDefinition.Builder variables(VariableDefinition... variables)
The new values of the detector's variables. Any variable whose value isn't specified is cleared.
variables - The new values of the detector's variables. Any variable whose value isn't specified is cleared.DetectorStateDefinition.Builder variables(Consumer<VariableDefinition.Builder>... variables)
The new values of the detector's variables. Any variable whose value isn't specified is cleared.
This is a convenience method that creates an instance of theVariableDefinition.Builder avoiding the need to
create one manually via
VariableDefinition.builder().
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #variables(List.
variables - a consumer that will call methods on
VariableDefinition.Builder#variables(java.util.Collection) DetectorStateDefinition.Builder timers(Collection<TimerDefinition> timers)
The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.
timers - The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its
timeout event won't occur.DetectorStateDefinition.Builder timers(TimerDefinition... timers)
The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.
timers - The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its
timeout event won't occur.DetectorStateDefinition.Builder timers(Consumer<TimerDefinition.Builder>... timers)
The new values of the detector's timers. Any timer whose value isn't specified is cleared, and its timeout event won't occur.
This is a convenience method that creates an instance of theTimerDefinition.Builder avoiding the need to
create one manually via TimerDefinition.builder()
.
When the Consumer completes,
SdkBuilder.build() is called
immediately and its result is passed to #timers(List.
timers - a consumer that will call methods on
TimerDefinition.Builder#timers(java.util.Collection) Copyright © 2023. All rights reserved.