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
Modifier and TypeMethodDescriptiondetectorModelName(String detectorModelName) The name of the detector model that created the detectors (instances).The value of the input key attribute (identifying the device or system) that caused the creation of this detector (instance).The ID to assign to the detector update"message".default UpdateDetectorRequest.BuilderThe new state, variable values, and timer settings of the detector (instance).state(DetectorStateDefinition state) The new state, variable values, and timer settings of the detector (instance).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
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
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 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:
-