Class CfnLicenseAssetRuleSetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.licensemanager.CfnLicenseAssetRuleSetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLicenseAssetRuleSetMixinProps>
- Enclosing interface:
CfnLicenseAssetRuleSetMixinProps
@Stability(Stable)
public static final class CfnLicenseAssetRuleSetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLicenseAssetRuleSetMixinProps>
A builder for
CfnLicenseAssetRuleSetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnLicenseAssetRuleSetMixinProps.getDescription()Sets the value ofCfnLicenseAssetRuleSetMixinProps.getName()Sets the value ofCfnLicenseAssetRuleSetMixinProps.getRules()rules(IResolvable rules) Sets the value ofCfnLicenseAssetRuleSetMixinProps.getRules()Sets the value ofCfnLicenseAssetRuleSetMixinProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnLicenseAssetRuleSetMixinProps.getDescription()- Parameters:
description- License asset ruleset description.- Returns:
this
-
name
Sets the value ofCfnLicenseAssetRuleSetMixinProps.getName()- Parameters:
name- License asset ruleset name.- Returns:
this
-
rules
Sets the value ofCfnLicenseAssetRuleSetMixinProps.getRules()- Parameters:
rules- License asset rules.- Returns:
this
-
rules
@Stability(Stable) public CfnLicenseAssetRuleSetMixinProps.Builder rules(List<? extends Object> rules) Sets the value ofCfnLicenseAssetRuleSetMixinProps.getRules()- Parameters:
rules- License asset rules.- Returns:
this
-
tags
@Stability(Stable) public CfnLicenseAssetRuleSetMixinProps.Builder tags(List<? extends CfnTag> tags) Sets the value ofCfnLicenseAssetRuleSetMixinProps.getTags()- Parameters:
tags- Tags to add to the license asset ruleset.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnLicenseAssetRuleSetMixinProps>- Returns:
- a new instance of
CfnLicenseAssetRuleSetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-