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