Interface DescribeDeviceResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<DescribeDeviceResponse.Builder,DescribeDeviceResponse>,SdkBuilder<DescribeDeviceResponse.Builder,DescribeDeviceResponse>,SdkPojo,SdkResponse.Builder,SnowDeviceManagementResponse.Builder
- Enclosing class:
- DescribeDeviceResponse
public static interface DescribeDeviceResponse.Builder extends SnowDeviceManagementResponse.Builder, SdkPojo, CopyableBuilder<DescribeDeviceResponse.Builder,DescribeDeviceResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description DescribeDeviceResponse.BuilderassociatedWithJob(String associatedWithJob)The ID of the job used when ordering the device.DescribeDeviceResponse.BuilderdeviceCapacities(Collection<Capacity> deviceCapacities)The hardware specifications of the device.DescribeDeviceResponse.BuilderdeviceCapacities(Consumer<Capacity.Builder>... deviceCapacities)The hardware specifications of the device.DescribeDeviceResponse.BuilderdeviceCapacities(Capacity... deviceCapacities)The hardware specifications of the device.DescribeDeviceResponse.BuilderdeviceState(String deviceState)The current state of the device.DescribeDeviceResponse.BuilderdeviceState(UnlockState deviceState)The current state of the device.DescribeDeviceResponse.BuilderdeviceType(String deviceType)The type of Amazon Web Services Snow Family device.DescribeDeviceResponse.BuilderlastReachedOutAt(Instant lastReachedOutAt)When the device last contacted the Amazon Web Services Cloud.DescribeDeviceResponse.BuilderlastUpdatedAt(Instant lastUpdatedAt)When the device last pushed an update to the Amazon Web Services Cloud.DescribeDeviceResponse.BuildermanagedDeviceArn(String managedDeviceArn)The Amazon Resource Name (ARN) of the device.DescribeDeviceResponse.BuildermanagedDeviceId(String managedDeviceId)The ID of the device that you checked the information for.DescribeDeviceResponse.BuilderphysicalNetworkInterfaces(Collection<PhysicalNetworkInterface> physicalNetworkInterfaces)The network interfaces available on the device.DescribeDeviceResponse.BuilderphysicalNetworkInterfaces(Consumer<PhysicalNetworkInterface.Builder>... physicalNetworkInterfaces)The network interfaces available on the device.DescribeDeviceResponse.BuilderphysicalNetworkInterfaces(PhysicalNetworkInterface... physicalNetworkInterfaces)The network interfaces available on the device.default DescribeDeviceResponse.Buildersoftware(Consumer<SoftwareInformation.Builder> software)The software installed on the device.DescribeDeviceResponse.Buildersoftware(SoftwareInformation software)The software installed on the device.DescribeDeviceResponse.Buildertags(Map<String,String> tags)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 Detail
-
associatedWithJob
DescribeDeviceResponse.Builder associatedWithJob(String 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
DescribeDeviceResponse.Builder deviceCapacities(Collection<Capacity> 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
DescribeDeviceResponse.Builder deviceCapacities(Capacity... 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
DescribeDeviceResponse.Builder deviceCapacities(Consumer<Capacity.Builder>... deviceCapacities)
The hardware specifications of the device.
This is a convenience method that creates an instance of theCapacity.Builderavoiding the need to create one manually viaCapacity.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#deviceCapacities(List.) - 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:
#deviceCapacities(java.util.Collection)
-
deviceState
DescribeDeviceResponse.Builder deviceState(String 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:
UnlockState,UnlockState
-
deviceState
DescribeDeviceResponse.Builder deviceState(UnlockState 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:
UnlockState,UnlockState
-
deviceType
DescribeDeviceResponse.Builder deviceType(String 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
DescribeDeviceResponse.Builder lastReachedOutAt(Instant 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
DescribeDeviceResponse.Builder lastUpdatedAt(Instant 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
DescribeDeviceResponse.Builder managedDeviceArn(String 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
DescribeDeviceResponse.Builder managedDeviceId(String 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.Builderavoiding the need to create one manually viaPhysicalNetworkInterface.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#physicalNetworkInterfaces(List.) - 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:
#physicalNetworkInterfaces(java.util.Collection)
-
software
DescribeDeviceResponse.Builder software(SoftwareInformation 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
default DescribeDeviceResponse.Builder software(Consumer<SoftwareInformation.Builder> software)
The software installed on the device.
This is a convenience method that creates an instance of theSoftwareInformation.Builderavoiding the need to create one manually viaSoftwareInformation.builder().When the
Consumercompletes,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:
software(SoftwareInformation)
-
tags
DescribeDeviceResponse.Builder tags(Map<String,String> 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.
-
-