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