Class CfnJobMixinProps.Builder
java.lang.Object
software.amazon.awscdk.cfnpropertymixins.services.databrew.CfnJobMixinProps.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnJobMixinProps>
- Enclosing interface:
CfnJobMixinProps
@Stability(Stable)
public static final class CfnJobMixinProps.Builder
extends Object
implements software.amazon.jsii.Builder<CfnJobMixinProps>
A builder for
CfnJobMixinProps-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.databaseOutputs(List<? extends Object> databaseOutputs) Sets the value ofCfnJobMixinProps.getDatabaseOutputs()databaseOutputs(IResolvable databaseOutputs) Sets the value ofCfnJobMixinProps.getDatabaseOutputs()dataCatalogOutputs(List<? extends Object> dataCatalogOutputs) Sets the value ofCfnJobMixinProps.getDataCatalogOutputs()dataCatalogOutputs(IResolvable dataCatalogOutputs) Sets the value ofCfnJobMixinProps.getDataCatalogOutputs()datasetName(String datasetName) Sets the value ofCfnJobMixinProps.getDatasetName()encryptionKeyArn(String encryptionKeyArn) Sets the value ofCfnJobMixinProps.getEncryptionKeyArn()encryptionMode(String encryptionMode) Sets the value ofCfnJobMixinProps.getEncryptionMode()jobSample(CfnJobPropsMixin.JobSampleProperty jobSample) Sets the value ofCfnJobMixinProps.getJobSample()jobSample(IResolvable jobSample) Sets the value ofCfnJobMixinProps.getJobSample()logSubscription(String logSubscription) Sets the value ofCfnJobMixinProps.getLogSubscription()maxCapacity(Number maxCapacity) Sets the value ofCfnJobMixinProps.getMaxCapacity()maxRetries(Number maxRetries) Sets the value ofCfnJobMixinProps.getMaxRetries()Sets the value ofCfnJobMixinProps.getName()outputLocation(CfnJobPropsMixin.OutputLocationProperty outputLocation) Sets the value ofCfnJobMixinProps.getOutputLocation()outputLocation(IResolvable outputLocation) Sets the value ofCfnJobMixinProps.getOutputLocation()Sets the value ofCfnJobMixinProps.getOutputs()outputs(IResolvable outputs) Sets the value ofCfnJobMixinProps.getOutputs()profileConfiguration(CfnJobPropsMixin.ProfileConfigurationProperty profileConfiguration) Sets the value ofCfnJobMixinProps.getProfileConfiguration()profileConfiguration(IResolvable profileConfiguration) Sets the value ofCfnJobMixinProps.getProfileConfiguration()projectName(String projectName) Sets the value ofCfnJobMixinProps.getProjectName()Sets the value ofCfnJobMixinProps.getRecipe()recipe(IResolvable recipe) Sets the value ofCfnJobMixinProps.getRecipe()Sets the value ofCfnJobMixinProps.getRoleArn()Sets the value ofCfnJobMixinProps.getTags()Sets the value ofCfnJobMixinProps.getTimeout()Sets the value ofCfnJobMixinProps.getType()validationConfigurations(List<? extends Object> validationConfigurations) Sets the value ofCfnJobMixinProps.getValidationConfigurations()validationConfigurations(IResolvable validationConfigurations) Sets the value ofCfnJobMixinProps.getValidationConfigurations()
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
databaseOutputs
Sets the value ofCfnJobMixinProps.getDatabaseOutputs()- Parameters:
databaseOutputs- Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.- Returns:
this
-
databaseOutputs
@Stability(Stable) public CfnJobMixinProps.Builder databaseOutputs(List<? extends Object> databaseOutputs) Sets the value ofCfnJobMixinProps.getDatabaseOutputs()- Parameters:
databaseOutputs- Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write into.- Returns:
this
-
dataCatalogOutputs
@Stability(Stable) public CfnJobMixinProps.Builder dataCatalogOutputs(IResolvable dataCatalogOutputs) Sets the value ofCfnJobMixinProps.getDataCatalogOutputs()- Parameters:
dataCatalogOutputs- One or more artifacts that represent the AWS Glue Data Catalog output from running the job.- Returns:
this
-
dataCatalogOutputs
@Stability(Stable) public CfnJobMixinProps.Builder dataCatalogOutputs(List<? extends Object> dataCatalogOutputs) Sets the value ofCfnJobMixinProps.getDataCatalogOutputs()- Parameters:
dataCatalogOutputs- One or more artifacts that represent the AWS Glue Data Catalog output from running the job.- Returns:
this
-
datasetName
Sets the value ofCfnJobMixinProps.getDatasetName()- Parameters:
datasetName- A dataset that the job is to process.- Returns:
this
-
encryptionKeyArn
Sets the value ofCfnJobMixinProps.getEncryptionKeyArn()- 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:
this
-
encryptionMode
Sets the value ofCfnJobMixinProps.getEncryptionMode()- Parameters:
encryptionMode- The encryption mode for the job, which can be one of the following:.SSE-KMS- Server-side encryption with keys managed by AWS .SSE-S3- Server-side encryption with keys managed by Amazon S3.
- Returns:
this
-
jobSample
Sets the value ofCfnJobMixinProps.getJobSample()- 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:
this
-
jobSample
@Stability(Stable) public CfnJobMixinProps.Builder jobSample(CfnJobPropsMixin.JobSampleProperty jobSample) Sets the value ofCfnJobMixinProps.getJobSample()- 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:
this
-
logSubscription
Sets the value ofCfnJobMixinProps.getLogSubscription()- Parameters:
logSubscription- The current status of Amazon CloudWatch logging for the job.- Returns:
this
-
maxCapacity
Sets the value ofCfnJobMixinProps.getMaxCapacity()- Parameters:
maxCapacity- The maximum number of nodes that can be consumed when the job processes data.- Returns:
this
-
maxRetries
Sets the value ofCfnJobMixinProps.getMaxRetries()- Parameters:
maxRetries- The maximum number of times to retry the job after a job run fails.- Returns:
this
-
name
Sets the value ofCfnJobMixinProps.getName()- Parameters:
name- The unique name of the job.- Returns:
this
-
outputLocation
Sets the value ofCfnJobMixinProps.getOutputLocation()- Parameters:
outputLocation- The location in Amazon S3 where the job writes its output.- Returns:
this
-
outputLocation
@Stability(Stable) public CfnJobMixinProps.Builder outputLocation(CfnJobPropsMixin.OutputLocationProperty outputLocation) Sets the value ofCfnJobMixinProps.getOutputLocation()- Parameters:
outputLocation- The location in Amazon S3 where the job writes its output.- Returns:
this
-
outputs
Sets the value ofCfnJobMixinProps.getOutputs()- Parameters:
outputs- One or more artifacts that represent output from running the job.- Returns:
this
-
outputs
Sets the value ofCfnJobMixinProps.getOutputs()- Parameters:
outputs- One or more artifacts that represent output from running the job.- Returns:
this
-
profileConfiguration
@Stability(Stable) public CfnJobMixinProps.Builder profileConfiguration(IResolvable profileConfiguration) Sets the value ofCfnJobMixinProps.getProfileConfiguration()- Parameters:
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.- Returns:
this
-
profileConfiguration
@Stability(Stable) public CfnJobMixinProps.Builder profileConfiguration(CfnJobPropsMixin.ProfileConfigurationProperty profileConfiguration) Sets the value ofCfnJobMixinProps.getProfileConfiguration()- Parameters:
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.- Returns:
this
-
projectName
Sets the value ofCfnJobMixinProps.getProjectName()- Parameters:
projectName- The name of the project that the job is associated with.- Returns:
this
-
recipe
Sets the value ofCfnJobMixinProps.getRecipe()- Parameters:
recipe- A series of data transformation steps that the job runs.- Returns:
this
-
recipe
Sets the value ofCfnJobMixinProps.getRecipe()- Parameters:
recipe- A series of data transformation steps that the job runs.- Returns:
this
-
roleArn
Sets the value ofCfnJobMixinProps.getRoleArn()- Parameters:
roleArn- The Amazon Resource Name (ARN) of the role to be assumed for this job.- Returns:
this
-
tags
Sets the value ofCfnJobMixinProps.getTags()- Parameters:
tags- Metadata tags that have been applied to the job.- Returns:
this
-
timeout
Sets the value ofCfnJobMixinProps.getTimeout()- 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:
this
-
type
Sets the value ofCfnJobMixinProps.getType()- 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:
this
-
validationConfigurations
@Stability(Stable) public CfnJobMixinProps.Builder validationConfigurations(IResolvable validationConfigurations) Sets the value ofCfnJobMixinProps.getValidationConfigurations()- Parameters:
validationConfigurations- List of validation configurations that are applied to the profile job.- Returns:
this
-
validationConfigurations
@Stability(Stable) public CfnJobMixinProps.Builder validationConfigurations(List<? extends Object> validationConfigurations) Sets the value ofCfnJobMixinProps.getValidationConfigurations()- Parameters:
validationConfigurations- List of validation configurations that are applied to the profile job.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnJobMixinProps>- Returns:
- a new instance of
CfnJobMixinProps - Throws:
NullPointerException- if any required attribute was not provided
-