Interface GetDeviceResponse.Builder

All Superinterfaces:
AwsResponse.Builder, BraketResponse.Builder, Buildable, CopyableBuilder<GetDeviceResponse.Builder,GetDeviceResponse>, SdkBuilder<GetDeviceResponse.Builder,GetDeviceResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetDeviceResponse

public static interface GetDeviceResponse.Builder extends BraketResponse.Builder, SdkPojo, CopyableBuilder<GetDeviceResponse.Builder,GetDeviceResponse>
  • Method Details

    • deviceArn

      GetDeviceResponse.Builder deviceArn(String deviceArn)

      The ARN of the device.

      Parameters:
      deviceArn - The ARN of the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceCapabilities

      GetDeviceResponse.Builder deviceCapabilities(String deviceCapabilities)

      Details about the capabilities of the device.

      Parameters:
      deviceCapabilities - Details about the capabilities of the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceName

      GetDeviceResponse.Builder deviceName(String deviceName)

      The name of the device.

      Parameters:
      deviceName - The name of the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceQueueInfo

      GetDeviceResponse.Builder deviceQueueInfo(Collection<DeviceQueueInfo> deviceQueueInfo)

      List of information about tasks and jobs queued on a device.

      Parameters:
      deviceQueueInfo - List of information about tasks and jobs queued on a device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceQueueInfo

      GetDeviceResponse.Builder deviceQueueInfo(DeviceQueueInfo... deviceQueueInfo)

      List of information about tasks and jobs queued on a device.

      Parameters:
      deviceQueueInfo - List of information about tasks and jobs queued on a device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • deviceQueueInfo

      GetDeviceResponse.Builder deviceQueueInfo(Consumer<DeviceQueueInfo.Builder>... deviceQueueInfo)

      List of information about tasks and jobs queued on a device.

      This is a convenience method that creates an instance of the DeviceQueueInfo.Builder avoiding the need to create one manually via DeviceQueueInfo.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to deviceQueueInfo(List<DeviceQueueInfo>).

      Parameters:
      deviceQueueInfo - a consumer that will call methods on DeviceQueueInfo.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deviceStatus

      GetDeviceResponse.Builder deviceStatus(String deviceStatus)

      The status of the device.

      Parameters:
      deviceStatus - The status of the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deviceStatus

      GetDeviceResponse.Builder deviceStatus(DeviceStatus deviceStatus)

      The status of the device.

      Parameters:
      deviceStatus - The status of the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deviceType

      GetDeviceResponse.Builder deviceType(String deviceType)

      The type of the device.

      Parameters:
      deviceType - The type of the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • deviceType

      GetDeviceResponse.Builder deviceType(DeviceType deviceType)

      The type of the device.

      Parameters:
      deviceType - The type of the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • providerName

      GetDeviceResponse.Builder providerName(String providerName)

      The name of the partner company for the device.

      Parameters:
      providerName - The name of the partner company for the device.
      Returns:
      Returns a reference to this object so that method calls can be chained together.