Interface UpdateProfileJobRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<UpdateProfileJobRequest.Builder,
,UpdateProfileJobRequest> DataBrewRequest.Builder
,SdkBuilder<UpdateProfileJobRequest.Builder,
,UpdateProfileJobRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
UpdateProfileJobRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateProfileJobRequest.Builder
configuration
(Consumer<ProfileConfiguration.Builder> configuration) Configuration for profile jobs.configuration
(ProfileConfiguration configuration) Configuration for profile jobs.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:default UpdateProfileJobRequest.Builder
jobSample
(Consumer<JobSample.Builder> jobSample) Sample configuration for Profile Jobs only.Sample configuration for Profile Jobs only.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 compute nodes that DataBrew can use when the job processes data.maxRetries
(Integer maxRetries) The maximum number of times to retry the job after a job run fails.The name of the job to be updated.default UpdateProfileJobRequest.Builder
outputLocation
(Consumer<S3Location.Builder> outputLocation) Sets the value of the OutputLocation property for this object.outputLocation
(S3Location outputLocation) Sets the value of the OutputLocation property for this object.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.The job's timeout in minutes.validationConfigurations
(Collection<ValidationConfiguration> validationConfigurations) List of validation configurations that are applied to the profile job.validationConfigurations
(Consumer<ValidationConfiguration.Builder>... validationConfigurations) List of validation configurations that are applied to the profile job.validationConfigurations
(ValidationConfiguration... validationConfigurations) List of validation configurations that are applied to the profile job.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
-
configuration
Configuration for profile jobs. Used to select columns, do evaluations, and override default parameters of evaluations. When configuration is null, the profile job will run with default settings.
- Parameters:
configuration
- Configuration for profile jobs. Used to select columns, do evaluations, and override default parameters of evaluations. When configuration is null, the profile job will run with default settings.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
configuration
default UpdateProfileJobRequest.Builder configuration(Consumer<ProfileConfiguration.Builder> configuration) Configuration for profile jobs. Used to select columns, do evaluations, and override default parameters of evaluations. When configuration is null, the profile job will run with default settings.
This is a convenience method that creates an instance of theProfileConfiguration.Builder
avoiding the need to create one manually viaProfileConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconfiguration(ProfileConfiguration)
.- Parameters:
configuration
- a consumer that will call methods onProfileConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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
The name of the job to be updated.
- Parameters:
name
- The name of the job to be updated.- 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 compute nodes that DataBrew can use when the job processes data.
- Parameters:
maxCapacity
- The maximum number of compute nodes that DataBrew can use 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.
-
outputLocation
Sets the value of the OutputLocation property for this object.- Parameters:
outputLocation
- The new value for the OutputLocation property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
outputLocation
Sets the value of the OutputLocation property for this object. This is a convenience method that creates an instance of theS3Location.Builder
avoiding the need to create one manually viaS3Location.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooutputLocation(S3Location)
.- Parameters:
outputLocation
- a consumer that will call methods onS3Location.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
validationConfigurations
UpdateProfileJobRequest.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
UpdateProfileJobRequest.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
UpdateProfileJobRequest.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.Builder
avoiding the need to create one manually viaValidationConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovalidationConfigurations(List<ValidationConfiguration>)
.- 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:
-
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.
-
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.
-
jobSample
Sample configuration for Profile Jobs only. Determines the number of rows on which the Profile job will be executed. If a JobSample value is not provided for profile jobs, the default value will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 for the size parameter.
- Parameters:
jobSample
- Sample configuration for Profile Jobs only. Determines the number of rows on which the Profile job will be executed. If a JobSample value is not provided for profile jobs, the default value will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 for the size parameter.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
jobSample
Sample configuration for Profile Jobs only. Determines the number of rows on which the Profile job will be executed. If a JobSample value is not provided for profile jobs, the default value will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 for the size parameter.
This is a convenience method that creates an instance of theJobSample.Builder
avoiding the need to create one manually viaJobSample.builder()
.When the
Consumer
completes,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:
-
overrideConfiguration
UpdateProfileJobRequest.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
UpdateProfileJobRequest.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.
-