public static interface DetectorState.Builder extends SdkPojo, CopyableBuilder<DetectorState.Builder,DetectorState>
| Modifier and Type | Method and Description |
|---|---|
DetectorState.Builder |
stateName(String stateName)
The name of the state.
|
DetectorState.Builder |
timers(Collection<Timer> timers)
The current state of the detector's timers.
|
DetectorState.Builder |
timers(Consumer<Timer.Builder>... timers)
The current state of the detector's timers.
|
DetectorState.Builder |
timers(Timer... timers)
The current state of the detector's timers.
|
DetectorState.Builder |
variables(Collection<Variable> variables)
The current values of the detector's variables.
|
DetectorState.Builder |
variables(Consumer<Variable.Builder>... variables)
The current values of the detector's variables.
|
DetectorState.Builder |
variables(Variable... variables)
The current values of the detector's variables.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDetectorState.Builder stateName(String stateName)
The name of the state.
stateName - The name of the state.DetectorState.Builder variables(Collection<Variable> variables)
The current values of the detector's variables.
variables - The current values of the detector's variables.DetectorState.Builder variables(Variable... variables)
The current values of the detector's variables.
variables - The current values of the detector's variables.DetectorState.Builder variables(Consumer<Variable.Builder>... variables)
The current values of the detector's variables.
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) DetectorState.Builder timers(Collection<Timer> timers)
The current state of the detector's timers.
timers - The current state of the detector's timers.DetectorState.Builder timers(Timer... timers)
The current state of the detector's timers.
timers - The current state of the detector's timers.DetectorState.Builder timers(Consumer<Timer.Builder>... timers)
The current state of the detector's timers.
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.