Class DataQualityRuleset.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.DataQualityRuleset.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataQualityRuleset>
- Enclosing class:
DataQualityRuleset
@Stability(Experimental)
public static final class DataQualityRuleset.Builder
extends Object
implements software.amazon.jsii.Builder<DataQualityRuleset>
(experimental) A fluent builder for
DataQualityRuleset.-
Method Summary
Modifier and TypeMethodDescriptionbuild()clientToken(String clientToken) (experimental) The client token of the ruleset.static DataQualityRuleset.Builderdescription(String description) (experimental) The description of the ruleset.(experimental) The DQDL document defining the ruleset's data quality rules.removalPolicy(RemovalPolicy removalPolicy) (experimental) Policy to apply when the ruleset is removed from the stack.rulesetName(String rulesetName) (experimental) The name of the ruleset.(experimental) Key-Value pairs that define tags for the ruleset.targetTable(DataQualityTargetTable targetTable) (experimental) The target table of the ruleset.
-
Method Details
-
create
@Stability(Experimental) public static DataQualityRuleset.Builder create(software.constructs.Construct scope, String id) - Parameters:
scope- This parameter is required.id- This parameter is required.- Returns:
- a new instance of
DataQualityRuleset.Builder.
-
dqdl
(experimental) The DQDL document defining the ruleset's data quality rules.Build it with
Dqdl.fromString(...).- Parameters:
dqdl- The DQDL document defining the ruleset's data quality rules. This parameter is required.- Returns:
this
-
targetTable
@Stability(Experimental) public DataQualityRuleset.Builder targetTable(DataQualityTargetTable targetTable) (experimental) The target table of the ruleset.- Parameters:
targetTable- The target table of the ruleset. This parameter is required.- Returns:
this
-
clientToken
(experimental) The client token of the ruleset.- Parameters:
clientToken- The client token of the ruleset. This parameter is required.- Returns:
this
-
description
(experimental) The description of the ruleset.- Parameters:
description- The description of the ruleset. This parameter is required.- Returns:
this
-
removalPolicy
@Stability(Experimental) public DataQualityRuleset.Builder removalPolicy(RemovalPolicy removalPolicy) (experimental) Policy to apply when the ruleset is removed from the stack.Default: - resource will be destroyed
- Parameters:
removalPolicy- Policy to apply when the ruleset is removed from the stack. This parameter is required.- Returns:
this
-
rulesetName
(experimental) The name of the ruleset.Default: cloudformation generated name
- Parameters:
rulesetName- The name of the ruleset. This parameter is required.- Returns:
this
-
tags
(experimental) Key-Value pairs that define tags for the ruleset.Default: empty tags
- Parameters:
tags- Key-Value pairs that define tags for the ruleset. This parameter is required.- Returns:
this
-
build
- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataQualityRuleset>- Returns:
- a newly built instance of
DataQualityRuleset.
-