Interface InferenceDeviceInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InferenceDeviceInfo.Builder,InferenceDeviceInfo>,SdkBuilder<InferenceDeviceInfo.Builder,InferenceDeviceInfo>,SdkPojo
- Enclosing class:
- InferenceDeviceInfo
@Mutable @NotThreadSafe public static interface InferenceDeviceInfo.Builder extends SdkPojo, CopyableBuilder<InferenceDeviceInfo.Builder,InferenceDeviceInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description InferenceDeviceInfo.Buildercount(Integer count)The number of Inference accelerators for the instance type.InferenceDeviceInfo.Buildermanufacturer(String manufacturer)The manufacturer of the Inference accelerator.default InferenceDeviceInfo.BuildermemoryInfo(Consumer<InferenceDeviceMemoryInfo.Builder> memoryInfo)Describes the memory available to the inference accelerator.InferenceDeviceInfo.BuildermemoryInfo(InferenceDeviceMemoryInfo memoryInfo)Describes the memory available to the inference accelerator.InferenceDeviceInfo.Buildername(String name)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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
count
InferenceDeviceInfo.Builder count(Integer 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
InferenceDeviceInfo.Builder name(String 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
InferenceDeviceInfo.Builder manufacturer(String 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
InferenceDeviceInfo.Builder memoryInfo(InferenceDeviceMemoryInfo 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.Builderavoiding the need to create one manually viaInferenceDeviceMemoryInfo.builder().When the
Consumercompletes,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:
memoryInfo(InferenceDeviceMemoryInfo)
-
-