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.
|
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 that creates an instance of theList.Builder avoiding the
need to create one manually via List#builder() .
When the Consumer completes, List.Builder#build() is called immediately
and its result is passed to #accelerators(List) .accelerators - a consumer that will call methods on List.Builder #accelerators(List) Copyright © 2020. All rights reserved.