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