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