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 method that creates an instance of theVariable.Builder avoiding the need to create one
manually via Variable.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
Variable.Builder#variables(java.util.Collection) 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 method that creates an instance of theTimer.Builder avoiding the need to create one
manually via Timer.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
Timer.Builder#timers(java.util.Collection) Copyright © 2023. All rights reserved.