Interface InferenceDeviceInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<InferenceDeviceInfo.Builder,
,InferenceDeviceInfo> SdkBuilder<InferenceDeviceInfo.Builder,
,InferenceDeviceInfo> SdkPojo
- Enclosing class:
InferenceDeviceInfo
public static interface InferenceDeviceInfo.Builder
extends SdkPojo, CopyableBuilder<InferenceDeviceInfo.Builder,InferenceDeviceInfo>
-
Method Summary
Modifier and TypeMethodDescriptionThe number of Inference accelerators for the instance type.manufacturer
(String manufacturer) The manufacturer of the Inference accelerator.default InferenceDeviceInfo.Builder
memoryInfo
(Consumer<InferenceDeviceMemoryInfo.Builder> memoryInfo) Describes the memory available to the inference accelerator.memoryInfo
(InferenceDeviceMemoryInfo memoryInfo) Describes the memory available to the inference accelerator.The name of the Inference 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 Details
-
count
The number of Inference accelerators for the instance type.
- Parameters:
count
- The number of Inference accelerators for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the Inference accelerator.
- Parameters:
name
- The name of the Inference accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
manufacturer
The manufacturer of the Inference accelerator.
- Parameters:
manufacturer
- The manufacturer of the Inference accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryInfo
Describes the memory available to the inference accelerator.
- Parameters:
memoryInfo
- Describes the memory available to the inference accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryInfo
default InferenceDeviceInfo.Builder memoryInfo(Consumer<InferenceDeviceMemoryInfo.Builder> memoryInfo) Describes the memory available to the inference accelerator.
This is a convenience method that creates an instance of theInferenceDeviceMemoryInfo.Builder
avoiding the need to create one manually viaInferenceDeviceMemoryInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemoryInfo(InferenceDeviceMemoryInfo)
.- Parameters:
memoryInfo
- a consumer that will call methods onInferenceDeviceMemoryInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-