Interface CreateRecipeJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateRecipeJobRequest.Builder,
,CreateRecipeJobRequest> DataBrewRequest.Builder
,SdkBuilder<CreateRecipeJobRequest.Builder,
,CreateRecipeJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateRecipeJobRequest
-
Method Summary
Modifier and TypeMethodDescriptiondatabaseOutputs
(Collection<DatabaseOutput> databaseOutputs) Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write to.databaseOutputs
(Consumer<DatabaseOutput.Builder>... databaseOutputs) Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write to.databaseOutputs
(DatabaseOutput... databaseOutputs) Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write to.dataCatalogOutputs
(Collection<DataCatalogOutput> dataCatalogOutputs) One or more artifacts that represent the Glue Data Catalog output from running the job.dataCatalogOutputs
(Consumer<DataCatalogOutput.Builder>... dataCatalogOutputs) One or more artifacts that represent the Glue Data Catalog output from running the job.dataCatalogOutputs
(DataCatalogOutput... dataCatalogOutputs) One or more artifacts that represent the Glue Data Catalog output from running the job.datasetName
(String datasetName) The name of the dataset that this job processes.encryptionKeyArn
(String encryptionKeyArn) The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.encryptionMode
(String encryptionMode) The encryption mode for the job, which can be one of the following:encryptionMode
(EncryptionMode encryptionMode) The encryption mode for the job, which can be one of the following:logSubscription
(String logSubscription) Enables or disables Amazon CloudWatch logging for the job.logSubscription
(LogSubscription logSubscription) Enables or disables Amazon CloudWatch logging for the job.maxCapacity
(Integer maxCapacity) The maximum number of nodes that DataBrew can consume when the job processes data.maxRetries
(Integer maxRetries) The maximum number of times to retry the job after a job run fails.A unique name for the job.outputs
(Collection<Output> outputs) One or more artifacts that represent the output from running the job.outputs
(Consumer<Output.Builder>... outputs) One or more artifacts that represent the output from running the job.One or more artifacts that represent the output from running the job.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.projectName
(String projectName) Either the name of an existing project, or a combination of a recipe and a dataset to associate with the recipe.default CreateRecipeJobRequest.Builder
recipeReference
(Consumer<RecipeReference.Builder> recipeReference) Sets the value of the RecipeReference property for this object.recipeReference
(RecipeReference recipeReference) Sets the value of the RecipeReference property for this object.The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.Metadata tags to apply to this job.The job's timeout in minutes.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.databrew.model.DataBrewRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
datasetName
The name of the dataset that this job processes.
- Parameters:
datasetName
- The name of the dataset that this job processes.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKeyArn
The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.
- Parameters:
encryptionKeyArn
- The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionMode
The encryption mode for the job, which can be one of the following:
-
SSE-KMS
- Server-side encryption with keys managed by KMS. -
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
- Parameters:
encryptionMode
- The encryption mode for the job, which can be one of the following:-
SSE-KMS
- Server-side encryption with keys managed by KMS. -
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
encryptionMode
The encryption mode for the job, which can be one of the following:
-
SSE-KMS
- Server-side encryption with keys managed by KMS. -
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
- Parameters:
encryptionMode
- The encryption mode for the job, which can be one of the following:-
SSE-KMS
- Server-side encryption with keys managed by KMS. -
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
-
name
A unique name for the job. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
- Parameters:
name
- A unique name for the job. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logSubscription
Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.
- Parameters:
logSubscription
- Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
logSubscription
Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.
- Parameters:
logSubscription
- Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
maxCapacity
The maximum number of nodes that DataBrew can consume when the job processes data.
- Parameters:
maxCapacity
- The maximum number of nodes that DataBrew can consume when the job processes data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxRetries
The maximum number of times to retry the job after a job run fails.
- Parameters:
maxRetries
- The maximum number of times to retry the job after a job run fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
One or more artifacts that represent the output from running the job.
- Parameters:
outputs
- One or more artifacts that represent the output from running the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
One or more artifacts that represent the output from running the job.
- Parameters:
outputs
- One or more artifacts that represent the output from running the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
One or more artifacts that represent the output from running the job.
This is a convenience method that creates an instance of theOutput.Builder
avoiding the need to create one manually viaOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputs(List<Output>)
.- Parameters:
outputs
- a consumer that will call methods onOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataCatalogOutputs
One or more artifacts that represent the Glue Data Catalog output from running the job.
- Parameters:
dataCatalogOutputs
- One or more artifacts that represent the Glue Data Catalog output from running the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataCatalogOutputs
One or more artifacts that represent the Glue Data Catalog output from running the job.
- Parameters:
dataCatalogOutputs
- One or more artifacts that represent the Glue Data Catalog output from running the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataCatalogOutputs
CreateRecipeJobRequest.Builder dataCatalogOutputs(Consumer<DataCatalogOutput.Builder>... dataCatalogOutputs) One or more artifacts that represent the Glue Data Catalog output from running the job.
This is a convenience method that creates an instance of theDataCatalogOutput.Builder
avoiding the need to create one manually viaDataCatalogOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todataCatalogOutputs(List<DataCatalogOutput>)
.- Parameters:
dataCatalogOutputs
- a consumer that will call methods onDataCatalogOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
databaseOutputs
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write to.
- Parameters:
databaseOutputs
- Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseOutputs
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write to.
- Parameters:
databaseOutputs
- Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write to.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseOutputs
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write to.
This is a convenience method that creates an instance of theDatabaseOutput.Builder
avoiding the need to create one manually viaDatabaseOutput.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todatabaseOutputs(List<DatabaseOutput>)
.- Parameters:
databaseOutputs
- a consumer that will call methods onDatabaseOutput.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
projectName
Either the name of an existing project, or a combination of a recipe and a dataset to associate with the recipe.
- Parameters:
projectName
- Either the name of an existing project, or a combination of a recipe and a dataset to associate with the recipe.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipeReference
Sets the value of the RecipeReference property for this object.- Parameters:
recipeReference
- The new value for the RecipeReference property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipeReference
default CreateRecipeJobRequest.Builder recipeReference(Consumer<RecipeReference.Builder> recipeReference) Sets the value of the RecipeReference property for this object. This is a convenience method that creates an instance of theRecipeReference.Builder
avoiding the need to create one manually viaRecipeReference.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torecipeReference(RecipeReference)
.- Parameters:
recipeReference
- a consumer that will call methods onRecipeReference.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata tags to apply to this job.
- Parameters:
tags
- Metadata tags to apply to this job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeout
The job's timeout in minutes. A job that attempts to run longer than this timeout period ends with a status of
TIMEOUT
.- Parameters:
timeout
- The job's timeout in minutes. A job that attempts to run longer than this timeout period ends with a status ofTIMEOUT
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateRecipeJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateRecipeJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-