Interface InferenceAcceleratorInfo.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InferenceAcceleratorInfo.Builder,InferenceAcceleratorInfo>,SdkBuilder<InferenceAcceleratorInfo.Builder,InferenceAcceleratorInfo>,SdkPojo
- Enclosing class:
- InferenceAcceleratorInfo
public static interface InferenceAcceleratorInfo.Builder extends SdkPojo, CopyableBuilder<InferenceAcceleratorInfo.Builder,InferenceAcceleratorInfo>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description InferenceAcceleratorInfo.Builderaccelerators(Collection<InferenceDeviceInfo> accelerators)Describes the Inference accelerators for the instance type.InferenceAcceleratorInfo.Builderaccelerators(Consumer<InferenceDeviceInfo.Builder>... accelerators)Describes the Inference accelerators for the instance type.InferenceAcceleratorInfo.Builderaccelerators(InferenceDeviceInfo... accelerators)Describes the Inference accelerators for the instance type.InferenceAcceleratorInfo.BuildertotalInferenceMemoryInMiB(Integer totalInferenceMemoryInMiB)The total size of the memory for the inference accelerators for the instance type, in MiB.-
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
-
accelerators
InferenceAcceleratorInfo.Builder accelerators(Collection<InferenceDeviceInfo> accelerators)
Describes the Inference accelerators for the instance type.
- Parameters:
accelerators- Describes the Inference accelerators for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accelerators
InferenceAcceleratorInfo.Builder accelerators(InferenceDeviceInfo... accelerators)
Describes the Inference accelerators for the instance type.
- Parameters:
accelerators- Describes the Inference accelerators for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accelerators
InferenceAcceleratorInfo.Builder accelerators(Consumer<InferenceDeviceInfo.Builder>... accelerators)
Describes the Inference accelerators for the instance type.
This is a convenience method that creates an instance of theInferenceDeviceInfo.Builderavoiding the need to create one manually viaInferenceDeviceInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#accelerators(List.) - Parameters:
accelerators- a consumer that will call methods onInferenceDeviceInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#accelerators(java.util.Collection)
-
totalInferenceMemoryInMiB
InferenceAcceleratorInfo.Builder totalInferenceMemoryInMiB(Integer totalInferenceMemoryInMiB)
The total size of the memory for the inference accelerators for the instance type, in MiB.
- Parameters:
totalInferenceMemoryInMiB- The total size of the memory for the inference accelerators for the instance type, in MiB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-