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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DetectorSummary.BuildercreationTime(Instant creationTime)The time the detector (instance) was created.DetectorSummary.BuilderdetectorModelName(String detectorModelName)The name of the detector model that created this detector (instance).DetectorSummary.BuilderdetectorModelVersion(String detectorModelVersion)The version of the detector model that created this detector (instance).DetectorSummary.BuilderkeyValue(String keyValue)The value of the key (identifying the device or system) that caused the creation of this detector (instance).DetectorSummary.BuilderlastUpdateTime(Instant lastUpdateTime)The time the detector (instance) was last updated.default DetectorSummary.Builderstate(Consumer<DetectorStateSummary.Builder> state)The current state of the detector (instance).DetectorSummary.Builderstate(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 Detail
-
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
DetectorSummary.Builder state(DetectorStateSummary 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
default DetectorSummary.Builder state(Consumer<DetectorStateSummary.Builder> state)
The current state of the detector (instance).
This is a convenience method that creates an instance of theDetectorStateSummary.Builderavoiding the need to create one manually viaDetectorStateSummary.builder().When the
Consumercompletes,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:
state(DetectorStateSummary)
-
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.
-
-