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 that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #variables(List) .variables - a consumer that will call methods on List.Builder #variables(List) 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 that creates an instance of theList.Builder avoiding the need
to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately and
its result is passed to #timers(List) .timers - a consumer that will call methods on List.Builder #timers(List) Copyright © 2021. All rights reserved.