Class CfnLicenseAssetRuleSet.LicenseAssetRuleProperty.Builder
java.lang.Object
software.amazon.awscdk.services.licensemanager.CfnLicenseAssetRuleSet.LicenseAssetRuleProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLicenseAssetRuleSet.LicenseAssetRuleProperty>
- Enclosing interface:
CfnLicenseAssetRuleSet.LicenseAssetRuleProperty
@Stability(Stable)
public static final class CfnLicenseAssetRuleSet.LicenseAssetRuleProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLicenseAssetRuleSet.LicenseAssetRuleProperty>
A builder for
CfnLicenseAssetRuleSet.LicenseAssetRuleProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.ruleStatement(IResolvable ruleStatement) Sets the value ofCfnLicenseAssetRuleSet.LicenseAssetRuleProperty.getRuleStatement()ruleStatement(CfnLicenseAssetRuleSet.RuleStatementProperty ruleStatement) Sets the value ofCfnLicenseAssetRuleSet.LicenseAssetRuleProperty.getRuleStatement()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
ruleStatement
@Stability(Stable) public CfnLicenseAssetRuleSet.LicenseAssetRuleProperty.Builder ruleStatement(IResolvable ruleStatement) Sets the value ofCfnLicenseAssetRuleSet.LicenseAssetRuleProperty.getRuleStatement()- Parameters:
ruleStatement- Rule statement. This parameter is required. Specify exactly one of InstanceRuleStatement, LicenseRuleStatement, or LicenseConfigurationRuleStatement.- Returns:
this
-
ruleStatement
@Stability(Stable) public CfnLicenseAssetRuleSet.LicenseAssetRuleProperty.Builder ruleStatement(CfnLicenseAssetRuleSet.RuleStatementProperty ruleStatement) Sets the value ofCfnLicenseAssetRuleSet.LicenseAssetRuleProperty.getRuleStatement()- Parameters:
ruleStatement- Rule statement. This parameter is required. Specify exactly one of InstanceRuleStatement, LicenseRuleStatement, or LicenseConfigurationRuleStatement.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLicenseAssetRuleSet.LicenseAssetRuleProperty>- Returns:
- a new instance of
CfnLicenseAssetRuleSet.LicenseAssetRuleProperty - Throws:
NullPointerException- if any required attribute was not provided
-