Class CfnDataQualityRulesetProps.Builder
java.lang.Object
software.amazon.awscdk.services.glue.CfnDataQualityRulesetProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnDataQualityRulesetProps>
- Enclosing interface:
CfnDataQualityRulesetProps
@Stability(Stable)
public static final class CfnDataQualityRulesetProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnDataQualityRulesetProps>
A builder for
CfnDataQualityRulesetProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.clientToken(String clientToken) Sets the value ofCfnDataQualityRulesetProps.getClientToken()description(String description) Sets the value ofCfnDataQualityRulesetProps.getDescription()Sets the value ofCfnDataQualityRulesetProps.getName()Sets the value ofCfnDataQualityRulesetProps.getRuleset()Sets the value ofCfnDataQualityRulesetProps.getTags()targetTable(IResolvable targetTable) Sets the value ofCfnDataQualityRulesetProps.getTargetTable()Sets the value ofCfnDataQualityRulesetProps.getTargetTable()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
clientToken
Sets the value ofCfnDataQualityRulesetProps.getClientToken()- Parameters:
clientToken- Used for idempotency and is recommended to be set to a random ID (such as a UUID) to avoid creating or starting multiple instances of the same resource.- Returns:
this
-
description
Sets the value ofCfnDataQualityRulesetProps.getDescription()- Parameters:
description- A description of the data quality ruleset.- Returns:
this
-
name
Sets the value ofCfnDataQualityRulesetProps.getName()- Parameters:
name- The name of the data quality ruleset.- Returns:
this
-
ruleset
Sets the value ofCfnDataQualityRulesetProps.getRuleset()- Parameters:
ruleset- A Data Quality Definition Language (DQDL) ruleset. For more information see the AWS Glue Developer Guide.- Returns:
this
-
tags
Sets the value ofCfnDataQualityRulesetProps.getTags()- Parameters:
tags- A list of tags applied to the data quality ruleset.- Returns:
this
-
targetTable
Sets the value ofCfnDataQualityRulesetProps.getTargetTable()- Parameters:
targetTable- An object representing an AWS Glue table.- Returns:
this
-
targetTable
@Stability(Stable) public CfnDataQualityRulesetProps.Builder targetTable(CfnDataQualityRuleset.DataQualityTargetTableProperty targetTable) Sets the value ofCfnDataQualityRulesetProps.getTargetTable()- Parameters:
targetTable- An object representing an AWS Glue table.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnDataQualityRulesetProps>- Returns:
- a new instance of
CfnDataQualityRulesetProps - Throws:
NullPointerException- if any required attribute was not provided
-