Interface GpuDeviceInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GpuDeviceInfo.Builder,,GpuDeviceInfo> SdkBuilder<GpuDeviceInfo.Builder,,GpuDeviceInfo> SdkPojo
- Enclosing class:
GpuDeviceInfo
@Mutable
@NotThreadSafe
public static interface GpuDeviceInfo.Builder
extends SdkPojo, CopyableBuilder<GpuDeviceInfo.Builder,GpuDeviceInfo>
-
Method Summary
Modifier and TypeMethodDescriptionThe number of GPUs for the instance type.manufacturer(String manufacturer) The manufacturer of the GPU accelerator.default GpuDeviceInfo.BuildermemoryInfo(Consumer<GpuDeviceMemoryInfo.Builder> memoryInfo) Describes the memory available to the GPU accelerator.memoryInfo(GpuDeviceMemoryInfo memoryInfo) Describes the memory available to the GPU accelerator.The name of the GPU accelerator.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The name of the GPU accelerator.
- Parameters:
name- The name of the GPU accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manufacturer
The manufacturer of the GPU accelerator.
- Parameters:
manufacturer- The manufacturer of the GPU accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
count
The number of GPUs for the instance type.
- Parameters:
count- The number of GPUs for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryInfo
Describes the memory available to the GPU accelerator.
- Parameters:
memoryInfo- Describes the memory available to the GPU accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryInfo
Describes the memory available to the GPU accelerator.
This is a convenience method that creates an instance of theGpuDeviceMemoryInfo.Builderavoiding the need to create one manually viaGpuDeviceMemoryInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomemoryInfo(GpuDeviceMemoryInfo).- Parameters:
memoryInfo- a consumer that will call methods onGpuDeviceMemoryInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-