Interface NeuronInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NeuronInfo.Builder,
,NeuronInfo> SdkBuilder<NeuronInfo.Builder,
,NeuronInfo> SdkPojo
- Enclosing class:
NeuronInfo
public static interface NeuronInfo.Builder
extends SdkPojo, CopyableBuilder<NeuronInfo.Builder,NeuronInfo>
-
Method Summary
Modifier and TypeMethodDescriptionneuronDevices
(Collection<NeuronDeviceInfo> neuronDevices) Describes the neuron accelerators for the instance type.neuronDevices
(Consumer<NeuronDeviceInfo.Builder>... neuronDevices) Describes the neuron accelerators for the instance type.neuronDevices
(NeuronDeviceInfo... neuronDevices) Describes the neuron accelerators for the instance type.totalNeuronDeviceMemoryInMiB
(Integer totalNeuronDeviceMemoryInMiB) The total size of the memory for the neuron 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, sdkFields
-
Method Details
-
neuronDevices
Describes the neuron accelerators for the instance type.
- Parameters:
neuronDevices
- Describes the neuron accelerators for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
neuronDevices
Describes the neuron accelerators for the instance type.
- Parameters:
neuronDevices
- Describes the neuron accelerators for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
neuronDevices
Describes the neuron accelerators for the instance type.
This is a convenience method that creates an instance of theNeuronDeviceInfo.Builder
avoiding the need to create one manually viaNeuronDeviceInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toneuronDevices(List<NeuronDeviceInfo>)
.- Parameters:
neuronDevices
- a consumer that will call methods onNeuronDeviceInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
totalNeuronDeviceMemoryInMiB
The total size of the memory for the neuron accelerators for the instance type, in MiB.
- Parameters:
totalNeuronDeviceMemoryInMiB
- The total size of the memory for the neuron accelerators for the instance type, in MiB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-