Interface NeuronDeviceInfo.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<NeuronDeviceInfo.Builder,,NeuronDeviceInfo> SdkBuilder<NeuronDeviceInfo.Builder,,NeuronDeviceInfo> SdkPojo
- Enclosing class:
NeuronDeviceInfo
@Mutable
@NotThreadSafe
public static interface NeuronDeviceInfo.Builder
extends SdkPojo, CopyableBuilder<NeuronDeviceInfo.Builder,NeuronDeviceInfo>
-
Method Summary
Modifier and TypeMethodDescriptiondefault NeuronDeviceInfo.BuildercoreInfo(Consumer<NeuronDeviceCoreInfo.Builder> coreInfo) Describes the cores available to each neuron accelerator.coreInfo(NeuronDeviceCoreInfo coreInfo) Describes the cores available to each neuron accelerator.The number of neuron accelerators for the instance type.default NeuronDeviceInfo.BuildermemoryInfo(Consumer<NeuronDeviceMemoryInfo.Builder> memoryInfo) Describes the memory available to each neuron accelerator.memoryInfo(NeuronDeviceMemoryInfo memoryInfo) Describes the memory available to each neuron accelerator.The name of the neuron accelerator.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
count
The number of neuron accelerators for the instance type.
- Parameters:
count- The number of neuron accelerators for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The name of the neuron accelerator.
- Parameters:
name- The name of the neuron accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreInfo
Describes the cores available to each neuron accelerator.
- Parameters:
coreInfo- Describes the cores available to each neuron accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
coreInfo
Describes the cores available to each neuron accelerator.
This is a convenience method that creates an instance of theNeuronDeviceCoreInfo.Builderavoiding the need to create one manually viaNeuronDeviceCoreInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocoreInfo(NeuronDeviceCoreInfo).- Parameters:
coreInfo- a consumer that will call methods onNeuronDeviceCoreInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
memoryInfo
Describes the memory available to each neuron accelerator.
- Parameters:
memoryInfo- Describes the memory available to each neuron accelerator.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryInfo
Describes the memory available to each neuron accelerator.
This is a convenience method that creates an instance of theNeuronDeviceMemoryInfo.Builderavoiding the need to create one manually viaNeuronDeviceMemoryInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomemoryInfo(NeuronDeviceMemoryInfo).- Parameters:
memoryInfo- a consumer that will call methods onNeuronDeviceMemoryInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-