Interface NeuronDeviceInfo.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NeuronDeviceInfo.Builder,
,NeuronDeviceInfo> SdkBuilder<NeuronDeviceInfo.Builder,
,NeuronDeviceInfo> SdkPojo
- Enclosing class:
NeuronDeviceInfo
public static interface NeuronDeviceInfo.Builder
extends SdkPojo, CopyableBuilder<NeuronDeviceInfo.Builder,NeuronDeviceInfo>
-
Method Summary
Modifier and TypeMethodDescriptiondefault NeuronDeviceInfo.Builder
coreInfo
(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.Builder
memoryInfo
(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
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
-
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.Builder
avoiding the need to create one manually viaNeuronDeviceCoreInfo.builder()
.When the
Consumer
completes,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.Builder
avoiding the need to create one manually viaNeuronDeviceMemoryInfo.builder()
.When the
Consumer
completes,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:
-