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 Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The time the detector (instance) was created.detectorModelName
(String detectorModelName) The name of the detector model that created this detector (instance).detectorModelVersion
(String detectorModelVersion) The version of the detector model that created this detector (instance).The value of the key (identifying the device or system) that caused the creation of this detector (instance).lastUpdateTime
(Instant lastUpdateTime) The time the detector (instance) was last updated.default DetectorSummary.Builder
The current state of the detector (instance).state
(DetectorStateSummary state) The current state 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 Details
-
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
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
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 theDetectorStateSummary.Builder
avoiding the need to create one manually viaDetectorStateSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tostate(DetectorStateSummary)
.- Parameters:
state
- a consumer that will call methods onDetectorStateSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
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.
-