Interface FpgaInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<FpgaInfo.Builder,
,FpgaInfo> SdkBuilder<FpgaInfo.Builder,
,FpgaInfo> SdkPojo
- Enclosing class:
FpgaInfo
public static interface FpgaInfo.Builder
extends SdkPojo, CopyableBuilder<FpgaInfo.Builder,FpgaInfo>
-
Method Summary
Modifier and TypeMethodDescriptionfpgas
(Collection<FpgaDeviceInfo> fpgas) Describes the FPGAs for the instance type.fpgas
(Consumer<FpgaDeviceInfo.Builder>... fpgas) Describes the FPGAs for the instance type.fpgas
(FpgaDeviceInfo... fpgas) Describes the FPGAs for the instance type.totalFpgaMemoryInMiB
(Integer totalFpgaMemoryInMiB) The total memory of all FPGA accelerators for the instance type.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, sdkFields
-
Method Details
-
fpgas
Describes the FPGAs for the instance type.
- Parameters:
fpgas
- Describes the FPGAs for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fpgas
Describes the FPGAs for the instance type.
- Parameters:
fpgas
- Describes the FPGAs for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
fpgas
Describes the FPGAs for the instance type.
This is a convenience method that creates an instance of theFpgaDeviceInfo.Builder
avoiding the need to create one manually viaFpgaDeviceInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tofpgas(List<FpgaDeviceInfo>)
.- Parameters:
fpgas
- a consumer that will call methods onFpgaDeviceInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalFpgaMemoryInMiB
The total memory of all FPGA accelerators for the instance type.
- Parameters:
totalFpgaMemoryInMiB
- The total memory of all FPGA accelerators for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-