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