Class CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mgn.CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty>
- Enclosing interface:
CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty
@Stability(Stable)
public static final class CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty.getIops()throughput(Number throughput) volumeType(String volumeType)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
iops
@Stability(Stable) public CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty.Builder iops(Number iops) Sets the value ofCfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty.getIops()- Parameters:
iops- Launch template disk IOPS configuration.- Returns:
this
-
throughput
@Stability(Stable) public CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty.Builder throughput(Number throughput) - Parameters:
throughput- Launch template disk throughput configuration, in MiB/s.- Returns:
this
-
volumeType
@Stability(Stable) public CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty.Builder volumeType(String volumeType) - Parameters:
volumeType- Launch template disk volume type configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty>- Returns:
- a new instance of
CfnLaunchConfigurationTemplate.LaunchTemplateDiskConfProperty - Throws:
NullPointerException- if any required attribute was not provided
-