Class CfnLicenseAssetRuleSetProps.Builder
java.lang.Object
software.amazon.awscdk.services.licensemanager.CfnLicenseAssetRuleSetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnLicenseAssetRuleSetProps>
- Enclosing interface:
CfnLicenseAssetRuleSetProps
@Stability(Stable)
public static final class CfnLicenseAssetRuleSetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnLicenseAssetRuleSetProps>
A builder for
CfnLicenseAssetRuleSetProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnLicenseAssetRuleSetProps.getDescription()Sets the value ofCfnLicenseAssetRuleSetProps.getName()Sets the value ofCfnLicenseAssetRuleSetProps.getRules()rules(IResolvable rules) Sets the value ofCfnLicenseAssetRuleSetProps.getRules()Sets the value ofCfnLicenseAssetRuleSetProps.getTags()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
name
Sets the value ofCfnLicenseAssetRuleSetProps.getName()- Parameters:
name- License asset ruleset name. This parameter is required.- Returns:
this
-
rules
Sets the value ofCfnLicenseAssetRuleSetProps.getRules()- Parameters:
rules- License asset rules. This parameter is required.- Returns:
this
-
rules
Sets the value ofCfnLicenseAssetRuleSetProps.getRules()- Parameters:
rules- License asset rules. This parameter is required.- Returns:
this
-
description
Sets the value ofCfnLicenseAssetRuleSetProps.getDescription()- Parameters:
description- License asset ruleset description.- Returns:
this
-
tags
Sets the value ofCfnLicenseAssetRuleSetProps.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<CfnLicenseAssetRuleSetProps>- Returns:
- a new instance of
CfnLicenseAssetRuleSetProps - Throws:
NullPointerException- if any required attribute was not provided
-