Interface Device.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Device.Builder,
,Device> SdkBuilder<Device.Builder,
,Device> SdkPojo
- Enclosing class:
Device
-
Method Summary
Modifier and TypeMethodDescriptionThe device's maker.brand
(DeviceBrand brand) The device's maker.createdTime
(Instant createdTime) When the device was created.currentSoftware
(String currentSoftware) A device's current software.description
(String description) A description for the device.deviceAggregatedStatus
(String deviceAggregatedStatus) A device's aggregated status.deviceAggregatedStatus
(DeviceAggregatedStatus deviceAggregatedStatus) A device's aggregated status.The device's ID.lastUpdatedTime
(Instant lastUpdatedTime) When the device was updated.default Device.Builder
latestDeviceJob
(Consumer<LatestDeviceJob.Builder> latestDeviceJob) A device's latest job.latestDeviceJob
(LatestDeviceJob latestDeviceJob) A device's latest job.leaseExpirationTime
(Instant leaseExpirationTime) The device's lease expiration time.The device's name.provisioningStatus
(String provisioningStatus) The device's provisioning status.provisioningStatus
(DeviceStatus provisioningStatus) The device's provisioning status.The device's tags.The device's type.type
(DeviceType type) The device's type.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, sdkFieldNameToField, sdkFields
-
Method Details
-
brand
The device's maker.
- Parameters:
brand
- The device's maker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
brand
The device's maker.
- Parameters:
brand
- The device's maker.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
createdTime
When the device was created.
- Parameters:
createdTime
- When the device was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
currentSoftware
A device's current software.
- Parameters:
currentSoftware
- A device's current software.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description for the device.
- Parameters:
description
- A description for the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceAggregatedStatus
A device's aggregated status. Including the device's connection status, provisioning status, and lease status.
- Parameters:
deviceAggregatedStatus
- A device's aggregated status. Including the device's connection status, provisioning status, and lease status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deviceAggregatedStatus
A device's aggregated status. Including the device's connection status, provisioning status, and lease status.
- Parameters:
deviceAggregatedStatus
- A device's aggregated status. Including the device's connection status, provisioning status, and lease status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deviceId
The device's ID.
- Parameters:
deviceId
- The device's ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedTime
When the device was updated.
- Parameters:
lastUpdatedTime
- When the device was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestDeviceJob
A device's latest job. Includes the target image version, and the update job status.
- Parameters:
latestDeviceJob
- A device's latest job. Includes the target image version, and the update job status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestDeviceJob
A device's latest job. Includes the target image version, and the update job status.
This is a convenience method that creates an instance of theLatestDeviceJob.Builder
avoiding the need to create one manually viaLatestDeviceJob.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolatestDeviceJob(LatestDeviceJob)
.- Parameters:
latestDeviceJob
- a consumer that will call methods onLatestDeviceJob.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
leaseExpirationTime
The device's lease expiration time.
- Parameters:
leaseExpirationTime
- The device's lease expiration time.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The device's name.
- Parameters:
name
- The device's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
provisioningStatus
The device's provisioning status.
- Parameters:
provisioningStatus
- The device's provisioning status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
provisioningStatus
The device's provisioning status.
- Parameters:
provisioningStatus
- The device's provisioning status.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
The device's tags.
- Parameters:
tags
- The device's tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
The device's type.
- Parameters:
type
- The device's type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The device's type.
- Parameters:
type
- The device's type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-