Interface CreateDataQualityEvaluationConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateDataQualityEvaluationConfigRequest.Builder,,CreateDataQualityEvaluationConfigRequest> GlueRequest.Builder,SdkBuilder<CreateDataQualityEvaluationConfigRequest.Builder,,CreateDataQualityEvaluationConfigRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateDataQualityEvaluationConfigRequest
-
Method Summary
Modifier and TypeMethodDescriptionadditionalDataSources(Map<String, DataSource> additionalDataSources) A map of reference strings to additional data sources you can specify for an evaluation run.additionalRunOptions(Consumer<DataQualityEvaluationConfigAdditionalRunOptions.Builder> additionalRunOptions) Additional run options you can specify for an evaluation run.additionalRunOptions(DataQualityEvaluationConfigAdditionalRunOptions additionalRunOptions) Additional run options you can specify for an evaluation run.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the operation completes no more than one time.The catalog, database, or table that the configuration applies to, as specified byLevel.dataSource(DataQualityEvaluationConfigDataSource dataSource) The catalog, database, or table that the configuration applies to, as specified byLevel.The time at which the schedule stops running, exclusive.The Glue Data Catalog hierarchical level that the configuration applies to.The Glue Data Catalog hierarchical level that the configuration applies to.managedRulesetName(String managedRulesetName) A built-in ruleset that profiles each table, used whenRulesetNameis not set.managedRulesetName(DataQualityEvaluationConfigManagedRuleset managedRulesetName) A built-in ruleset that profiles each table, used whenRulesetNameis not set.A name for the data quality evaluation configuration.numberOfWorkers(Integer numberOfWorkers) The number ofG.1Xworkers to be used in the run.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The IAM role that evaluations assume.rulesetName(String rulesetName) The name of a Data Quality Definition Language (DQDL) ruleset, containing analyzers, rules, or both, to evaluate tables with.scheduleExpression(String scheduleExpression) A cron or rate expression, in UTC, for theSCHEDULEtrigger, for examplecron(0 6 * * ? *).The time from which the schedule runs, inclusive.A list of tags applied to the data quality evaluation configuration.The timeout for a run in minutes.triggers(Collection<DataQualityEvaluationConfigTrigger> triggers) When the configuration evaluates tables.triggers(DataQualityEvaluationConfigTrigger... triggers) When the configuration evaluates tables.triggersWithStrings(String... triggers) When the configuration evaluates tables.triggersWithStrings(Collection<String> triggers) When the configuration evaluates tables.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.glue.model.GlueRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
A name for the data quality evaluation configuration. The name must be unique within your account.
- Parameters:
name- A name for the data quality evaluation configuration. The name must be unique within your account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
level
The Glue Data Catalog hierarchical level that the configuration applies to. Valid values are
CATALOG,DATABASE, andTABLE.- Parameters:
level- The Glue Data Catalog hierarchical level that the configuration applies to. Valid values areCATALOG,DATABASE, andTABLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
level
The Glue Data Catalog hierarchical level that the configuration applies to. Valid values are
CATALOG,DATABASE, andTABLE.- Parameters:
level- The Glue Data Catalog hierarchical level that the configuration applies to. Valid values areCATALOG,DATABASE, andTABLE.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataSource
CreateDataQualityEvaluationConfigRequest.Builder dataSource(DataQualityEvaluationConfigDataSource dataSource) The catalog, database, or table that the configuration applies to, as specified by
Level.- Parameters:
dataSource- The catalog, database, or table that the configuration applies to, as specified byLevel.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
default CreateDataQualityEvaluationConfigRequest.Builder dataSource(Consumer<DataQualityEvaluationConfigDataSource.Builder> dataSource) The catalog, database, or table that the configuration applies to, as specified by
This is a convenience method that creates an instance of theLevel.DataQualityEvaluationConfigDataSource.Builderavoiding the need to create one manually viaDataQualityEvaluationConfigDataSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataSource(DataQualityEvaluationConfigDataSource).- Parameters:
dataSource- a consumer that will call methods onDataQualityEvaluationConfigDataSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
rulesetName
The name of a Data Quality Definition Language (DQDL) ruleset, containing analyzers, rules, or both, to evaluate tables with. You create the ruleset using the
CreateDataQualityRulesetAPI. Specify eitherRulesetNameorManagedRulesetName, not both.- Parameters:
rulesetName- The name of a Data Quality Definition Language (DQDL) ruleset, containing analyzers, rules, or both, to evaluate tables with. You create the ruleset using theCreateDataQualityRulesetAPI. Specify eitherRulesetNameorManagedRulesetName, not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
managedRulesetName
A built-in ruleset that profiles each table, used when
RulesetNameis not set. The default isSIMPLE. Choose from the following built-in rulesets:- SIMPLE
-
Row count and column count, completeness, minimum, and maximum for every column, mean, sum, and standard deviation for numeric columns, and column length for string columns.
- ADVANCED
-
Every statistic in
SIMPLE, plus distribution, uniqueness, and distinct values count.
- Parameters:
managedRulesetName- A built-in ruleset that profiles each table, used whenRulesetNameis not set. The default isSIMPLE. Choose from the following built-in rulesets:- SIMPLE
-
Row count and column count, completeness, minimum, and maximum for every column, mean, sum, and standard deviation for numeric columns, and column length for string columns.
- ADVANCED
-
Every statistic in
SIMPLE, plus distribution, uniqueness, and distinct values count.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
managedRulesetName
CreateDataQualityEvaluationConfigRequest.Builder managedRulesetName(DataQualityEvaluationConfigManagedRuleset managedRulesetName) A built-in ruleset that profiles each table, used when
RulesetNameis not set. The default isSIMPLE. Choose from the following built-in rulesets:- SIMPLE
-
Row count and column count, completeness, minimum, and maximum for every column, mean, sum, and standard deviation for numeric columns, and column length for string columns.
- ADVANCED
-
Every statistic in
SIMPLE, plus distribution, uniqueness, and distinct values count.
- Parameters:
managedRulesetName- A built-in ruleset that profiles each table, used whenRulesetNameis not set. The default isSIMPLE. Choose from the following built-in rulesets:- SIMPLE
-
Row count and column count, completeness, minimum, and maximum for every column, mean, sum, and standard deviation for numeric columns, and column length for string columns.
- ADVANCED
-
Every statistic in
SIMPLE, plus distribution, uniqueness, and distinct values count.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggersWithStrings
When the configuration evaluates tables. You can choose one or more triggers, and each table is evaluated at most once an hour. The default is
ONCE. Choose from the following triggers:- ONCE
-
Evaluates each table one time, including when tables are added to a database or catalog.
- SCHEDULE
-
Evaluates each table on the cron or rate expression in
ScheduleExpression, between the optionalStartAtandEndAttimes. - METADATA_CHANGE
-
Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.
- Parameters:
triggers- When the configuration evaluates tables. You can choose one or more triggers, and each table is evaluated at most once an hour. The default isONCE. Choose from the following triggers:- ONCE
-
Evaluates each table one time, including when tables are added to a database or catalog.
- SCHEDULE
-
Evaluates each table on the cron or rate expression in
ScheduleExpression, between the optionalStartAtandEndAttimes. - METADATA_CHANGE
-
Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggersWithStrings
When the configuration evaluates tables. You can choose one or more triggers, and each table is evaluated at most once an hour. The default is
ONCE. Choose from the following triggers:- ONCE
-
Evaluates each table one time, including when tables are added to a database or catalog.
- SCHEDULE
-
Evaluates each table on the cron or rate expression in
ScheduleExpression, between the optionalStartAtandEndAttimes. - METADATA_CHANGE
-
Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.
- Parameters:
triggers- When the configuration evaluates tables. You can choose one or more triggers, and each table is evaluated at most once an hour. The default isONCE. Choose from the following triggers:- ONCE
-
Evaluates each table one time, including when tables are added to a database or catalog.
- SCHEDULE
-
Evaluates each table on the cron or rate expression in
ScheduleExpression, between the optionalStartAtandEndAttimes. - METADATA_CHANGE
-
Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
CreateDataQualityEvaluationConfigRequest.Builder triggers(Collection<DataQualityEvaluationConfigTrigger> triggers) When the configuration evaluates tables. You can choose one or more triggers, and each table is evaluated at most once an hour. The default is
ONCE. Choose from the following triggers:- ONCE
-
Evaluates each table one time, including when tables are added to a database or catalog.
- SCHEDULE
-
Evaluates each table on the cron or rate expression in
ScheduleExpression, between the optionalStartAtandEndAttimes. - METADATA_CHANGE
-
Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.
- Parameters:
triggers- When the configuration evaluates tables. You can choose one or more triggers, and each table is evaluated at most once an hour. The default isONCE. Choose from the following triggers:- ONCE
-
Evaluates each table one time, including when tables are added to a database or catalog.
- SCHEDULE
-
Evaluates each table on the cron or rate expression in
ScheduleExpression, between the optionalStartAtandEndAttimes. - METADATA_CHANGE
-
Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
triggers
CreateDataQualityEvaluationConfigRequest.Builder triggers(DataQualityEvaluationConfigTrigger... triggers) When the configuration evaluates tables. You can choose one or more triggers, and each table is evaluated at most once an hour. The default is
ONCE. Choose from the following triggers:- ONCE
-
Evaluates each table one time, including when tables are added to a database or catalog.
- SCHEDULE
-
Evaluates each table on the cron or rate expression in
ScheduleExpression, between the optionalStartAtandEndAttimes. - METADATA_CHANGE
-
Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.
- Parameters:
triggers- When the configuration evaluates tables. You can choose one or more triggers, and each table is evaluated at most once an hour. The default isONCE. Choose from the following triggers:- ONCE
-
Evaluates each table one time, including when tables are added to a database or catalog.
- SCHEDULE
-
Evaluates each table on the cron or rate expression in
ScheduleExpression, between the optionalStartAtandEndAttimes. - METADATA_CHANGE
-
Evaluates a table whenever its Glue Data Catalog metadata changes, such as a schema change or an Apache Iceberg commit.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scheduleExpression
A cron or rate expression, in UTC, for the
SCHEDULEtrigger, for examplecron(0 6 * * ? *). The schedule can run at most once an hour.- Parameters:
scheduleExpression- A cron or rate expression, in UTC, for theSCHEDULEtrigger, for examplecron(0 6 * * ? *). The schedule can run at most once an hour.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
startAt
The time from which the schedule runs, inclusive.
- Parameters:
startAt- The time from which the schedule runs, inclusive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endAt
The time at which the schedule stops running, exclusive.
- Parameters:
endAt- The time at which the schedule stops running, exclusive.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
role
The IAM role that evaluations assume. You can specify the role name or the role Amazon Resource Name (ARN).
The role must allow the
glue.amazonaws.com.rproxy.goskope.comservice principal to assume it, and needs permissions to read the catalog (glue:GetCatalog,glue:GetDatabase,glue:GetTable,glue:SearchTables, andglue:GetPartitions), read and create rulesets (glue:GetDataQualityRulesetandglue:CreateDataQualityRuleset), start evaluations (glue:StartDataQualityRulesetEvaluationRun,glue:PublishDataQuality, andiam:PassRoleon the role itself), read the tables' data in Amazon S3, and write logs to Amazon CloudWatch Logs. If a catalog-level or database-level configuration applies to an Amazon S3 Tables catalog, the role also needss3tables:ListTableBucketsands3tables:ListTables. If you use Lake Formation, the role needs theDESCRIBEpermission on the tables.- Parameters:
role- The IAM role that evaluations assume. You can specify the role name or the role Amazon Resource Name (ARN).The role must allow the
glue.amazonaws.com.rproxy.goskope.comservice principal to assume it, and needs permissions to read the catalog (glue:GetCatalog,glue:GetDatabase,glue:GetTable,glue:SearchTables, andglue:GetPartitions), read and create rulesets (glue:GetDataQualityRulesetandglue:CreateDataQualityRuleset), start evaluations (glue:StartDataQualityRulesetEvaluationRun,glue:PublishDataQuality, andiam:PassRoleon the role itself), read the tables' data in Amazon S3, and write logs to Amazon CloudWatch Logs. If a catalog-level or database-level configuration applies to an Amazon S3 Tables catalog, the role also needss3tables:ListTableBucketsands3tables:ListTables. If you use Lake Formation, the role needs theDESCRIBEpermission on the tables.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfWorkers
The number of
G.1Xworkers to be used in the run. The default is 5.- Parameters:
numberOfWorkers- The number ofG.1Xworkers to be used in the run. The default is 5.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeout
The timeout for a run in minutes. This is the maximum time that a run can consume resources before it is terminated and enters
TIMEOUTstatus. The default is 2,880 minutes (48 hours).- Parameters:
timeout- The timeout for a run in minutes. This is the maximum time that a run can consume resources before it is terminated and entersTIMEOUTstatus. The default is 2,880 minutes (48 hours).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalRunOptions
CreateDataQualityEvaluationConfigRequest.Builder additionalRunOptions(DataQualityEvaluationConfigAdditionalRunOptions additionalRunOptions) Additional run options you can specify for an evaluation run.
- Parameters:
additionalRunOptions- Additional run options you can specify for an evaluation run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
additionalRunOptions
default CreateDataQualityEvaluationConfigRequest.Builder additionalRunOptions(Consumer<DataQualityEvaluationConfigAdditionalRunOptions.Builder> additionalRunOptions) Additional run options you can specify for an evaluation run.
This is a convenience method that creates an instance of theDataQualityEvaluationConfigAdditionalRunOptions.Builderavoiding the need to create one manually viaDataQualityEvaluationConfigAdditionalRunOptions.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toadditionalRunOptions(DataQualityEvaluationConfigAdditionalRunOptions).- Parameters:
additionalRunOptions- a consumer that will call methods onDataQualityEvaluationConfigAdditionalRunOptions.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
additionalDataSources
CreateDataQualityEvaluationConfigRequest.Builder additionalDataSources(Map<String, DataSource> additionalDataSources) A map of reference strings to additional data sources you can specify for an evaluation run.
- Parameters:
additionalDataSources- A map of reference strings to additional data sources you can specify for an evaluation run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
A list of tags applied to the data quality evaluation configuration.
- Parameters:
tags- A list of tags applied to the data quality evaluation configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the operation completes no more than one time. If this token matches a previous request, the service ignores the request, but does not return an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateDataQualityEvaluationConfigRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateDataQualityEvaluationConfigRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-