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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description NeuronInfo.Builder
neuronDevices(Collection<NeuronDeviceInfo> neuronDevices)
Describes the neuron accelerators for the instance type.NeuronInfo.Builder
neuronDevices(Consumer<NeuronDeviceInfo.Builder>... neuronDevices)
Describes the neuron accelerators for the instance type.NeuronInfo.Builder
neuronDevices(NeuronDeviceInfo... neuronDevices)
Describes the neuron accelerators for the instance type.NeuronInfo.Builder
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 Detail
-
neuronDevices
NeuronInfo.Builder neuronDevices(Collection<NeuronDeviceInfo> 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
NeuronInfo.Builder neuronDevices(NeuronDeviceInfo... 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
NeuronInfo.Builder neuronDevices(Consumer<NeuronDeviceInfo.Builder>... 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 to#neuronDevices(List
.) - 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:
#neuronDevices(java.util.Collection
)
-
totalNeuronDeviceMemoryInMiB
NeuronInfo.Builder totalNeuronDeviceMemoryInMiB(Integer 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.
-
-