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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description UpdateDetectorRequest.BuilderdetectorModelName(String detectorModelName)The name of the detector model that created the detectors (instances).UpdateDetectorRequest.BuilderkeyValue(String keyValue)The value of the input key attribute (identifying the device or system) that caused the creation of this detector (instance).UpdateDetectorRequest.BuildermessageId(String messageId)The ID to assign to the detector update"message".default UpdateDetectorRequest.Builderstate(Consumer<DetectorStateDefinition.Builder> state)The new state, variable values, and timer settings of the detector (instance).UpdateDetectorRequest.Builderstate(DetectorStateDefinition state)The new state, variable values, and timer settings of the detector (instance).-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
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
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).
- 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
UpdateDetectorRequest.Builder state(DetectorStateDefinition 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
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.Builderavoiding the need to create one manually viaDetectorStateDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tostate(DetectorStateDefinition).- Parameters:
state- a consumer that will call methods onDetectorStateDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
state(DetectorStateDefinition)
-
-