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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description AcceleratorType.BuilderacceleratorTypeName(String acceleratorTypeName)The name of the Elastic Inference Accelerator type.default AcceleratorType.BuildermemoryInfo(Consumer<MemoryInfo.Builder> memoryInfo)The memory information of the Elastic Inference Accelerator type.AcceleratorType.BuildermemoryInfo(MemoryInfo memoryInfo)The memory information of the Elastic Inference Accelerator type.AcceleratorType.BuilderthroughputInfo(Collection<KeyValuePair> throughputInfo)The throughput information of the Elastic Inference Accelerator type.AcceleratorType.BuilderthroughputInfo(Consumer<KeyValuePair.Builder>... throughputInfo)The throughput information of the Elastic Inference Accelerator type.AcceleratorType.BuilderthroughputInfo(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 Detail
-
acceleratorTypeName
AcceleratorType.Builder acceleratorTypeName(String 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
AcceleratorType.Builder memoryInfo(MemoryInfo 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
default AcceleratorType.Builder memoryInfo(Consumer<MemoryInfo.Builder> memoryInfo)
The memory information of the Elastic Inference Accelerator type.
This is a convenience method that creates an instance of theMemoryInfo.Builderavoiding the need to create one manually viaMemoryInfo.builder().When the
Consumercompletes,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:
memoryInfo(MemoryInfo)
-
throughputInfo
AcceleratorType.Builder throughputInfo(Collection<KeyValuePair> 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
AcceleratorType.Builder throughputInfo(KeyValuePair... 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
AcceleratorType.Builder throughputInfo(Consumer<KeyValuePair.Builder>... throughputInfo)
The throughput information of the Elastic Inference Accelerator type.
This is a convenience method that creates an instance of theKeyValuePair.Builderavoiding the need to create one manually viaKeyValuePair.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#throughputInfo(List.) - 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:
#throughputInfo(java.util.Collection)
-
-