Class LaunchTemplateInstanceRequirementsVcpuCount.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.aws.launch_template.LaunchTemplateInstanceRequirementsVcpuCount.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<LaunchTemplateInstanceRequirementsVcpuCount>
- Enclosing interface:
- LaunchTemplateInstanceRequirementsVcpuCount
@Stability(Stable) public static final class LaunchTemplateInstanceRequirementsVcpuCount.Builder extends Object implements software.amazon.jsii.Builder<LaunchTemplateInstanceRequirementsVcpuCount>
A builder forLaunchTemplateInstanceRequirementsVcpuCount
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LaunchTemplateInstanceRequirementsVcpuCountbuild()Builds the configured instance.LaunchTemplateInstanceRequirementsVcpuCount.Buildermax(Number max)Sets the value ofLaunchTemplateInstanceRequirementsVcpuCount.getMax()LaunchTemplateInstanceRequirementsVcpuCount.Buildermin(Number min)Sets the value ofLaunchTemplateInstanceRequirementsVcpuCount.getMin()
-
-
-
Method Detail
-
min
@Stability(Stable) public LaunchTemplateInstanceRequirementsVcpuCount.Builder min(Number min)
Sets the value ofLaunchTemplateInstanceRequirementsVcpuCount.getMin()- Parameters:
min- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#min LaunchTemplate#min}. This parameter is required.- Returns:
this
-
max
@Stability(Stable) public LaunchTemplateInstanceRequirementsVcpuCount.Builder max(Number max)
Sets the value ofLaunchTemplateInstanceRequirementsVcpuCount.getMax()- Parameters:
max- Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/aws/5.6.1/docs/resources/launch_template#max LaunchTemplate#max}.- Returns:
this
-
build
@Stability(Stable) public LaunchTemplateInstanceRequirementsVcpuCount build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<LaunchTemplateInstanceRequirementsVcpuCount>- Returns:
- a new instance of
LaunchTemplateInstanceRequirementsVcpuCount - Throws:
NullPointerException- if any required attribute was not provided
-
-