Interface DetectorModelDefinition.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DetectorModelDefinition.Builder,,DetectorModelDefinition> SdkBuilder<DetectorModelDefinition.Builder,,DetectorModelDefinition> SdkPojo
- Enclosing class:
DetectorModelDefinition
public static interface DetectorModelDefinition.Builder
extends SdkPojo, CopyableBuilder<DetectorModelDefinition.Builder,DetectorModelDefinition>
-
Method Summary
Modifier and TypeMethodDescriptioninitialStateName(String initialStateName) The state that is entered at the creation of each detector (instance).states(Collection<State> states) Information about the states of the detector.states(Consumer<State.Builder>... states) Information about the states of the detector.Information about the states of the detector.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
-
states
Information about the states of the detector.
- Parameters:
states- Information about the states of the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
states
Information about the states of the detector.
- Parameters:
states- Information about the states of the detector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
states
Information about the states of the detector.
This is a convenience method that creates an instance of theState.Builderavoiding the need to create one manually viaState.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostates(List<State>).- Parameters:
states- a consumer that will call methods onState.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
initialStateName
The state that is entered at the creation of each detector (instance).
- Parameters:
initialStateName- The state that is entered at the creation of each detector (instance).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-