Interface UpdateDataQualityEvaluationConfigRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateDataQualityEvaluationConfigRequest.Builder,,UpdateDataQualityEvaluationConfigRequest> GlueRequest.Builder,SdkBuilder<UpdateDataQualityEvaluationConfigRequest.Builder,,UpdateDataQualityEvaluationConfigRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
UpdateDataQualityEvaluationConfigRequest
-
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.The database or table that the configuration applies to.dataSource(DataQualityEvaluationConfigDataSource dataSource) The database or table that the configuration applies to.The time at which the schedule stops running, exclusive.managedRulesetName(String managedRulesetName) A built-in ruleset,SIMPLEorADVANCED, that profiles each table.managedRulesetName(DataQualityEvaluationConfigManagedRuleset managedRulesetName) A built-in ruleset,SIMPLEorADVANCED, that profiles each table.The name of the data quality evaluation configuration to update.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.Specifies whether to pause the 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.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
The name of the data quality evaluation configuration to update.
- Parameters:
name- The name of the data quality evaluation configuration to update.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
UpdateDataQualityEvaluationConfigRequest.Builder dataSource(DataQualityEvaluationConfigDataSource dataSource) The database or table that the configuration applies to. Replaces the current data source.
- Parameters:
dataSource- The database or table that the configuration applies to. Replaces the current data source.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataSource
default UpdateDataQualityEvaluationConfigRequest.Builder dataSource(Consumer<DataQualityEvaluationConfigDataSource.Builder> dataSource) The database or table that the configuration applies to. Replaces the current data source.
This is a convenience method that creates an instance of theDataQualityEvaluationConfigDataSource.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,
SIMPLEorADVANCED, that profiles each table.- Parameters:
managedRulesetName- A built-in ruleset,SIMPLEorADVANCED, that profiles each table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
managedRulesetName
UpdateDataQualityEvaluationConfigRequest.Builder managedRulesetName(DataQualityEvaluationConfigManagedRuleset managedRulesetName) A built-in ruleset,
SIMPLEorADVANCED, that profiles each table.- Parameters:
managedRulesetName- A built-in ruleset,SIMPLEorADVANCED, that profiles each table.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
triggersWithStrings
When the configuration evaluates tables. Replaces the current triggers. 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. Replaces the current triggers. 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. Replaces the current triggers. 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. Replaces the current triggers. 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
UpdateDataQualityEvaluationConfigRequest.Builder triggers(Collection<DataQualityEvaluationConfigTrigger> triggers) When the configuration evaluates tables. Replaces the current triggers. 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. Replaces the current triggers. 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
UpdateDataQualityEvaluationConfigRequest.Builder triggers(DataQualityEvaluationConfigTrigger... triggers) When the configuration evaluates tables. Replaces the current triggers. 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. Replaces the current triggers. 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.
-
pauseRuns
Specifies whether to pause the configuration. While paused, the configuration evaluates nothing, including tables added to the catalog or database.
- Parameters:
pauseRuns- Specifies whether to pause the configuration. While paused, the configuration evaluates nothing, including tables added to the catalog or database.- 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 needs the trust policy and permissions described for
CreateDataQualityEvaluationConfig.- Parameters:
role- The IAM role that evaluations assume. You can specify the role name or the role Amazon Resource Name (ARN). The role needs the trust policy and permissions described forCreateDataQualityEvaluationConfig.- 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
UpdateDataQualityEvaluationConfigRequest.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 UpdateDataQualityEvaluationConfigRequest.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
UpdateDataQualityEvaluationConfigRequest.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.
-
overrideConfiguration
UpdateDataQualityEvaluationConfigRequest.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
UpdateDataQualityEvaluationConfigRequest.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.
-