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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DetectorModelDefinition.BuilderinitialStateName(String initialStateName)The state that is entered at the creation of each detector (instance).DetectorModelDefinition.Builderstates(Collection<State> states)Information about the states of the detector.DetectorModelDefinition.Builderstates(Consumer<State.Builder>... states)Information about the states of the detector.DetectorModelDefinition.Builderstates(State... states)Information about the states of the detector.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
states
DetectorModelDefinition.Builder states(Collection<State> 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
DetectorModelDefinition.Builder states(State... 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
DetectorModelDefinition.Builder states(Consumer<State.Builder>... 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 to#states(List.) - 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:
#states(java.util.Collection)
-
initialStateName
DetectorModelDefinition.Builder initialStateName(String 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.
-
-