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 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 the State.Builder avoiding the need to create one manually via State.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to states(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:
    • 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.