Interface DetectorState.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<DetectorState.Builder,,- DetectorState> - SdkBuilder<DetectorState.Builder,,- DetectorState> - SdkPojo
- Enclosing class:
- DetectorState
@Mutable
@NotThreadSafe
public static interface DetectorState.Builder
extends SdkPojo, CopyableBuilder<DetectorState.Builder,DetectorState> 
- 
Method SummaryModifier and TypeMethodDescriptionThe name of the state.timers(Collection<Timer> timers) The current state of the detector's timers.timers(Consumer<Timer.Builder>... timers) The current state of the detector's timers.The current state of the detector's timers.variables(Collection<Variable> variables) The current values of the detector's variables.variables(Consumer<Variable.Builder>... variables) The current values of the detector's variables.The current values of the detector's variables.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
stateNameThe name of the state. - Parameters:
- stateName- The name of the state.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
variablesThe current values of the detector's variables. - Parameters:
- variables- The current values of the detector's variables.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
variablesThe current values of the detector's variables. - Parameters:
- variables- The current values of the detector's variables.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
variablesThe current values of the detector's variables. This is a convenience method that creates an instance of theVariable.Builderavoiding the need to create one manually viaVariable.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovariables(List<Variable>).- Parameters:
- variables- a consumer that will call methods on- Variable.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
timersThe current state of the detector's timers. - Parameters:
- timers- The current state of the detector's timers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
timersThe current state of the detector's timers. - Parameters:
- timers- The current state of the detector's timers.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
timersThe current state of the detector's timers. This is a convenience method that creates an instance of theTimer.Builderavoiding the need to create one manually viaTimer.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimers(List<Timer>).- Parameters:
- timers- a consumer that will call methods on- Timer.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-