Class DataQualityRulesetProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.alpha.DataQualityRulesetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataQualityRulesetProps>
- Enclosing interface:
DataQualityRulesetProps
@Stability(Experimental)
public static final class DataQualityRulesetProps.Builder
extends Object
implements software.amazon.jsii.Builder<DataQualityRulesetProps>
A builder for
DataQualityRulesetProps
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds the configured instance.clientToken
(String clientToken) Sets the value ofDataQualityRulesetProps.getClientToken()
description
(String description) Sets the value ofDataQualityRulesetProps.getDescription()
rulesetDqdl
(String rulesetDqdl) Sets the value ofDataQualityRulesetProps.getRulesetDqdl()
rulesetName
(String rulesetName) Sets the value ofDataQualityRulesetProps.getRulesetName()
Sets the value ofDataQualityRulesetProps.getTags()
targetTable
(DataQualityTargetTable targetTable) Sets the value ofDataQualityRulesetProps.getTargetTable()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
rulesetDqdl
Sets the value ofDataQualityRulesetProps.getRulesetDqdl()
- Parameters:
rulesetDqdl
- The dqdl of the ruleset. This parameter is required.- Returns:
this
-
targetTable
@Stability(Experimental) public DataQualityRulesetProps.Builder targetTable(DataQualityTargetTable targetTable) Sets the value ofDataQualityRulesetProps.getTargetTable()
- Parameters:
targetTable
- The target table of the ruleset. This parameter is required.- Returns:
this
-
clientToken
Sets the value ofDataQualityRulesetProps.getClientToken()
- Parameters:
clientToken
- The client token of the ruleset.- Returns:
this
-
description
Sets the value ofDataQualityRulesetProps.getDescription()
- Parameters:
description
- The description of the ruleset.- Returns:
this
-
rulesetName
Sets the value ofDataQualityRulesetProps.getRulesetName()
- Parameters:
rulesetName
- The name of the ruleset.- Returns:
this
-
tags
Sets the value ofDataQualityRulesetProps.getTags()
- Parameters:
tags
- Key-Value pairs that define tags for the ruleset.- Returns:
this
-
build
Builds the configured instance.- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<DataQualityRulesetProps>
- Returns:
- a new instance of
DataQualityRulesetProps
- Throws:
NullPointerException
- if any required attribute was not provided
-