public static final class CfnJobProps.Builder
extends java.lang.Object
CfnJobProps
Constructor and Description |
---|
Builder() |
public CfnJobProps.Builder name(java.lang.String name)
CfnJobProps.getName()
name
- The unique name of the job. This parameter is required.this
public CfnJobProps.Builder roleArn(java.lang.String roleArn)
CfnJobProps.getRoleArn()
roleArn
- The Amazon Resource Name (ARN) of the role to be assumed for this job. This parameter is required.this
public CfnJobProps.Builder type(java.lang.String type)
CfnJobProps.getType()
type
- The job type of the job, which must be one of the following:. This parameter is required.
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.this
public CfnJobProps.Builder databaseOutputs(IResolvable databaseOutputs)
CfnJobProps.getDatabaseOutputs()
databaseOutputs
- Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.this
public CfnJobProps.Builder databaseOutputs(java.util.List<? extends java.lang.Object> databaseOutputs)
CfnJobProps.getDatabaseOutputs()
databaseOutputs
- Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.this
public CfnJobProps.Builder dataCatalogOutputs(IResolvable dataCatalogOutputs)
CfnJobProps.getDataCatalogOutputs()
dataCatalogOutputs
- One or more artifacts that represent the AWS Glue Data Catalog output from running the job.this
public CfnJobProps.Builder dataCatalogOutputs(java.util.List<? extends java.lang.Object> dataCatalogOutputs)
CfnJobProps.getDataCatalogOutputs()
dataCatalogOutputs
- One or more artifacts that represent the AWS Glue Data Catalog output from running the job.this
public CfnJobProps.Builder datasetName(java.lang.String datasetName)
CfnJobProps.getDatasetName()
datasetName
- A dataset that the job is to process.this
public CfnJobProps.Builder encryptionKeyArn(java.lang.String encryptionKeyArn)
CfnJobProps.getEncryptionKeyArn()
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 jobsthis
public CfnJobProps.Builder encryptionMode(java.lang.String encryptionMode)
CfnJobProps.getEncryptionMode()
encryptionMode
- The encryption mode for the job, which can be one of the following:.
SSE-KMS
- Server-side encryption with keys managed by AWS KMS .SSE-S3
- Server-side encryption with keys managed by Amazon S3.this
public CfnJobProps.Builder jobSample(IResolvable jobSample)
CfnJobProps.getJobSample()
jobSample
- A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run.
If a JobSample
value 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.this
public CfnJobProps.Builder jobSample(CfnJob.JobSampleProperty jobSample)
CfnJobProps.getJobSample()
jobSample
- A sample configuration for profile jobs only, which determines the number of rows on which the profile job is run.
If a JobSample
value 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.this
public CfnJobProps.Builder logSubscription(java.lang.String logSubscription)
CfnJobProps.getLogSubscription()
logSubscription
- The current status of Amazon CloudWatch logging for the job.this
public CfnJobProps.Builder maxCapacity(java.lang.Number maxCapacity)
CfnJobProps.getMaxCapacity()
maxCapacity
- The maximum number of nodes that can be consumed when the job processes data.this
public CfnJobProps.Builder maxRetries(java.lang.Number maxRetries)
CfnJobProps.getMaxRetries()
maxRetries
- The maximum number of times to retry the job after a job run fails.this
public CfnJobProps.Builder outputLocation(IResolvable outputLocation)
CfnJobProps.getOutputLocation()
outputLocation
- `AWS::DataBrew::Job.OutputLocation`.this
public CfnJobProps.Builder outputLocation(CfnJob.OutputLocationProperty outputLocation)
CfnJobProps.getOutputLocation()
outputLocation
- `AWS::DataBrew::Job.OutputLocation`.this
public CfnJobProps.Builder outputs(IResolvable outputs)
CfnJobProps.getOutputs()
outputs
- One or more artifacts that represent output from running the job.this
public CfnJobProps.Builder outputs(java.util.List<? extends java.lang.Object> outputs)
CfnJobProps.getOutputs()
outputs
- One or more artifacts that represent output from running the job.this
public CfnJobProps.Builder profileConfiguration(IResolvable profileConfiguration)
CfnJobProps.getProfileConfiguration()
profileConfiguration
- Configuration for profile jobs.
Configuration can be used to select columns, do evaluations, and override default parameters of evaluations. When configuration is undefined, the profile job will apply default settings to all supported columns.this
public CfnJobProps.Builder profileConfiguration(CfnJob.ProfileConfigurationProperty profileConfiguration)
CfnJobProps.getProfileConfiguration()
profileConfiguration
- Configuration for profile jobs.
Configuration can be used to select columns, do evaluations, and override default parameters of evaluations. When configuration is undefined, the profile job will apply default settings to all supported columns.this
public CfnJobProps.Builder projectName(java.lang.String projectName)
CfnJobProps.getProjectName()
projectName
- The name of the project that the job is associated with.this
public CfnJobProps.Builder recipe(IResolvable recipe)
CfnJobProps.getRecipe()
recipe
- A series of data transformation steps that the job runs.this
public CfnJobProps.Builder recipe(CfnJob.RecipeProperty recipe)
CfnJobProps.getRecipe()
recipe
- A series of data transformation steps that the job runs.this
public CfnJobProps.Builder tags(java.util.List<? extends CfnTag> tags)
CfnJobProps.getTags()
tags
- Metadata tags that have been applied to the job.this
public CfnJobProps.Builder timeout(java.lang.Number timeout)
CfnJobProps.getTimeout()
timeout
- The job's timeout in minutes.
A job that attempts to run longer than this timeout period ends with a status of TIMEOUT
.this
public CfnJobProps.Builder validationConfigurations(IResolvable validationConfigurations)
CfnJobProps.getValidationConfigurations()
validationConfigurations
- List of validation configurations that are applied to the profile job.this
public CfnJobProps.Builder validationConfigurations(java.util.List<? extends java.lang.Object> validationConfigurations)
CfnJobProps.getValidationConfigurations()
validationConfigurations
- List of validation configurations that are applied to the profile job.this
public CfnJobProps build()
CfnJobProps
java.lang.NullPointerException
- if any required attribute was not provided