Interface DeviceSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<DeviceSummary.Builder,
,DeviceSummary> SdkBuilder<DeviceSummary.Builder,
,DeviceSummary> SdkPojo
- Enclosing class:
DeviceSummary
public static interface DeviceSummary.Builder
extends SdkPojo, CopyableBuilder<DeviceSummary.Builder,DeviceSummary>
-
Method Summary
Modifier and TypeMethodDescriptionagentVersion
(String agentVersion) Edge Manager agent version.description
(String description) A description of the device.Amazon Resource Name (ARN) of the device.deviceFleetName
(String deviceFleetName) The name of the fleet the device belongs to.deviceName
(String deviceName) The unique identifier of the device.iotThingName
(String iotThingName) The Amazon Web Services Internet of Things (IoT) object thing name associated with the device..latestHeartbeat
(Instant latestHeartbeat) The last heartbeat received from the device.models
(Collection<EdgeModelSummary> models) Models on the device.models
(Consumer<EdgeModelSummary.Builder>... models) Models on the device.models
(EdgeModelSummary... models) Models on the device.registrationTime
(Instant registrationTime) The timestamp of the last registration or de-reregistration.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
-
deviceName
The unique identifier of the device.
- Parameters:
deviceName
- The unique identifier of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceArn
Amazon Resource Name (ARN) of the device.
- Parameters:
deviceArn
- Amazon Resource Name (ARN) of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of the device.
- Parameters:
description
- A description of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceFleetName
The name of the fleet the device belongs to.
- Parameters:
deviceFleetName
- The name of the fleet the device belongs to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iotThingName
The Amazon Web Services Internet of Things (IoT) object thing name associated with the device..
- Parameters:
iotThingName
- The Amazon Web Services Internet of Things (IoT) object thing name associated with the device..- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
registrationTime
The timestamp of the last registration or de-reregistration.
- Parameters:
registrationTime
- The timestamp of the last registration or de-reregistration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestHeartbeat
The last heartbeat received from the device.
- Parameters:
latestHeartbeat
- The last heartbeat received from the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
Models on the device.
- Parameters:
models
- Models on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
Models on the device.
- Parameters:
models
- Models on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
models
Models on the device.
This is a convenience method that creates an instance of theEdgeModelSummary.Builder
avoiding the need to create one manually viaEdgeModelSummary.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomodels(List<EdgeModelSummary>)
.- Parameters:
models
- a consumer that will call methods onEdgeModelSummary.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
agentVersion
Edge Manager agent version.
- Parameters:
agentVersion
- Edge Manager agent version.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-