@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateProfileJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateProfileJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateProfileJobRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateProfileJobRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateProfileJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
ProfileConfiguration |
getConfiguration()
Configuration for profile jobs.
|
String |
getDatasetName()
The name of the dataset that this job is to act upon.
|
String |
getEncryptionKeyArn()
The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.
|
String |
getEncryptionMode()
The encryption mode for the job, which can be one of the following:
|
JobSample |
getJobSample()
Sample configuration for profile jobs only.
|
String |
getLogSubscription()
Enables or disables Amazon CloudWatch logging for the job.
|
Integer |
getMaxCapacity()
The maximum number of nodes that DataBrew can use when the job processes data.
|
Integer |
getMaxRetries()
The maximum number of times to retry the job after a job run fails.
|
String |
getName()
The name of the job to be created.
|
S3Location |
getOutputLocation() |
String |
getRoleArn()
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs
the job.
|
Map<String,String> |
getTags()
Metadata tags to apply to this job.
|
Integer |
getTimeout()
The job's timeout in minutes.
|
List<ValidationConfiguration> |
getValidationConfigurations()
List of validation configurations that are applied to the profile job.
|
int |
hashCode() |
void |
setConfiguration(ProfileConfiguration configuration)
Configuration for profile jobs.
|
void |
setDatasetName(String datasetName)
The name of the dataset that this job is to act upon.
|
void |
setEncryptionKeyArn(String encryptionKeyArn)
The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.
|
void |
setEncryptionMode(String encryptionMode)
The encryption mode for the job, which can be one of the following:
|
void |
setJobSample(JobSample jobSample)
Sample configuration for profile jobs only.
|
void |
setLogSubscription(String logSubscription)
Enables or disables Amazon CloudWatch logging for the job.
|
void |
setMaxCapacity(Integer maxCapacity)
The maximum number of nodes that DataBrew can use when the job processes data.
|
void |
setMaxRetries(Integer maxRetries)
The maximum number of times to retry the job after a job run fails.
|
void |
setName(String name)
The name of the job to be created.
|
void |
setOutputLocation(S3Location outputLocation) |
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs
the job.
|
void |
setTags(Map<String,String> tags)
Metadata tags to apply to this job.
|
void |
setTimeout(Integer timeout)
The job's timeout in minutes.
|
void |
setValidationConfigurations(Collection<ValidationConfiguration> validationConfigurations)
List of validation configurations that are applied to the profile job.
|
String |
toString()
Returns a string representation of this object.
|
CreateProfileJobRequest |
withConfiguration(ProfileConfiguration configuration)
Configuration for profile jobs.
|
CreateProfileJobRequest |
withDatasetName(String datasetName)
The name of the dataset that this job is to act upon.
|
CreateProfileJobRequest |
withEncryptionKeyArn(String encryptionKeyArn)
The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.
|
CreateProfileJobRequest |
withEncryptionMode(EncryptionMode encryptionMode)
The encryption mode for the job, which can be one of the following:
|
CreateProfileJobRequest |
withEncryptionMode(String encryptionMode)
The encryption mode for the job, which can be one of the following:
|
CreateProfileJobRequest |
withJobSample(JobSample jobSample)
Sample configuration for profile jobs only.
|
CreateProfileJobRequest |
withLogSubscription(LogSubscription logSubscription)
Enables or disables Amazon CloudWatch logging for the job.
|
CreateProfileJobRequest |
withLogSubscription(String logSubscription)
Enables or disables Amazon CloudWatch logging for the job.
|
CreateProfileJobRequest |
withMaxCapacity(Integer maxCapacity)
The maximum number of nodes that DataBrew can use when the job processes data.
|
CreateProfileJobRequest |
withMaxRetries(Integer maxRetries)
The maximum number of times to retry the job after a job run fails.
|
CreateProfileJobRequest |
withName(String name)
The name of the job to be created.
|
CreateProfileJobRequest |
withOutputLocation(S3Location outputLocation) |
CreateProfileJobRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs
the job.
|
CreateProfileJobRequest |
withTags(Map<String,String> tags)
Metadata tags to apply to this job.
|
CreateProfileJobRequest |
withTimeout(Integer timeout)
The job's timeout in minutes.
|
CreateProfileJobRequest |
withValidationConfigurations(Collection<ValidationConfiguration> validationConfigurations)
List of validation configurations that are applied to the profile job.
|
CreateProfileJobRequest |
withValidationConfigurations(ValidationConfiguration... validationConfigurations)
List of validation configurations that are applied to the profile job.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDatasetName(String datasetName)
The name of the dataset that this job is to act upon.
datasetName
- The name of the dataset that this job is to act upon.public String getDatasetName()
The name of the dataset that this job is to act upon.
public CreateProfileJobRequest withDatasetName(String datasetName)
The name of the dataset that this job is to act upon.
datasetName
- The name of the dataset that this job is to act upon.public void setEncryptionKeyArn(String encryptionKeyArn)
The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.
encryptionKeyArn
- The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.public String getEncryptionKeyArn()
The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.
public CreateProfileJobRequest withEncryptionKeyArn(String encryptionKeyArn)
The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.
encryptionKeyArn
- The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.public void setEncryptionMode(String encryptionMode)
The encryption mode for the job, which can be one of the following:
SSE-KMS
- SSE-KMS
- Server-side encryption with KMS-managed keys.
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
encryptionMode
- The encryption mode for the job, which can be one of the following:
SSE-KMS
- SSE-KMS
- Server-side encryption with KMS-managed keys.
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
EncryptionMode
public String getEncryptionMode()
The encryption mode for the job, which can be one of the following:
SSE-KMS
- SSE-KMS
- Server-side encryption with KMS-managed keys.
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
SSE-KMS
- SSE-KMS
- Server-side encryption with KMS-managed keys.
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
EncryptionMode
public CreateProfileJobRequest withEncryptionMode(String encryptionMode)
The encryption mode for the job, which can be one of the following:
SSE-KMS
- SSE-KMS
- Server-side encryption with KMS-managed keys.
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
encryptionMode
- The encryption mode for the job, which can be one of the following:
SSE-KMS
- SSE-KMS
- Server-side encryption with KMS-managed keys.
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
EncryptionMode
public CreateProfileJobRequest withEncryptionMode(EncryptionMode encryptionMode)
The encryption mode for the job, which can be one of the following:
SSE-KMS
- SSE-KMS
- Server-side encryption with KMS-managed keys.
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
encryptionMode
- The encryption mode for the job, which can be one of the following:
SSE-KMS
- SSE-KMS
- Server-side encryption with KMS-managed keys.
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
EncryptionMode
public void setName(String name)
The name of the job to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
name
- The name of the job to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period
(.), and space.public String getName()
The name of the job to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
public CreateProfileJobRequest withName(String name)
The name of the job to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
name
- The name of the job to be created. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period
(.), and space.public void setLogSubscription(String logSubscription)
Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.
logSubscription
- Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one
log stream for each job run.LogSubscription
public String getLogSubscription()
Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.
LogSubscription
public CreateProfileJobRequest withLogSubscription(String logSubscription)
Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.
logSubscription
- Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one
log stream for each job run.LogSubscription
public CreateProfileJobRequest withLogSubscription(LogSubscription logSubscription)
Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one log stream for each job run.
logSubscription
- Enables or disables Amazon CloudWatch logging for the job. If logging is enabled, CloudWatch writes one
log stream for each job run.LogSubscription
public void setMaxCapacity(Integer maxCapacity)
The maximum number of nodes that DataBrew can use when the job processes data.
maxCapacity
- The maximum number of nodes that DataBrew can use when the job processes data.public Integer getMaxCapacity()
The maximum number of nodes that DataBrew can use when the job processes data.
public CreateProfileJobRequest withMaxCapacity(Integer maxCapacity)
The maximum number of nodes that DataBrew can use when the job processes data.
maxCapacity
- The maximum number of nodes that DataBrew can use when the job processes data.public void setMaxRetries(Integer maxRetries)
The maximum number of times to retry the job after a job run fails.
maxRetries
- The maximum number of times to retry the job after a job run fails.public Integer getMaxRetries()
The maximum number of times to retry the job after a job run fails.
public CreateProfileJobRequest withMaxRetries(Integer maxRetries)
The maximum number of times to retry the job after a job run fails.
maxRetries
- The maximum number of times to retry the job after a job run fails.public void setOutputLocation(S3Location outputLocation)
outputLocation
- public S3Location getOutputLocation()
public CreateProfileJobRequest withOutputLocation(S3Location outputLocation)
outputLocation
- public void setConfiguration(ProfileConfiguration 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.
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.public ProfileConfiguration getConfiguration()
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.
public CreateProfileJobRequest withConfiguration(ProfileConfiguration 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.
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.public List<ValidationConfiguration> getValidationConfigurations()
List of validation configurations that are applied to the profile job.
public void setValidationConfigurations(Collection<ValidationConfiguration> validationConfigurations)
List of validation configurations that are applied to the profile job.
validationConfigurations
- List of validation configurations that are applied to the profile job.public CreateProfileJobRequest withValidationConfigurations(ValidationConfiguration... validationConfigurations)
List of validation configurations that are applied to the profile job.
NOTE: This method appends the values to the existing list (if any). Use
setValidationConfigurations(java.util.Collection)
or
withValidationConfigurations(java.util.Collection)
if you want to override the existing values.
validationConfigurations
- List of validation configurations that are applied to the profile job.public CreateProfileJobRequest withValidationConfigurations(Collection<ValidationConfiguration> validationConfigurations)
List of validation configurations that are applied to the profile job.
validationConfigurations
- List of validation configurations that are applied to the profile job.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.
roleArn
- The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when
DataBrew runs the job.public String getRoleArn()
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.
public CreateProfileJobRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when DataBrew runs the job.
roleArn
- The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed when
DataBrew runs the job.public Map<String,String> getTags()
Metadata tags to apply to this job.
public void setTags(Map<String,String> tags)
Metadata tags to apply to this job.
tags
- Metadata tags to apply to this job.public CreateProfileJobRequest withTags(Map<String,String> tags)
Metadata tags to apply to this job.
tags
- Metadata tags to apply to this job.public CreateProfileJobRequest addTagsEntry(String key, String value)
public CreateProfileJobRequest clearTagsEntries()
public void setTimeout(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
.
timeout
- The job's timeout in minutes. A job that attempts to run longer than this timeout period ends with a
status of TIMEOUT
.public Integer getTimeout()
The job's timeout in minutes. A job that attempts to run longer than this timeout period ends with a status of
TIMEOUT
.
TIMEOUT
.public CreateProfileJobRequest withTimeout(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
.
timeout
- The job's timeout in minutes. A job that attempts to run longer than this timeout period ends with a
status of TIMEOUT
.public void setJobSample(JobSample 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, the default value will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 for the size parameter.
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, the default value will be used. The default value is
CUSTOM_ROWS for the mode parameter and 20000 for the size parameter.public JobSample getJobSample()
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, the default value will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 for the size parameter.
public CreateProfileJobRequest withJobSample(JobSample 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, the default value will be used. The default value is CUSTOM_ROWS for the mode parameter and 20000 for the size parameter.
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, the default value will be used. The default value is
CUSTOM_ROWS for the mode parameter and 20000 for the size parameter.public String toString()
toString
in class Object
Object.toString()
public CreateProfileJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()