Interface DetectorModelDefinition.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<DetectorModelDefinition.Builder,,- DetectorModelDefinition> - SdkBuilder<DetectorModelDefinition.Builder,,- DetectorModelDefinition> - SdkPojo
- Enclosing class:
- DetectorModelDefinition
@Mutable
@NotThreadSafe
public static interface DetectorModelDefinition.Builder
extends SdkPojo, CopyableBuilder<DetectorModelDefinition.Builder,DetectorModelDefinition> 
- 
Method SummaryModifier 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.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
statesInformation 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.
 
- 
statesInformation 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.
 
- 
statesInformation 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 on- State.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
initialStateNameThe 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.
 
 
-