Class DataplexDatascanDataQualitySpecRules.Builder
- java.lang.Object
-
- com.hashicorp.cdktf.providers.google.dataplex_datascan.DataplexDatascanDataQualitySpecRules.Builder
-
- All Implemented Interfaces:
software.amazon.jsii.Builder<DataplexDatascanDataQualitySpecRules>
- Enclosing interface:
- DataplexDatascanDataQualitySpecRules
@Stability(Stable) public static final class DataplexDatascanDataQualitySpecRules.Builder extends Object implements software.amazon.jsii.Builder<DataplexDatascanDataQualitySpecRules>
A builder forDataplexDatascanDataQualitySpecRules
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
-
-
-
Method Detail
-
dimension
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder dimension(String dimension)
Sets the value ofDataplexDatascanDataQualitySpecRules.getDimension()- Parameters:
dimension- The dimension a rule belongs to. This parameter is required. Results are also aggregated at the dimension level. Supported dimensions are ["COMPLETENESS", "ACCURACY", "CONSISTENCY", "VALIDITY", "UNIQUENESS", "INTEGRITY"] Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#dimension DataplexDatascan#dimension}- Returns:
this
-
column
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder column(String column)
Sets the value ofDataplexDatascanDataQualitySpecRules.getColumn()- Parameters:
column- The unnested column which this rule is evaluated against. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#column DataplexDatascan#column}- Returns:
this
-
description
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder description(String description)
Sets the value ofDataplexDatascanDataQualitySpecRules.getDescription()- Parameters:
description- Description of the rule. The maximum length is 1,024 characters. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#description DataplexDatascan#description}- Returns:
this
-
ignoreNull
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder ignoreNull(Boolean ignoreNull)
Sets the value ofDataplexDatascanDataQualitySpecRules.getIgnoreNull()- Parameters:
ignoreNull- Rows with null values will automatically fail a rule, unless ignoreNull is true. In that case, such null rows are trivially considered passing. Only applicable to ColumnMap rules. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#ignore_null DataplexDatascan#ignore_null}- Returns:
this
-
ignoreNull
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder ignoreNull(com.hashicorp.cdktf.IResolvable ignoreNull)
Sets the value ofDataplexDatascanDataQualitySpecRules.getIgnoreNull()- Parameters:
ignoreNull- Rows with null values will automatically fail a rule, unless ignoreNull is true. In that case, such null rows are trivially considered passing. Only applicable to ColumnMap rules. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#ignore_null DataplexDatascan#ignore_null}- Returns:
this
-
name
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder name(String name)
Sets the value ofDataplexDatascanDataQualitySpecRules.getName()- Parameters:
name- A mutable name for the rule. The name must contain only letters (a-z, A-Z), numbers (0-9), or hyphens (-). The maximum length is 63 characters. Must start with a letter. Must end with a number or a letter. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#name DataplexDatascan#name}- Returns:
this
-
nonNullExpectation
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder nonNullExpectation(DataplexDatascanDataQualitySpecRulesNonNullExpectation nonNullExpectation)
Sets the value ofDataplexDatascanDataQualitySpecRules.getNonNullExpectation()- Parameters:
nonNullExpectation- non_null_expectation block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#non_null_expectation DataplexDatascan#non_null_expectation}- Returns:
this
-
rangeExpectation
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder rangeExpectation(DataplexDatascanDataQualitySpecRulesRangeExpectation rangeExpectation)
Sets the value ofDataplexDatascanDataQualitySpecRules.getRangeExpectation()- Parameters:
rangeExpectation- range_expectation block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#range_expectation DataplexDatascan#range_expectation}- Returns:
this
-
regexExpectation
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder regexExpectation(DataplexDatascanDataQualitySpecRulesRegexExpectation regexExpectation)
Sets the value ofDataplexDatascanDataQualitySpecRules.getRegexExpectation()- Parameters:
regexExpectation- regex_expectation block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#regex_expectation DataplexDatascan#regex_expectation}- Returns:
this
-
rowConditionExpectation
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder rowConditionExpectation(DataplexDatascanDataQualitySpecRulesRowConditionExpectation rowConditionExpectation)
Sets the value ofDataplexDatascanDataQualitySpecRules.getRowConditionExpectation()- Parameters:
rowConditionExpectation- row_condition_expectation block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#row_condition_expectation DataplexDatascan#row_condition_expectation}- Returns:
this
-
setExpectation
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder setExpectation(DataplexDatascanDataQualitySpecRulesSetExpectation setExpectation)
Sets the value ofDataplexDatascanDataQualitySpecRules.getSetExpectation()- Parameters:
setExpectation- set_expectation block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#set_expectation DataplexDatascan#set_expectation}- Returns:
this
-
sqlAssertion
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder sqlAssertion(DataplexDatascanDataQualitySpecRulesSqlAssertion sqlAssertion)
Sets the value ofDataplexDatascanDataQualitySpecRules.getSqlAssertion()- Parameters:
sqlAssertion- sql_assertion block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#sql_assertion DataplexDatascan#sql_assertion}- Returns:
this
-
statisticRangeExpectation
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder statisticRangeExpectation(DataplexDatascanDataQualitySpecRulesStatisticRangeExpectation statisticRangeExpectation)
Sets the value ofDataplexDatascanDataQualitySpecRules.getStatisticRangeExpectation()- Parameters:
statisticRangeExpectation- statistic_range_expectation block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#statistic_range_expectation DataplexDatascan#statistic_range_expectation}- Returns:
this
-
tableConditionExpectation
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder tableConditionExpectation(DataplexDatascanDataQualitySpecRulesTableConditionExpectation tableConditionExpectation)
Sets the value ofDataplexDatascanDataQualitySpecRules.getTableConditionExpectation()- Parameters:
tableConditionExpectation- table_condition_expectation block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#table_condition_expectation DataplexDatascan#table_condition_expectation}- Returns:
this
-
threshold
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder threshold(Number threshold)
Sets the value ofDataplexDatascanDataQualitySpecRules.getThreshold()- Parameters:
threshold- The minimum ratio of passing_rows / total_rows required to pass this rule, with a range of [0.0, 1.0]. 0 indicates default value (i.e. 1.0). Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#threshold DataplexDatascan#threshold}- Returns:
this
-
uniquenessExpectation
@Stability(Stable) public DataplexDatascanDataQualitySpecRules.Builder uniquenessExpectation(DataplexDatascanDataQualitySpecRulesUniquenessExpectation uniquenessExpectation)
Sets the value ofDataplexDatascanDataQualitySpecRules.getUniquenessExpectation()- Parameters:
uniquenessExpectation- uniqueness_expectation block. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/dataplex_datascan#uniqueness_expectation DataplexDatascan#uniqueness_expectation}- Returns:
this
-
build
@Stability(Stable) public DataplexDatascanDataQualitySpecRules build()
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<DataplexDatascanDataQualitySpecRules>- Returns:
- a new instance of
DataplexDatascanDataQualitySpecRules - Throws:
NullPointerException- if any required attribute was not provided
-
-