Class CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty.Builder
java.lang.Object
software.amazon.awscdk.services.ecs.CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty>
- Enclosing interface:
CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty
@Stability(Stable)
public static final class CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty.getMax()Sets the value ofCfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty.getMin()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
max
@Stability(Stable) public CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty.Builder max(Number max) Sets the value ofCfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty.getMax()- Parameters:
max- The maximum total accelerator memory in MiB. Instance types with more accelerator memory are excluded from selection.- Returns:
this
-
min
@Stability(Stable) public CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty.Builder min(Number min) Sets the value ofCfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty.getMin()- Parameters:
min- The minimum total accelerator memory in MiB. Instance types with less accelerator memory are excluded from selection.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty>- Returns:
- a new instance of
CfnCapacityProvider.AcceleratorTotalMemoryMiBRequestProperty - Throws:
NullPointerException- if any required attribute was not provided
-