@Stability(value=Experimental) public static final class DetectorModelProps.Builder extends Object implements software.amazon.jsii.Builder<DetectorModelProps>
DetectorModelProps| Constructor and Description |
|---|
Builder() |
| Modifier and Type | Method and Description |
|---|---|
DetectorModelProps |
build()
Builds the configured instance.
|
DetectorModelProps.Builder |
description(String description)
Sets the value of
DetectorModelProps.getDescription() |
DetectorModelProps.Builder |
detectorKey(String detectorKey)
Sets the value of
DetectorModelProps.getDetectorKey() |
DetectorModelProps.Builder |
detectorModelName(String detectorModelName)
Sets the value of
DetectorModelProps.getDetectorModelName() |
DetectorModelProps.Builder |
evaluationMethod(EventEvaluation evaluationMethod)
Sets the value of
DetectorModelProps.getEvaluationMethod() |
DetectorModelProps.Builder |
initialState(State initialState)
Sets the value of
DetectorModelProps.getInitialState() |
DetectorModelProps.Builder |
role(IRole role)
Sets the value of
DetectorModelProps.getRole() |
@Stability(value=Experimental) public DetectorModelProps.Builder initialState(State initialState)
DetectorModelProps.getInitialState()initialState - The state that is entered at the creation of each detector. This parameter is required.this@Stability(value=Experimental) public DetectorModelProps.Builder description(String description)
DetectorModelProps.getDescription()description - A brief description of the detector model.this@Stability(value=Experimental) public DetectorModelProps.Builder detectorKey(String detectorKey)
DetectorModelProps.getDetectorKey()detectorKey - The value used to identify a detector instance.
When a device or system sends input, a new
detector instance with a unique key value is created. AWS IoT Events can continue to route
input to its corresponding detector instance based on this identifying information.
This parameter uses a JSON-path expression to select the attribute-value pair in the message payload that is used for identification. To route the message to the correct detector instance, the device must send a message payload that contains the same attribute-value.
this@Stability(value=Experimental) public DetectorModelProps.Builder detectorModelName(String detectorModelName)
DetectorModelProps.getDetectorModelName()detectorModelName - The name of the detector model.this@Stability(value=Experimental) public DetectorModelProps.Builder evaluationMethod(EventEvaluation evaluationMethod)
DetectorModelProps.getEvaluationMethod()evaluationMethod - Information about the order in which events are evaluated and how actions are executed.
When setting to SERIAL, variables are updated and event conditions are evaluated in the order
that the events are defined.
When setting to BATCH, variables within a state are updated and events within a state are
performed only after all event conditions are evaluated.this@Stability(value=Experimental) public DetectorModelProps.Builder role(IRole role)
DetectorModelProps.getRole()role - The role that grants permission to AWS IoT Events to perform its operations.this@Stability(value=Experimental) public DetectorModelProps build()
build in interface software.amazon.jsii.Builder<DetectorModelProps>DetectorModelPropsNullPointerException - if any required attribute was not providedCopyright © 2022. All rights reserved.