Class CfnLaunchConfigurationTemplate.LicensingProperty.Builder
java.lang.Object
software.amazon.awscdk.services.mgn.CfnLaunchConfigurationTemplate.LicensingProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLaunchConfigurationTemplate.LicensingProperty>
- Enclosing interface:
CfnLaunchConfigurationTemplate.LicensingProperty
@Stability(Stable)
public static final class CfnLaunchConfigurationTemplate.LicensingProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLaunchConfigurationTemplate.LicensingProperty>
A builder for
CfnLaunchConfigurationTemplate.LicensingProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnLaunchConfigurationTemplate.LicensingProperty.getOsByol()osByol(IResolvable osByol) Sets the value ofCfnLaunchConfigurationTemplate.LicensingProperty.getOsByol()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
osByol
@Stability(Stable) public CfnLaunchConfigurationTemplate.LicensingProperty.Builder osByol(Boolean osByol) Sets the value ofCfnLaunchConfigurationTemplate.LicensingProperty.getOsByol()- Parameters:
osByol- Whether to configure BYOL OS licensing.- Returns:
this
-
osByol
@Stability(Stable) public CfnLaunchConfigurationTemplate.LicensingProperty.Builder osByol(IResolvable osByol) Sets the value ofCfnLaunchConfigurationTemplate.LicensingProperty.getOsByol()- Parameters:
osByol- Whether to configure BYOL OS licensing.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLaunchConfigurationTemplate.LicensingProperty>- Returns:
- a new instance of
CfnLaunchConfigurationTemplate.LicensingProperty - Throws:
NullPointerException- if any required attribute was not provided
-