public static interface InferenceDeviceInfo.Builder extends SdkPojo, CopyableBuilder<InferenceDeviceInfo.Builder,InferenceDeviceInfo>
| Modifier and Type | Method and Description |
|---|---|
InferenceDeviceInfo.Builder |
count(Integer count)
The number of Inference accelerators for the instance type.
|
InferenceDeviceInfo.Builder |
manufacturer(String manufacturer)
The manufacturer of the Inference accelerator.
|
default InferenceDeviceInfo.Builder |
memoryInfo(Consumer<InferenceDeviceMemoryInfo.Builder> memoryInfo)
Describes the memory available to the inference accelerator.
|
InferenceDeviceInfo.Builder |
memoryInfo(InferenceDeviceMemoryInfo memoryInfo)
Describes the memory available to the inference accelerator.
|
InferenceDeviceInfo.Builder |
name(String name)
The name of the Inference accelerator.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInferenceDeviceInfo.Builder count(Integer count)
The number of Inference accelerators for the instance type.
count - The number of Inference accelerators for the instance type.InferenceDeviceInfo.Builder name(String name)
The name of the Inference accelerator.
name - The name of the Inference accelerator.InferenceDeviceInfo.Builder manufacturer(String manufacturer)
The manufacturer of the Inference accelerator.
manufacturer - The manufacturer of the Inference accelerator.InferenceDeviceInfo.Builder memoryInfo(InferenceDeviceMemoryInfo memoryInfo)
Describes the memory available to the inference accelerator.
memoryInfo - Describes the memory available to the inference accelerator.default InferenceDeviceInfo.Builder memoryInfo(Consumer<InferenceDeviceMemoryInfo.Builder> memoryInfo)
Describes the memory available to the inference accelerator.
This is a convenience method that creates an instance of theInferenceDeviceMemoryInfo.Builder
avoiding the need to create one manually via InferenceDeviceMemoryInfo.builder().
When the Consumer completes, SdkBuilder.build() is called immediately
and its result is passed to memoryInfo(InferenceDeviceMemoryInfo).
memoryInfo - a consumer that will call methods on InferenceDeviceMemoryInfo.BuildermemoryInfo(InferenceDeviceMemoryInfo)Copyright © 2023. All rights reserved.