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.BuilderneuronDevices(Collection<NeuronDeviceInfo> neuronDevices)Describes the neuron accelerators for the instance type.NeuronInfo.BuilderneuronDevices(Consumer<NeuronDeviceInfo.Builder>... neuronDevices)Describes the neuron accelerators for the instance type.NeuronInfo.BuilderneuronDevices(NeuronDeviceInfo... neuronDevices)Describes the neuron accelerators for the instance type.NeuronInfo.BuildertotalNeuronDeviceMemoryInMiB(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, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaNeuronDeviceInfo.builder().When the
Consumercompletes,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.
-
-