Interface FpgaDeviceInfo.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<FpgaDeviceInfo.Builder,FpgaDeviceInfo>
,SdkBuilder<FpgaDeviceInfo.Builder,FpgaDeviceInfo>
,SdkPojo
- Enclosing class:
- FpgaDeviceInfo
public static interface FpgaDeviceInfo.Builder extends SdkPojo, CopyableBuilder<FpgaDeviceInfo.Builder,FpgaDeviceInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method 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.-
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 Detail
-
name
FpgaDeviceInfo.Builder name(String name)
The name of the FPGA accelerator.
- Parameters:
name
- The name of the FPGA accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manufacturer
FpgaDeviceInfo.Builder manufacturer(String manufacturer)
The manufacturer of the FPGA accelerator.
- Parameters:
manufacturer
- The manufacturer of the FPGA accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
FpgaDeviceInfo.Builder count(Integer count)
The count of FPGA accelerators for the instance type.
- Parameters:
count
- The count of FPGA accelerators for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryInfo
FpgaDeviceInfo.Builder memoryInfo(FpgaDeviceMemoryInfo memoryInfo)
Describes the memory for the FPGA accelerator for the instance type.
- Parameters:
memoryInfo
- Describes the memory for the FPGA accelerator for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryInfo
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 viaFpgaDeviceMemoryInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemoryInfo(FpgaDeviceMemoryInfo)
.- Parameters:
memoryInfo
- a consumer that will call methods onFpgaDeviceMemoryInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
memoryInfo(FpgaDeviceMemoryInfo)
-
-