Class CfnLicenseAssetRuleSet.LicenseRuleStatementProperty.Builder
java.lang.Object
software.amazon.awscdk.services.licensemanager.CfnLicenseAssetRuleSet.LicenseRuleStatementProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLicenseAssetRuleSet.LicenseRuleStatementProperty>
- Enclosing interface:
CfnLicenseAssetRuleSet.LicenseRuleStatementProperty
@Stability(Stable)
public static final class CfnLicenseAssetRuleSet.LicenseRuleStatementProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLicenseAssetRuleSet.LicenseRuleStatementProperty>
A builder for
CfnLicenseAssetRuleSet.LicenseRuleStatementProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionandRuleStatement(IResolvable andRuleStatement) andRuleStatement(CfnLicenseAssetRuleSet.AndRuleStatementProperty andRuleStatement) build()Builds the configured instance.matchingRuleStatement(IResolvable matchingRuleStatement) matchingRuleStatement(CfnLicenseAssetRuleSet.MatchingRuleStatementProperty matchingRuleStatement) orRuleStatement(IResolvable orRuleStatement) Sets the value ofCfnLicenseAssetRuleSet.LicenseRuleStatementProperty.getOrRuleStatement()orRuleStatement(CfnLicenseAssetRuleSet.OrRuleStatementProperty orRuleStatement) Sets the value ofCfnLicenseAssetRuleSet.LicenseRuleStatementProperty.getOrRuleStatement()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
andRuleStatement
@Stability(Stable) public CfnLicenseAssetRuleSet.LicenseRuleStatementProperty.Builder andRuleStatement(IResolvable andRuleStatement) - Parameters:
andRuleStatement- AND rule statement.- Returns:
this
-
andRuleStatement
@Stability(Stable) public CfnLicenseAssetRuleSet.LicenseRuleStatementProperty.Builder andRuleStatement(CfnLicenseAssetRuleSet.AndRuleStatementProperty andRuleStatement) - Parameters:
andRuleStatement- AND rule statement.- Returns:
this
-
matchingRuleStatement
@Stability(Stable) public CfnLicenseAssetRuleSet.LicenseRuleStatementProperty.Builder matchingRuleStatement(IResolvable matchingRuleStatement) - Parameters:
matchingRuleStatement- Matching rule statement.- Returns:
this
-
matchingRuleStatement
@Stability(Stable) public CfnLicenseAssetRuleSet.LicenseRuleStatementProperty.Builder matchingRuleStatement(CfnLicenseAssetRuleSet.MatchingRuleStatementProperty matchingRuleStatement) - Parameters:
matchingRuleStatement- Matching rule statement.- Returns:
this
-
orRuleStatement
@Stability(Stable) public CfnLicenseAssetRuleSet.LicenseRuleStatementProperty.Builder orRuleStatement(IResolvable orRuleStatement) Sets the value ofCfnLicenseAssetRuleSet.LicenseRuleStatementProperty.getOrRuleStatement()- Parameters:
orRuleStatement- OR rule statement.- Returns:
this
-
orRuleStatement
@Stability(Stable) public CfnLicenseAssetRuleSet.LicenseRuleStatementProperty.Builder orRuleStatement(CfnLicenseAssetRuleSet.OrRuleStatementProperty orRuleStatement) Sets the value ofCfnLicenseAssetRuleSet.LicenseRuleStatementProperty.getOrRuleStatement()- Parameters:
orRuleStatement- OR rule statement.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLicenseAssetRuleSet.LicenseRuleStatementProperty>- Returns:
- a new instance of
CfnLicenseAssetRuleSet.LicenseRuleStatementProperty - Throws:
NullPointerException- if any required attribute was not provided
-