Class CfnLaunchTemplatePropsMixin.LicenseSpecificationProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.ec2.CfnLaunchTemplatePropsMixin.LicenseSpecificationProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.LicenseSpecificationProperty>
- Enclosing interface:
CfnLaunchTemplatePropsMixin.LicenseSpecificationProperty
@Stability(Stable)
public static final class CfnLaunchTemplatePropsMixin.LicenseSpecificationProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.LicenseSpecificationProperty>
A builder for
CfnLaunchTemplatePropsMixin.LicenseSpecificationProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.licenseConfigurationArn(String licenseConfigurationArn)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
licenseConfigurationArn
@Stability(Stable) public CfnLaunchTemplatePropsMixin.LicenseSpecificationProperty.Builder licenseConfigurationArn(String licenseConfigurationArn) Sets the value ofCfnLaunchTemplatePropsMixin.LicenseSpecificationProperty.getLicenseConfigurationArn()- Parameters:
licenseConfigurationArn- The Amazon Resource Name (ARN) of the license configuration.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchTemplatePropsMixin.LicenseSpecificationProperty>- Returns:
- a new instance of
CfnLaunchTemplatePropsMixin.LicenseSpecificationProperty - Throws:
NullPointerException- if any required attribute was not provided
-