Interface DetectorSummary.Builder

All Superinterfaces:
Buildable, CopyableBuilder<DetectorSummary.Builder,DetectorSummary>, SdkBuilder<DetectorSummary.Builder,DetectorSummary>, SdkPojo
Enclosing class:
DetectorSummary

public static interface DetectorSummary.Builder extends SdkPojo, CopyableBuilder<DetectorSummary.Builder,DetectorSummary>
  • Method Details

    • detectorModelName

      DetectorSummary.Builder detectorModelName(String detectorModelName)

      The name of the detector model that created this detector (instance).

      Parameters:
      detectorModelName - The name of the detector model that created this detector (instance).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • keyValue

      DetectorSummary.Builder keyValue(String keyValue)

      The value of the key (identifying the device or system) that caused the creation of this detector (instance).

      Parameters:
      keyValue - The value of the key (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.
    • detectorModelVersion

      DetectorSummary.Builder detectorModelVersion(String detectorModelVersion)

      The version of the detector model that created this detector (instance).

      Parameters:
      detectorModelVersion - The version of the detector model that created this detector (instance).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The current state of the detector (instance).

      Parameters:
      state - The current state of the detector (instance).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • state

      The current state of the detector (instance).

      This is a convenience method that creates an instance of the DetectorStateSummary.Builder avoiding the need to create one manually via DetectorStateSummary.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to state(DetectorStateSummary).

      Parameters:
      state - a consumer that will call methods on DetectorStateSummary.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • creationTime

      DetectorSummary.Builder creationTime(Instant creationTime)

      The time the detector (instance) was created.

      Parameters:
      creationTime - The time the detector (instance) was created.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • lastUpdateTime

      DetectorSummary.Builder lastUpdateTime(Instant lastUpdateTime)

      The time the detector (instance) was last updated.

      Parameters:
      lastUpdateTime - The time the detector (instance) was last updated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.