Interface Job.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Job.Builder,Job>,SdkBuilder<Job.Builder,Job>,SdkPojo
- Enclosing class:
- Job
public static interface Job.Builder extends SdkPojo, CopyableBuilder<Job.Builder,Job>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Job.BuilderaccountId(String accountId)The ID of the Amazon Web Services account that owns the job.Job.BuildercreateDate(Instant createDate)The date and time that the job was created.Job.BuildercreatedBy(String createdBy)The Amazon Resource Name (ARN) of the user who created the job.Job.BuilderdatabaseOutputs(Collection<DatabaseOutput> databaseOutputs)Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.Job.BuilderdatabaseOutputs(Consumer<DatabaseOutput.Builder>... databaseOutputs)Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.Job.BuilderdatabaseOutputs(DatabaseOutput... databaseOutputs)Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.Job.BuilderdataCatalogOutputs(Collection<DataCatalogOutput> dataCatalogOutputs)One or more artifacts that represent the Glue Data Catalog output from running the job.Job.BuilderdataCatalogOutputs(Consumer<DataCatalogOutput.Builder>... dataCatalogOutputs)One or more artifacts that represent the Glue Data Catalog output from running the job.Job.BuilderdataCatalogOutputs(DataCatalogOutput... dataCatalogOutputs)One or more artifacts that represent the Glue Data Catalog output from running the job.Job.BuilderdatasetName(String datasetName)A dataset that the job is to process.Job.BuilderencryptionKeyArn(String encryptionKeyArn)The Amazon Resource Name (ARN) of an encryption key that is used to protect the job output.Job.BuilderencryptionMode(String encryptionMode)The encryption mode for the job, which can be one of the following:Job.BuilderencryptionMode(EncryptionMode encryptionMode)The encryption mode for the job, which can be one of the following:default Job.BuilderjobSample(Consumer<JobSample.Builder> jobSample)A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run.Job.BuilderjobSample(JobSample jobSample)A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run.Job.BuilderlastModifiedBy(String lastModifiedBy)The Amazon Resource Name (ARN) of the user who last modified the job.Job.BuilderlastModifiedDate(Instant lastModifiedDate)The modification date and time of the job.Job.BuilderlogSubscription(String logSubscription)The current status of Amazon CloudWatch logging for the job.Job.BuilderlogSubscription(LogSubscription logSubscription)The current status of Amazon CloudWatch logging for the job.Job.BuildermaxCapacity(Integer maxCapacity)The maximum number of nodes that can be consumed when the job processes data.Job.BuildermaxRetries(Integer maxRetries)The maximum number of times to retry the job after a job run fails.Job.Buildername(String name)The unique name of the job.Job.Builderoutputs(Collection<Output> outputs)One or more artifacts that represent output from running the job.Job.Builderoutputs(Consumer<Output.Builder>... outputs)One or more artifacts that represent output from running the job.Job.Builderoutputs(Output... outputs)One or more artifacts that represent output from running the job.Job.BuilderprojectName(String projectName)The name of the project that the job is associated with.default Job.BuilderrecipeReference(Consumer<RecipeReference.Builder> recipeReference)A set of steps that the job runs.Job.BuilderrecipeReference(RecipeReference recipeReference)A set of steps that the job runs.Job.BuilderresourceArn(String resourceArn)The unique Amazon Resource Name (ARN) for the job.Job.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the role to be assumed for this job.Job.Buildertags(Map<String,String> tags)Metadata tags that have been applied to the job.Job.Buildertimeout(Integer timeout)The job's timeout in minutes.Job.Buildertype(String type)The job type of the job, which must be one of the following:Job.Buildertype(JobType type)The job type of the job, which must be one of the following:Job.BuildervalidationConfigurations(Collection<ValidationConfiguration> validationConfigurations)List of validation configurations that are applied to the profile job.Job.BuildervalidationConfigurations(Consumer<ValidationConfiguration.Builder>... validationConfigurations)List of validation configurations that are applied to the profile job.Job.BuildervalidationConfigurations(ValidationConfiguration... validationConfigurations)List of validation configurations that are applied to the profile job.-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
-
-
-
Method Detail
-
accountId
Job.Builder accountId(String accountId)
The ID of the Amazon Web Services account that owns the job.
- Parameters:
accountId- The ID of the Amazon Web Services account that owns the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Job.Builder createdBy(String createdBy)
The Amazon Resource Name (ARN) of the user who created the job.
- Parameters:
createdBy- The Amazon Resource Name (ARN) of the user who created the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createDate
Job.Builder createDate(Instant createDate)
The date and time that the job was created.
- Parameters:
createDate- The date and time that the job was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetName
Job.Builder datasetName(String datasetName)
A dataset that the job is to process.
- Parameters:
datasetName- A dataset that the job is to process.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionKeyArn
Job.Builder encryptionKeyArn(String encryptionKeyArn)
The Amazon Resource Name (ARN) of an encryption key that is used to protect the job output. For more information, see Encrypting data written by DataBrew jobs
- Parameters:
encryptionKeyArn- The Amazon Resource Name (ARN) of an encryption key that is used to protect the job output. For more information, see Encrypting data written by DataBrew jobs- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionMode
Job.Builder encryptionMode(String 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,EncryptionMode
-
-
encryptionMode
Job.Builder encryptionMode(EncryptionMode 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,EncryptionMode
-
-
name
Job.Builder name(String name)
The unique name of the job.
- Parameters:
name- The unique name of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
Job.Builder type(String type)
The job type of the job, which must be one of the following:
-
PROFILE- A job to analyze a dataset, to determine its size, data types, data distribution, and more. -
RECIPE- A job to apply one or more transformations to a dataset.
- Parameters:
type- The job type of the job, which must be one of the following:-
PROFILE- A job to analyze a dataset, to determine its size, data types, data distribution, and more. -
RECIPE- A job to apply one or more transformations to a dataset.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobType,JobType
-
-
type
Job.Builder type(JobType type)
The job type of the job, which must be one of the following:
-
PROFILE- A job to analyze a dataset, to determine its size, data types, data distribution, and more. -
RECIPE- A job to apply one or more transformations to a dataset.
- Parameters:
type- The job type of the job, which must be one of the following:-
PROFILE- A job to analyze a dataset, to determine its size, data types, data distribution, and more. -
RECIPE- A job to apply one or more transformations to a dataset.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
JobType,JobType
-
-
lastModifiedBy
Job.Builder lastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last modified the job.
- Parameters:
lastModifiedBy- The Amazon Resource Name (ARN) of the user who last modified the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
Job.Builder lastModifiedDate(Instant lastModifiedDate)
The modification date and time of the job.
- Parameters:
lastModifiedDate- The modification date and time of the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logSubscription
Job.Builder logSubscription(String logSubscription)
The current status of Amazon CloudWatch logging for the job.
- Parameters:
logSubscription- The current status of Amazon CloudWatch logging for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogSubscription,LogSubscription
-
logSubscription
Job.Builder logSubscription(LogSubscription logSubscription)
The current status of Amazon CloudWatch logging for the job.
- Parameters:
logSubscription- The current status of Amazon CloudWatch logging for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LogSubscription,LogSubscription
-
maxCapacity
Job.Builder maxCapacity(Integer maxCapacity)
The maximum number of nodes that can be consumed when the job processes data.
- Parameters:
maxCapacity- The maximum number of nodes that can be consumed when the job processes data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
maxRetries
Job.Builder maxRetries(Integer 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
Job.Builder outputs(Collection<Output> outputs)
One or more artifacts that represent output from running the job.
- Parameters:
outputs- One or more artifacts that represent output from running the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
Job.Builder outputs(Output... outputs)
One or more artifacts that represent output from running the job.
- Parameters:
outputs- One or more artifacts that represent output from running the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputs
Job.Builder outputs(Consumer<Output.Builder>... outputs)
One or more artifacts that represent output from running the job.
This is a convenience method that creates an instance of theOutput.Builderavoiding the need to create one manually viaOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#outputs(List.- 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:
#outputs(java.util.Collection
-
dataCatalogOutputs
Job.Builder dataCatalogOutputs(Collection<DataCatalogOutput> 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
Job.Builder dataCatalogOutputs(DataCatalogOutput... 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
Job.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.Builderavoiding the need to create one manually viaDataCatalogOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#dataCatalogOutputs(List.) - 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:
#dataCatalogOutputs(java.util.Collection)
-
databaseOutputs
Job.Builder databaseOutputs(Collection<DatabaseOutput> databaseOutputs)
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
- Parameters:
databaseOutputs- Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseOutputs
Job.Builder databaseOutputs(DatabaseOutput... databaseOutputs)
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.
- Parameters:
databaseOutputs- Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
databaseOutputs
Job.Builder 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 into.
This is a convenience method that creates an instance of theDatabaseOutput.Builderavoiding the need to create one manually viaDatabaseOutput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#databaseOutputs(List.) - 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:
#databaseOutputs(java.util.Collection)
-
projectName
Job.Builder projectName(String projectName)
The name of the project that the job is associated with.
- Parameters:
projectName- The name of the project that the job is associated with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipeReference
Job.Builder recipeReference(RecipeReference recipeReference)
A set of steps that the job runs.
- Parameters:
recipeReference- A set of steps that the job runs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipeReference
default Job.Builder recipeReference(Consumer<RecipeReference.Builder> recipeReference)
A set of steps that the job runs.
This is a convenience method that creates an instance of theRecipeReference.Builderavoiding the need to create one manually viaRecipeReference.builder().When the
Consumercompletes,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:
recipeReference(RecipeReference)
-
resourceArn
Job.Builder resourceArn(String resourceArn)
The unique Amazon Resource Name (ARN) for the job.
- Parameters:
resourceArn- The unique Amazon Resource Name (ARN) for the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
Job.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role to be assumed for this job.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the role to be assumed for this job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
timeout
Job.Builder timeout(Integer 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.
-
tags
Job.Builder tags(Map<String,String> tags)
Metadata tags that have been applied to the job.
- Parameters:
tags- Metadata tags that have been applied to the job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobSample
Job.Builder jobSample(JobSample jobSample)
A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If a
JobSamplevalue isn't provided, the default value is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.- Parameters:
jobSample- A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If aJobSamplevalue isn't provided, the default value is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobSample
default Job.Builder jobSample(Consumer<JobSample.Builder> jobSample)
A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run. If a
This is a convenience method that creates an instance of theJobSamplevalue isn't provided, the default value is used. The default value is CUSTOM_ROWS for the mode parameter and 20,000 for the size parameter.JobSample.Builderavoiding the need to create one manually viaJobSample.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tojobSample(JobSample).- Parameters:
jobSample- a consumer that will call methods onJobSample.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
jobSample(JobSample)
-
validationConfigurations
Job.Builder validationConfigurations(Collection<ValidationConfiguration> validationConfigurations)
List of validation configurations that are applied to the profile job.
- Parameters:
validationConfigurations- List of validation configurations that are applied to the profile job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationConfigurations
Job.Builder validationConfigurations(ValidationConfiguration... validationConfigurations)
List of validation configurations that are applied to the profile job.
- Parameters:
validationConfigurations- List of validation configurations that are applied to the profile job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationConfigurations
Job.Builder validationConfigurations(Consumer<ValidationConfiguration.Builder>... validationConfigurations)
List of validation configurations that are applied to the profile job.
This is a convenience method that creates an instance of theValidationConfiguration.Builderavoiding the need to create one manually viaValidationConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#validationConfigurations(List.) - Parameters:
validationConfigurations- a consumer that will call methods onValidationConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#validationConfigurations(java.util.Collection)
-
-