Interface AcceleratorType.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AcceleratorType.Builder,
,AcceleratorType> SdkBuilder<AcceleratorType.Builder,
,AcceleratorType> SdkPojo
- Enclosing class:
AcceleratorType
public static interface AcceleratorType.Builder
extends SdkPojo, CopyableBuilder<AcceleratorType.Builder,AcceleratorType>
-
Method Summary
Modifier and TypeMethodDescriptionacceleratorTypeName
(String acceleratorTypeName) The name of the Elastic Inference Accelerator type.default AcceleratorType.Builder
memoryInfo
(Consumer<MemoryInfo.Builder> memoryInfo) The memory information of the Elastic Inference Accelerator type.memoryInfo
(MemoryInfo memoryInfo) The memory information of the Elastic Inference Accelerator type.throughputInfo
(Collection<KeyValuePair> throughputInfo) The throughput information of the Elastic Inference Accelerator type.throughputInfo
(Consumer<KeyValuePair.Builder>... throughputInfo) The throughput information of the Elastic Inference Accelerator type.throughputInfo
(KeyValuePair... throughputInfo) The throughput information of the Elastic Inference Accelerator type.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
-
acceleratorTypeName
The name of the Elastic Inference Accelerator type.
- Parameters:
acceleratorTypeName
- The name of the Elastic Inference Accelerator type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryInfo
The memory information of the Elastic Inference Accelerator type.
- Parameters:
memoryInfo
- The memory information of the Elastic Inference Accelerator type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryInfo
The memory information of the Elastic Inference Accelerator type.
This is a convenience method that creates an instance of theMemoryInfo.Builder
avoiding the need to create one manually viaMemoryInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomemoryInfo(MemoryInfo)
.- Parameters:
memoryInfo
- a consumer that will call methods onMemoryInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
throughputInfo
The throughput information of the Elastic Inference Accelerator type.
- Parameters:
throughputInfo
- The throughput information of the Elastic Inference Accelerator type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
throughputInfo
The throughput information of the Elastic Inference Accelerator type.
- Parameters:
throughputInfo
- The throughput information of the Elastic Inference Accelerator type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
throughputInfo
The throughput information of the Elastic Inference Accelerator type.
This is a convenience method that creates an instance of theKeyValuePair.Builder
avoiding the need to create one manually viaKeyValuePair.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tothroughputInfo(List<KeyValuePair>)
.- Parameters:
throughputInfo
- a consumer that will call methods onKeyValuePair.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-