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