public static interface UpdateDetectorRequest.Builder extends SdkPojo, CopyableBuilder<UpdateDetectorRequest.Builder,UpdateDetectorRequest>
| Modifier and Type | Method and Description |
|---|---|
UpdateDetectorRequest.Builder |
detectorModelName(String detectorModelName)
The name of the detector model that created the detectors (instances).
|
UpdateDetectorRequest.Builder |
keyValue(String keyValue)
The value of the input key attribute (identifying the device or system) that caused the creation of this
detector (instance).
|
UpdateDetectorRequest.Builder |
messageId(String messageId)
The ID to assign to the detector update
"message". |
default UpdateDetectorRequest.Builder |
state(Consumer<DetectorStateDefinition.Builder> state)
The new state, variable values, and timer settings of the detector (instance).
|
UpdateDetectorRequest.Builder |
state(DetectorStateDefinition state)
The new state, variable values, and timer settings of the detector (instance).
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildUpdateDetectorRequest.Builder messageId(String messageId)
The ID to assign to the detector update "message". Each "messageId" must be unique
within each batch sent.
messageId - The ID to assign to the detector update "message". Each "messageId" must be
unique within each batch sent.UpdateDetectorRequest.Builder detectorModelName(String detectorModelName)
The name of the detector model that created the detectors (instances).
detectorModelName - The name of the detector model that created the detectors (instances).UpdateDetectorRequest.Builder keyValue(String keyValue)
The value of the input key attribute (identifying the device or system) that caused the creation of this detector (instance).
keyValue - The value of the input key attribute (identifying the device or system) that caused the creation of
this detector (instance).UpdateDetectorRequest.Builder state(DetectorStateDefinition state)
The new state, variable values, and timer settings of the detector (instance).
state - The new state, variable values, and timer settings of the detector (instance).default UpdateDetectorRequest.Builder state(Consumer<DetectorStateDefinition.Builder> state)
The new state, variable values, and timer settings of the detector (instance).
This is a convenience method that creates an instance of theDetectorStateDefinition.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).
state - a consumer that will call methods on DetectorStateDefinition.Builderstate(DetectorStateDefinition)Copyright © 2023. All rights reserved.