public static interface InferenceAcceleratorInfo.Builder extends SdkPojo, CopyableBuilder<InferenceAcceleratorInfo.Builder,InferenceAcceleratorInfo>
| Modifier and Type | Method and Description |
|---|---|
InferenceAcceleratorInfo.Builder |
accelerators(Collection<InferenceDeviceInfo> accelerators)
Describes the Inference accelerators for the instance type.
|
InferenceAcceleratorInfo.Builder |
accelerators(Consumer<InferenceDeviceInfo.Builder>... accelerators)
Describes the Inference accelerators for the instance type.
|
InferenceAcceleratorInfo.Builder |
accelerators(InferenceDeviceInfo... accelerators)
Describes the Inference accelerators for the instance type.
|
InferenceAcceleratorInfo.Builder |
totalInferenceMemoryInMiB(Integer totalInferenceMemoryInMiB)
The total size of the memory for the inference accelerators for the instance type, in MiB.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildInferenceAcceleratorInfo.Builder accelerators(Collection<InferenceDeviceInfo> accelerators)
Describes the Inference accelerators for the instance type.
accelerators - Describes the Inference accelerators for the instance type.InferenceAcceleratorInfo.Builder accelerators(InferenceDeviceInfo... accelerators)
Describes the Inference accelerators for the instance type.
accelerators - Describes the Inference accelerators for the instance type.InferenceAcceleratorInfo.Builder accelerators(Consumer<InferenceDeviceInfo.Builder>... accelerators)
Describes the Inference accelerators for the instance type.
This is a convenience method that creates an instance of theInferenceDeviceInfo.Builder avoiding the need to create one
manually via InferenceDeviceInfo.builder().
When the Consumer completes,
SdkBuilder.build() is called immediately
and its result is passed to #accelerators(List.
accelerators - a consumer that will call methods on
InferenceDeviceInfo.Builder#accelerators(java.util.Collection) InferenceAcceleratorInfo.Builder totalInferenceMemoryInMiB(Integer totalInferenceMemoryInMiB)
The total size of the memory for the inference accelerators for the instance type, in MiB.
totalInferenceMemoryInMiB - The total size of the memory for the inference accelerators for the instance type, in MiB.Copyright © 2023. All rights reserved.