public static final class CfnDistributionConfiguration.LaunchTemplateConfigurationProperty.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
CfnDistributionConfiguration.LaunchTemplateConfigurationProperty.Builder |
accountId(java.lang.String accountId)
|
CfnDistributionConfiguration.LaunchTemplateConfigurationProperty |
build()
Builds the configured instance.
|
CfnDistributionConfiguration.LaunchTemplateConfigurationProperty.Builder |
launchTemplateId(java.lang.String launchTemplateId)
|
CfnDistributionConfiguration.LaunchTemplateConfigurationProperty.Builder |
setDefaultVersion(java.lang.Boolean setDefaultVersion)
|
CfnDistributionConfiguration.LaunchTemplateConfigurationProperty.Builder |
setDefaultVersion(IResolvable setDefaultVersion)
|
public CfnDistributionConfiguration.LaunchTemplateConfigurationProperty.Builder accountId(java.lang.String accountId)
accountId
- The account ID that this configuration applies to.this
public CfnDistributionConfiguration.LaunchTemplateConfigurationProperty.Builder launchTemplateId(java.lang.String launchTemplateId)
CfnDistributionConfiguration.LaunchTemplateConfigurationProperty.getLaunchTemplateId()
launchTemplateId
- Identifies the Amazon EC2 launch template to use.this
public CfnDistributionConfiguration.LaunchTemplateConfigurationProperty.Builder setDefaultVersion(java.lang.Boolean setDefaultVersion)
CfnDistributionConfiguration.LaunchTemplateConfigurationProperty.getSetDefaultVersion()
setDefaultVersion
- Set the specified Amazon EC2 launch template as the default launch template for the specified account.this
public CfnDistributionConfiguration.LaunchTemplateConfigurationProperty.Builder setDefaultVersion(IResolvable setDefaultVersion)
CfnDistributionConfiguration.LaunchTemplateConfigurationProperty.getSetDefaultVersion()
setDefaultVersion
- Set the specified Amazon EC2 launch template as the default launch template for the specified account.this
public CfnDistributionConfiguration.LaunchTemplateConfigurationProperty build()
CfnDistributionConfiguration.LaunchTemplateConfigurationProperty
java.lang.NullPointerException
- if any required attribute was not provided