public static final class CfnDistributionConfiguration.FastLaunchConfigurationProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
public CfnDistributionConfiguration.FastLaunchConfigurationProperty.Builder accountId(java.lang.String accountId)
accountId
- The owner account ID for the fast-launch enabled Windows AMI.this
public CfnDistributionConfiguration.FastLaunchConfigurationProperty.Builder enabled(java.lang.Boolean enabled)
enabled
- A Boolean that represents the current state of faster launching for the Windows AMI.
Set to true
to start using Windows faster launching, or false
to stop using it.this
public CfnDistributionConfiguration.FastLaunchConfigurationProperty.Builder enabled(IResolvable enabled)
enabled
- A Boolean that represents the current state of faster launching for the Windows AMI.
Set to true
to start using Windows faster launching, or false
to stop using it.this
public CfnDistributionConfiguration.FastLaunchConfigurationProperty.Builder launchTemplate(IResolvable launchTemplate)
launchTemplate
- The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.this
public CfnDistributionConfiguration.FastLaunchConfigurationProperty.Builder launchTemplate(CfnDistributionConfiguration.FastLaunchLaunchTemplateSpecificationProperty launchTemplate)
launchTemplate
- The launch template that the fast-launch enabled Windows AMI uses when it launches Windows instances to create pre-provisioned snapshots.this
public CfnDistributionConfiguration.FastLaunchConfigurationProperty.Builder maxParallelLaunches(java.lang.Number maxParallelLaunches)
CfnDistributionConfiguration.FastLaunchConfigurationProperty.getMaxParallelLaunches()
maxParallelLaunches
- The maximum number of parallel instances that are launched for creating resources.this
public CfnDistributionConfiguration.FastLaunchConfigurationProperty.Builder snapshotConfiguration(IResolvable snapshotConfiguration)
CfnDistributionConfiguration.FastLaunchConfigurationProperty.getSnapshotConfiguration()
snapshotConfiguration
- Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.this
public CfnDistributionConfiguration.FastLaunchConfigurationProperty.Builder snapshotConfiguration(CfnDistributionConfiguration.FastLaunchSnapshotConfigurationProperty snapshotConfiguration)
CfnDistributionConfiguration.FastLaunchConfigurationProperty.getSnapshotConfiguration()
snapshotConfiguration
- Configuration settings for managing the number of snapshots that are created from pre-provisioned instances for the Windows AMI when faster launching is enabled.this
public CfnDistributionConfiguration.FastLaunchConfigurationProperty build()
CfnDistributionConfiguration.FastLaunchConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided