Class CfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty.Builder
java.lang.Object
software.amazon.awscdk.services.imagebuilder.CfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty>
- Enclosing interface:
CfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty
@Stability(Stable)
public static final class CfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.targetResourceCount
(Number targetResourceCount)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
targetResourceCount
@Stability(Stable) public CfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty.Builder targetResourceCount(Number targetResourceCount) Sets the value ofCfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty.getTargetResourceCount()
- Parameters:
targetResourceCount
- The number of pre-provisioned snapshots to keep on hand for a fast-launch enabled Windows AMI.- Returns:
this
-
build
@Stability(Stable) public CfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty build()Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<CfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty>
- Returns:
- a new instance of
CfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty
- Throws:
NullPointerException
- if any required attribute was not provided
-