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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description FpgaInfo.Builderfpgas(Collection<FpgaDeviceInfo> fpgas)Describes the FPGAs for the instance type.FpgaInfo.Builderfpgas(Consumer<FpgaDeviceInfo.Builder>... fpgas)Describes the FPGAs for the instance type.FpgaInfo.Builderfpgas(FpgaDeviceInfo... fpgas)Describes the FPGAs for the instance type.FpgaInfo.BuildertotalFpgaMemoryInMiB(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
fpgas
FpgaInfo.Builder fpgas(Collection<FpgaDeviceInfo> 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
FpgaInfo.Builder fpgas(FpgaDeviceInfo... 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
FpgaInfo.Builder fpgas(Consumer<FpgaDeviceInfo.Builder>... fpgas)
Describes the FPGAs for the instance type.
This is a convenience method that creates an instance of theFpgaDeviceInfo.Builderavoiding the need to create one manually viaFpgaDeviceInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#fpgas(List.) - 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:
#fpgas(java.util.Collection)
-
totalFpgaMemoryInMiB
FpgaInfo.Builder totalFpgaMemoryInMiB(Integer 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.
-
-