Interface DetectorStateDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DetectorStateDefinition.Builder,,DetectorStateDefinition> SdkBuilder<DetectorStateDefinition.Builder,,DetectorStateDefinition> SdkPojo
- Enclosing class:
DetectorStateDefinition
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the new state of the detector (instance).timers(Collection<TimerDefinition> timers) The new values of the detector's timers.timers(Consumer<TimerDefinition.Builder>... timers) The new values of the detector's timers.timers(TimerDefinition... timers) The new values of the detector's timers.variables(Collection<VariableDefinition> variables) The new values of the detector's variables.variables(Consumer<VariableDefinition.Builder>... variables) The new values of the detector's variables.variables(VariableDefinition... variables) The new values of the detector's variables.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
stateName
The name of the new state of the detector (instance).
- Parameters:
stateName- The name of the new state of the detector (instance).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variables
The new values of the detector's variables. Any variable whose value isn't specified is cleared.
- Parameters:
variables- The new values of the detector's variables. Any variable whose value isn't specified is cleared.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
variables
The new values of the detector's variables. Any variable whose value isn't specified is cleared.
- Parameters:
variables- The new values of the detector's variables. Any variable whose value isn't specified is cleared.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaVariableDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovariables(List<VariableDefinition>).- Parameters:
variables- a consumer that will call methods onVariableDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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.Builderavoiding the need to create one manually viaTimerDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totimers(List<TimerDefinition>).- Parameters:
timers- a consumer that will call methods onTimerDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-