Interface DetailedInstanceTypeItem.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DetailedInstanceTypeItem.Builder,,DetailedInstanceTypeItem> SdkBuilder<DetailedInstanceTypeItem.Builder,,DetailedInstanceTypeItem> SdkPojo
- Enclosing class:
- DetailedInstanceTypeItem
@Mutable
@NotThreadSafe
public static interface DetailedInstanceTypeItem.Builder
extends SdkPojo, CopyableBuilder<DetailedInstanceTypeItem.Builder,DetailedInstanceTypeItem>
-
Method Summary
Modifier and TypeMethodDescriptionformFactorConfigs(Collection<FormFactorConfig> formFactorConfigs) The supported form factor and Outpost generation configurations for the instance type.formFactorConfigs(Consumer<FormFactorConfig.Builder>... formFactorConfigs) The supported form factor and Outpost generation configurations for the instance type.formFactorConfigs(FormFactorConfig... formFactorConfigs) The supported form factor and Outpost generation configurations for the instance type.instanceType(String instanceType) The instance type.memoryInMib(Integer memoryInMib) The memory size of the instance type, in MiB.networkPerformance(String networkPerformance) The network performance of the instance type.The number of default VCPUs in the instance type.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
-
instanceType
The instance type.
- Parameters:
instanceType- The instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vcpUs
The number of default VCPUs in the instance type.
- Parameters:
vcpUs- The number of default VCPUs in the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
memoryInMib
The memory size of the instance type, in MiB.
- Parameters:
memoryInMib- The memory size of the instance type, in MiB.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkPerformance
The network performance of the instance type.
- Parameters:
networkPerformance- The network performance of the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formFactorConfigs
The supported form factor and Outpost generation configurations for the instance type.
- Parameters:
formFactorConfigs- The supported form factor and Outpost generation configurations for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formFactorConfigs
The supported form factor and Outpost generation configurations for the instance type.
- Parameters:
formFactorConfigs- The supported form factor and Outpost generation configurations for the instance type.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
formFactorConfigs
DetailedInstanceTypeItem.Builder formFactorConfigs(Consumer<FormFactorConfig.Builder>... formFactorConfigs) The supported form factor and Outpost generation configurations for the instance type.
This is a convenience method that creates an instance of theFormFactorConfig.Builderavoiding the need to create one manually viaFormFactorConfig.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toformFactorConfigs(List<FormFactorConfig>).- Parameters:
formFactorConfigs- a consumer that will call methods onFormFactorConfig.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-