Interface DescribeDeviceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<DescribeDeviceResponse.Builder,
,DescribeDeviceResponse> SdkBuilder<DescribeDeviceResponse.Builder,
,DescribeDeviceResponse> SdkPojo
,SdkResponse.Builder
,SnowDeviceManagementResponse.Builder
- Enclosing class:
DescribeDeviceResponse
-
Method Summary
Modifier and TypeMethodDescriptionassociatedWithJob
(String associatedWithJob) The ID of the job used when ordering the device.deviceCapacities
(Collection<Capacity> deviceCapacities) The hardware specifications of the device.deviceCapacities
(Consumer<Capacity.Builder>... deviceCapacities) The hardware specifications of the device.deviceCapacities
(Capacity... deviceCapacities) The hardware specifications of the device.deviceState
(String deviceState) The current state of the device.deviceState
(UnlockState deviceState) The current state of the device.deviceType
(String deviceType) The type of Amazon Web Services Snow Family device.lastReachedOutAt
(Instant lastReachedOutAt) When the device last contacted the Amazon Web Services Cloud.lastUpdatedAt
(Instant lastUpdatedAt) When the device last pushed an update to the Amazon Web Services Cloud.managedDeviceArn
(String managedDeviceArn) The Amazon Resource Name (ARN) of the device.managedDeviceId
(String managedDeviceId) The ID of the device that you checked the information for.physicalNetworkInterfaces
(Collection<PhysicalNetworkInterface> physicalNetworkInterfaces) The network interfaces available on the device.physicalNetworkInterfaces
(Consumer<PhysicalNetworkInterface.Builder>... physicalNetworkInterfaces) The network interfaces available on the device.physicalNetworkInterfaces
(PhysicalNetworkInterface... physicalNetworkInterfaces) The network interfaces available on the device.default DescribeDeviceResponse.Builder
software
(Consumer<SoftwareInformation.Builder> software) The software installed on the device.software
(SoftwareInformation software) The software installed on the device.Optional metadata that you assign to a resource.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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
Methods inherited from interface software.amazon.awssdk.services.snowdevicemanagement.model.SnowDeviceManagementResponse.Builder
build, responseMetadata, responseMetadata
-
Method Details
-
associatedWithJob
The ID of the job used when ordering the device.
- Parameters:
associatedWithJob
- The ID of the job used when ordering the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceCapacities
The hardware specifications of the device.
- Parameters:
deviceCapacities
- The hardware specifications of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceCapacities
The hardware specifications of the device.
- Parameters:
deviceCapacities
- The hardware specifications of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceCapacities
The hardware specifications of the device.
This is a convenience method that creates an instance of theCapacity.Builder
avoiding the need to create one manually viaCapacity.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceCapacities(List<Capacity>)
.- Parameters:
deviceCapacities
- a consumer that will call methods onCapacity.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deviceState
The current state of the device.
- Parameters:
deviceState
- The current state of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deviceState
The current state of the device.
- Parameters:
deviceState
- The current state of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
deviceType
The type of Amazon Web Services Snow Family device.
- Parameters:
deviceType
- The type of Amazon Web Services Snow Family device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastReachedOutAt
When the device last contacted the Amazon Web Services Cloud. Indicates that the device is online.
- Parameters:
lastReachedOutAt
- When the device last contacted the Amazon Web Services Cloud. Indicates that the device is online.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastUpdatedAt
When the device last pushed an update to the Amazon Web Services Cloud. Indicates when the device cache was refreshed.
- Parameters:
lastUpdatedAt
- When the device last pushed an update to the Amazon Web Services Cloud. Indicates when the device cache was refreshed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedDeviceArn
The Amazon Resource Name (ARN) of the device.
- Parameters:
managedDeviceArn
- The Amazon Resource Name (ARN) of the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedDeviceId
The ID of the device that you checked the information for.
- Parameters:
managedDeviceId
- The ID of the device that you checked the information for.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
physicalNetworkInterfaces
DescribeDeviceResponse.Builder physicalNetworkInterfaces(Collection<PhysicalNetworkInterface> physicalNetworkInterfaces) The network interfaces available on the device.
- Parameters:
physicalNetworkInterfaces
- The network interfaces available on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
physicalNetworkInterfaces
DescribeDeviceResponse.Builder physicalNetworkInterfaces(PhysicalNetworkInterface... physicalNetworkInterfaces) The network interfaces available on the device.
- Parameters:
physicalNetworkInterfaces
- The network interfaces available on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
physicalNetworkInterfaces
DescribeDeviceResponse.Builder physicalNetworkInterfaces(Consumer<PhysicalNetworkInterface.Builder>... physicalNetworkInterfaces) The network interfaces available on the device.
This is a convenience method that creates an instance of thePhysicalNetworkInterface.Builder
avoiding the need to create one manually viaPhysicalNetworkInterface.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tophysicalNetworkInterfaces(List<PhysicalNetworkInterface>)
.- Parameters:
physicalNetworkInterfaces
- a consumer that will call methods onPhysicalNetworkInterface.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
software
The software installed on the device.
- Parameters:
software
- The software installed on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
software
The software installed on the device.
This is a convenience method that creates an instance of theSoftwareInformation.Builder
avoiding the need to create one manually viaSoftwareInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosoftware(SoftwareInformation)
.- Parameters:
software
- a consumer that will call methods onSoftwareInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.
- Parameters:
tags
- Optional metadata that you assign to a resource. You can use tags to categorize a resource in different ways, such as by purpose, owner, or environment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-