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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DeviceSummary.Builderarn(String arn)The Amazon Resource Name (ARN) of the device.DeviceSummary.BuildercreatedAt(Instant createdAt)The timestamp of when the device was created.DeviceSummary.BuildercurrentSoftwareSetId(String currentSoftwareSetId)The ID of the software set currently installed on the device.DeviceSummary.BuilderdesiredSoftwareSetId(String desiredSoftwareSetId)The ID of the software set which the device has been set to.DeviceSummary.BuilderenvironmentId(String environmentId)The ID of the environment the device is associated with.DeviceSummary.Builderid(String id)The ID of the device.DeviceSummary.BuilderlastConnectedAt(Instant lastConnectedAt)The timestamp of the most recent session on the device.DeviceSummary.BuilderlastPostureAt(Instant lastPostureAt)The timestamp of the most recent check-in of the device.DeviceSummary.Buildermodel(String model)The model number of the device.DeviceSummary.Buildername(String name)The name of the device.DeviceSummary.BuilderpendingSoftwareSetId(String pendingSoftwareSetId)The ID of the software set that is pending to be installed on the device.DeviceSummary.BuilderserialNumber(String serialNumber)The hardware serial number of the device.DeviceSummary.BuildersoftwareSetUpdateSchedule(String softwareSetUpdateSchedule)An option to define if software updates should be applied within a maintenance window.DeviceSummary.BuildersoftwareSetUpdateSchedule(SoftwareSetUpdateSchedule softwareSetUpdateSchedule)An option to define if software updates should be applied within a maintenance window.DeviceSummary.Builderstatus(String status)The status of the device.DeviceSummary.Builderstatus(DeviceStatus status)The status of the device.default DeviceSummary.Buildertags(Consumer<EmbeddedTag.Builder> tags)The tag keys and optional values for the resource.DeviceSummary.Buildertags(EmbeddedTag tags)The tag keys and optional values for the resource.DeviceSummary.BuilderupdatedAt(Instant updatedAt)The timestamp of when the device was updated.-
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
-
id
DeviceSummary.Builder id(String id)
The ID of the device.
- Parameters:
id- The ID of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serialNumber
DeviceSummary.Builder serialNumber(String serialNumber)
The hardware serial number of the device.
- Parameters:
serialNumber- The hardware serial number of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
DeviceSummary.Builder name(String name)
The name of the device.
- Parameters:
name- The name of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
model
DeviceSummary.Builder model(String model)
The model number of the device.
- Parameters:
model- The model number of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentId
DeviceSummary.Builder environmentId(String environmentId)
The ID of the environment the device is associated with.
- Parameters:
environmentId- The ID of the environment the device is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
status
DeviceSummary.Builder status(String status)
The status of the device.
- Parameters:
status- The status of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceStatus,DeviceStatus
-
status
DeviceSummary.Builder status(DeviceStatus status)
The status of the device.
- Parameters:
status- The status of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
DeviceStatus,DeviceStatus
-
currentSoftwareSetId
DeviceSummary.Builder currentSoftwareSetId(String currentSoftwareSetId)
The ID of the software set currently installed on the device.
- Parameters:
currentSoftwareSetId- The ID of the software set currently installed on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
desiredSoftwareSetId
DeviceSummary.Builder desiredSoftwareSetId(String desiredSoftwareSetId)
The ID of the software set which the device has been set to.
- Parameters:
desiredSoftwareSetId- The ID of the software set which the device has been set to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
pendingSoftwareSetId
DeviceSummary.Builder pendingSoftwareSetId(String pendingSoftwareSetId)
The ID of the software set that is pending to be installed on the device.
- Parameters:
pendingSoftwareSetId- The ID of the software set that is pending to be installed on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
softwareSetUpdateSchedule
DeviceSummary.Builder softwareSetUpdateSchedule(String softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
- Parameters:
softwareSetUpdateSchedule- An option to define if software updates should be applied within a maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SoftwareSetUpdateSchedule,SoftwareSetUpdateSchedule
-
softwareSetUpdateSchedule
DeviceSummary.Builder softwareSetUpdateSchedule(SoftwareSetUpdateSchedule softwareSetUpdateSchedule)
An option to define if software updates should be applied within a maintenance window.
- Parameters:
softwareSetUpdateSchedule- An option to define if software updates should be applied within a maintenance window.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SoftwareSetUpdateSchedule,SoftwareSetUpdateSchedule
-
lastConnectedAt
DeviceSummary.Builder lastConnectedAt(Instant lastConnectedAt)
The timestamp of the most recent session on the device.
- Parameters:
lastConnectedAt- The timestamp of the most recent session on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastPostureAt
DeviceSummary.Builder lastPostureAt(Instant lastPostureAt)
The timestamp of the most recent check-in of the device.
- Parameters:
lastPostureAt- The timestamp of the most recent check-in of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdAt
DeviceSummary.Builder createdAt(Instant createdAt)
The timestamp of when the device was created.
- Parameters:
createdAt- The timestamp of when the device was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
updatedAt
DeviceSummary.Builder updatedAt(Instant updatedAt)
The timestamp of when the device was updated.
- Parameters:
updatedAt- The timestamp of when the device was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
arn
DeviceSummary.Builder arn(String arn)
The Amazon Resource Name (ARN) of the device.
- Parameters:
arn- The Amazon Resource Name (ARN) of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
DeviceSummary.Builder tags(EmbeddedTag tags)
The tag keys and optional values for the resource.
- Parameters:
tags- The tag keys and optional values for the resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
default DeviceSummary.Builder tags(Consumer<EmbeddedTag.Builder> tags)
The tag keys and optional values for the resource.
This is a convenience method that creates an instance of theEmbeddedTag.Builderavoiding the need to create one manually viaEmbeddedTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(EmbeddedTag).- Parameters:
tags- a consumer that will call methods onEmbeddedTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
tags(EmbeddedTag)
-
-