Interface UpdateDetectorRequest.Builder

All Superinterfaces:
Buildable, CopyableBuilder<UpdateDetectorRequest.Builder,UpdateDetectorRequest>, SdkBuilder<UpdateDetectorRequest.Builder,UpdateDetectorRequest>, SdkPojo
Enclosing class:
UpdateDetectorRequest

public static interface UpdateDetectorRequest.Builder extends SdkPojo, CopyableBuilder<UpdateDetectorRequest.Builder,UpdateDetectorRequest>
  • Method Details

    • messageId

      UpdateDetectorRequest.Builder messageId(String messageId)

      The ID to assign to the detector update "message". Each "messageId" must be unique within each batch sent.

      Parameters:
      messageId - The ID to assign to the detector update "message". Each "messageId" must be unique within each batch sent.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • detectorModelName

      UpdateDetectorRequest.Builder detectorModelName(String detectorModelName)

      The name of the detector model that created the detectors (instances).

      Parameters:
      detectorModelName - The name of the detector model that created the detectors (instances).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyValue

      The value of the input key attribute (identifying the device or system) that caused the creation of this detector (instance).

      Parameters:
      keyValue - The value of the input key attribute (identifying the device or system) that caused the creation of this detector (instance).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The new state, variable values, and timer settings of the detector (instance).

      Parameters:
      state - The new state, variable values, and timer settings of the detector (instance).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The new state, variable values, and timer settings of the detector (instance).

      This is a convenience method that creates an instance of the DetectorStateDefinition.Builder avoiding the need to create one manually via DetectorStateDefinition.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to state(DetectorStateDefinition).

      Parameters:
      state - a consumer that will call methods on DetectorStateDefinition.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: