Interface GetDeviceResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,BraketResponse.Builder
,Buildable
,CopyableBuilder<GetDeviceResponse.Builder,
,GetDeviceResponse> SdkBuilder<GetDeviceResponse.Builder,
,GetDeviceResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetDeviceResponse
@Mutable
@NotThreadSafe
public static interface GetDeviceResponse.Builder
extends BraketResponse.Builder, SdkPojo, CopyableBuilder<GetDeviceResponse.Builder,GetDeviceResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe ARN of the device.deviceCapabilities
(String deviceCapabilities) Details about the capabilities of the device.deviceName
(String deviceName) The name of the device.deviceQueueInfo
(Collection<DeviceQueueInfo> deviceQueueInfo) The number of quantum tasks and hybrid jobs currently queued on the device.deviceQueueInfo
(Consumer<DeviceQueueInfo.Builder>... deviceQueueInfo) The number of quantum tasks and hybrid jobs currently queued on the device.deviceQueueInfo
(DeviceQueueInfo... deviceQueueInfo) The number of quantum tasks and hybrid jobs currently queued on the device.deviceStatus
(String deviceStatus) The status of the device.deviceStatus
(DeviceStatus deviceStatus) The status of the device.deviceType
(String deviceType) The type of the device.deviceType
(DeviceType deviceType) The type of the device.providerName
(String providerName) The name of the partner company for the device.Methods inherited from interface software.amazon.awssdk.services.braket.model.BraketResponse.Builder
build, responseMetadata, responseMetadata
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
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
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.
-
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.
-
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.
-
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
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:
-
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
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:
-
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.
-
deviceQueueInfo
The number of quantum tasks and hybrid jobs currently queued on the device.
- Parameters:
deviceQueueInfo
- The number of quantum tasks and hybrid jobs currently queued on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceQueueInfo
The number of quantum tasks and hybrid jobs currently queued on the device.
- Parameters:
deviceQueueInfo
- The number of quantum tasks and hybrid jobs currently queued on the device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceQueueInfo
The number of quantum tasks and hybrid jobs currently queued on the device.
This is a convenience method that creates an instance of theDeviceQueueInfo.Builder
avoiding the need to create one manually viaDeviceQueueInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todeviceQueueInfo(List<DeviceQueueInfo>)
.- Parameters:
deviceQueueInfo
- a consumer that will call methods onDeviceQueueInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-