Class CfnLicenseAssetRuleSetPropsMixin.MatchingRuleStatementProperty.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.licensemanager.CfnLicenseAssetRuleSetPropsMixin.MatchingRuleStatementProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLicenseAssetRuleSetPropsMixin.MatchingRuleStatementProperty>
- Enclosing interface:
CfnLicenseAssetRuleSetPropsMixin.MatchingRuleStatementProperty
@Stability(Stable)
public static final class CfnLicenseAssetRuleSetPropsMixin.MatchingRuleStatementProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLicenseAssetRuleSetPropsMixin.MatchingRuleStatementProperty>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.constraint(String constraint) keyToMatch(String keyToMatch) valueToMatch(List<String> valueToMatch)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
constraint
@Stability(Stable) public CfnLicenseAssetRuleSetPropsMixin.MatchingRuleStatementProperty.Builder constraint(String constraint) - Parameters:
constraint- Constraint (e.g. Equals, Not_Equals).- Returns:
this
-
keyToMatch
@Stability(Stable) public CfnLicenseAssetRuleSetPropsMixin.MatchingRuleStatementProperty.Builder keyToMatch(String keyToMatch) - Parameters:
keyToMatch- Key to match.- Returns:
this
-
valueToMatch
@Stability(Stable) public CfnLicenseAssetRuleSetPropsMixin.MatchingRuleStatementProperty.Builder valueToMatch(List<String> valueToMatch) - Parameters:
valueToMatch- Values to match.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLicenseAssetRuleSetPropsMixin.MatchingRuleStatementProperty>- Returns:
- a new instance of
CfnLicenseAssetRuleSetPropsMixin.MatchingRuleStatementProperty - Throws:
NullPointerException- if any required attribute was not provided
-