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