Class CfnRulesetMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.databrew.CfnRulesetMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnRulesetMixinProps>
- Enclosing interface:
CfnRulesetMixinProps
@Stability(Stable)
public static final class CfnRulesetMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnRulesetMixinProps>
A builder for
CfnRulesetMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.description(String description) Sets the value ofCfnRulesetMixinProps.getDescription()Sets the value ofCfnRulesetMixinProps.getName()Sets the value ofCfnRulesetMixinProps.getRules()rules(IResolvable rules) Sets the value ofCfnRulesetMixinProps.getRules()Sets the value ofCfnRulesetMixinProps.getTags()Sets the value ofCfnRulesetMixinProps.getTargetArn()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
description
Sets the value ofCfnRulesetMixinProps.getDescription()- Parameters:
description- The description of the ruleset.- Returns:
this
-
name
Sets the value ofCfnRulesetMixinProps.getName()- Parameters:
name- The name of the ruleset.- Returns:
this
-
rules
Sets the value ofCfnRulesetMixinProps.getRules()- Parameters:
rules- Contains metadata about the ruleset.- Returns:
this
-
rules
Sets the value ofCfnRulesetMixinProps.getRules()- Parameters:
rules- Contains metadata about the ruleset.- Returns:
this
-
tags
Sets the value ofCfnRulesetMixinProps.getTags()- Parameters:
tags- An array of key-value pairs to apply to this resource. For more information, see Tag .- Returns:
this
-
targetArn
Sets the value ofCfnRulesetMixinProps.getTargetArn()- Parameters:
targetArn- The Amazon Resource Name (ARN) of a resource (dataset) that the ruleset is associated with.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnRulesetMixinProps>- Returns:
- a new instance of
CfnRulesetMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-