Interface CfnLicenseAssetRuleSet.LicenseRuleStatementProperty
- All Superinterfaces:
software.amazon.jsii.JsiiSerializable
- All Known Implementing Classes:
CfnLicenseAssetRuleSet.LicenseRuleStatementProperty.Jsii$Proxy
- Enclosing class:
CfnLicenseAssetRuleSet
@Stability(Stable)
public static interface CfnLicenseAssetRuleSet.LicenseRuleStatementProperty
extends software.amazon.jsii.JsiiSerializable
License rule statement.
Example:
// The code below shows an example of how to instantiate this type.
// The values are placeholders you should change.
import software.amazon.awscdk.services.licensemanager.*;
LicenseRuleStatementProperty licenseRuleStatementProperty = LicenseRuleStatementProperty.builder()
.andRuleStatement(AndRuleStatementProperty.builder()
.matchingRuleStatements(List.of(MatchingRuleStatementProperty.builder()
.constraint("constraint")
.keyToMatch("keyToMatch")
.valueToMatch(List.of("valueToMatch"))
.build()))
.build())
.matchingRuleStatement(MatchingRuleStatementProperty.builder()
.constraint("constraint")
.keyToMatch("keyToMatch")
.valueToMatch(List.of("valueToMatch"))
.build())
.orRuleStatement(OrRuleStatementProperty.builder()
.matchingRuleStatements(List.of(MatchingRuleStatementProperty.builder()
.constraint("constraint")
.keyToMatch("keyToMatch")
.valueToMatch(List.of("valueToMatch"))
.build()))
.build())
.build();
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final classA builder forCfnLicenseAssetRuleSet.LicenseRuleStatementPropertystatic final classAn implementation forCfnLicenseAssetRuleSet.LicenseRuleStatementProperty -
Method Summary
Methods inherited from interface software.amazon.jsii.JsiiSerializable
$jsii$toJson
-
Method Details
-
getAndRuleStatement
AND rule statement.Returns union: either
IResolvableorCfnLicenseAssetRuleSet.AndRuleStatementProperty- See Also:
-
getMatchingRuleStatement
Matching rule statement.Returns union: either
IResolvableorCfnLicenseAssetRuleSet.MatchingRuleStatementProperty- See Also:
-
getOrRuleStatement
OR rule statement.Returns union: either
IResolvableorCfnLicenseAssetRuleSet.OrRuleStatementProperty- See Also:
-
builder
-