public static interface Detector.Builder extends SdkPojo, CopyableBuilder<Detector.Builder,Detector>
| Modifier and Type | Method and Description |
|---|---|
Detector.Builder |
creationTime(Instant creationTime)
The time the detector (instance) was created.
|
Detector.Builder |
detectorModelName(String detectorModelName)
The name of the detector model that created this detector (instance).
|
Detector.Builder |
detectorModelVersion(String detectorModelVersion)
The version of the detector model that created this detector (instance).
|
Detector.Builder |
keyValue(String keyValue)
The value of the key (identifying the device or system) that caused the creation of this detector (instance).
|
Detector.Builder |
lastUpdateTime(Instant lastUpdateTime)
The time the detector (instance) was last updated.
|
default Detector.Builder |
state(Consumer<DetectorState.Builder> state)
The current state of the detector (instance).
|
Detector.Builder |
state(DetectorState state)
The current state of the detector (instance).
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDetector.Builder detectorModelName(String detectorModelName)
The name of the detector model that created this detector (instance).
detectorModelName - The name of the detector model that created this detector (instance).Detector.Builder keyValue(String keyValue)
The value of the key (identifying the device or system) that caused the creation of this detector (instance).
keyValue - The value of the key (identifying the device or system) that caused the creation of this detector
(instance).Detector.Builder detectorModelVersion(String detectorModelVersion)
The version of the detector model that created this detector (instance).
detectorModelVersion - The version of the detector model that created this detector (instance).Detector.Builder state(DetectorState state)
The current state of the detector (instance).
state - The current state of the detector (instance).default Detector.Builder state(Consumer<DetectorState.Builder> state)
The current state of the detector (instance).
This is a convenience method that creates an instance of theDetectorState.Builder avoiding the need
to create one manually via DetectorState.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to state(DetectorState).
state - a consumer that will call methods on DetectorState.Builderstate(DetectorState)Detector.Builder creationTime(Instant creationTime)
The time the detector (instance) was created.
creationTime - The time the detector (instance) was created.Detector.Builder lastUpdateTime(Instant lastUpdateTime)
The time the detector (instance) was last updated.
lastUpdateTime - The time the detector (instance) was last updated.Copyright © 2023. All rights reserved.