@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateRecipeJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateRecipeJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateRecipeJobRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateRecipeJobRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateRecipeJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDatasetName()
The name of the dataset that this job processes.
|
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:
|
String |
getLogSubscription()
A value that enables or disables Amazon CloudWatch logging for the current AWS account.
|
Integer |
getMaxCapacity()
The maximum number of nodes that DataBrew can consume when the job processes data.
|
Integer |
getMaxRetries()
The maximum number of times to retry the job after a job run fails.
|
String |
getName()
A unique name for the job.
|
List<Output> |
getOutputs()
One or more artifacts that represent the output from running the job.
|
String |
getProjectName()
Either the name of an existing project, or a combination of a recipe and a dataset to associate with the recipe.
|
RecipeReference |
getRecipeReference() |
String |
getRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed for this
request.
|
Map<String,String> |
getTags()
Metadata tags to apply to this job dataset.
|
Integer |
getTimeout()
The job's timeout in minutes.
|
int |
hashCode() |
void |
setDatasetName(String datasetName)
The name of the dataset that this job processes.
|
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 |
setLogSubscription(String logSubscription)
A value that enables or disables Amazon CloudWatch logging for the current AWS account.
|
void |
setMaxCapacity(Integer maxCapacity)
The maximum number of nodes that DataBrew can consume 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)
A unique name for the job.
|
void |
setOutputs(Collection<Output> outputs)
One or more artifacts that represent the output from running the job.
|
void |
setProjectName(String projectName)
Either the name of an existing project, or a combination of a recipe and a dataset to associate with the recipe.
|
void |
setRecipeReference(RecipeReference recipeReference) |
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed for this
request.
|
void |
setTags(Map<String,String> tags)
Metadata tags to apply to this job dataset.
|
void |
setTimeout(Integer timeout)
The job's timeout in minutes.
|
String |
toString()
Returns a string representation of this object.
|
CreateRecipeJobRequest |
withDatasetName(String datasetName)
The name of the dataset that this job processes.
|
CreateRecipeJobRequest |
withEncryptionKeyArn(String encryptionKeyArn)
The Amazon Resource Name (ARN) of an encryption key that is used to protect the job.
|
CreateRecipeJobRequest |
withEncryptionMode(EncryptionMode encryptionMode)
The encryption mode for the job, which can be one of the following:
|
CreateRecipeJobRequest |
withEncryptionMode(String encryptionMode)
The encryption mode for the job, which can be one of the following:
|
CreateRecipeJobRequest |
withLogSubscription(LogSubscription logSubscription)
A value that enables or disables Amazon CloudWatch logging for the current AWS account.
|
CreateRecipeJobRequest |
withLogSubscription(String logSubscription)
A value that enables or disables Amazon CloudWatch logging for the current AWS account.
|
CreateRecipeJobRequest |
withMaxCapacity(Integer maxCapacity)
The maximum number of nodes that DataBrew can consume when the job processes data.
|
CreateRecipeJobRequest |
withMaxRetries(Integer maxRetries)
The maximum number of times to retry the job after a job run fails.
|
CreateRecipeJobRequest |
withName(String name)
A unique name for the job.
|
CreateRecipeJobRequest |
withOutputs(Collection<Output> outputs)
One or more artifacts that represent the output from running the job.
|
CreateRecipeJobRequest |
withOutputs(Output... outputs)
One or more artifacts that represent the output from running the job.
|
CreateRecipeJobRequest |
withProjectName(String projectName)
Either the name of an existing project, or a combination of a recipe and a dataset to associate with the recipe.
|
CreateRecipeJobRequest |
withRecipeReference(RecipeReference recipeReference) |
CreateRecipeJobRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed for this
request.
|
CreateRecipeJobRequest |
withTags(Map<String,String> tags)
Metadata tags to apply to this job dataset.
|
CreateRecipeJobRequest |
withTimeout(Integer timeout)
The job's timeout in minutes.
|
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 processes.
datasetName
- The name of the dataset that this job processes.public String getDatasetName()
The name of the dataset that this job processes.
public CreateRecipeJobRequest withDatasetName(String datasetName)
The name of the dataset that this job processes.
datasetName
- The name of the dataset that this job processes.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 CreateRecipeJobRequest 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
- Server-side encryption with AWS 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
- Server-side encryption with AWS 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
- Server-side encryption with AWS KMS-managed keys.
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
SSE-KMS
- Server-side encryption with AWS KMS-managed keys.
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
EncryptionMode
public CreateRecipeJobRequest withEncryptionMode(String encryptionMode)
The encryption mode for the job, which can be one of the following:
SSE-KMS
- Server-side encryption with AWS 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
- Server-side encryption with AWS KMS-managed keys.
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
EncryptionMode
public CreateRecipeJobRequest withEncryptionMode(EncryptionMode encryptionMode)
The encryption mode for the job, which can be one of the following:
SSE-KMS
- Server-side encryption with AWS 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
- Server-side encryption with AWS KMS-managed keys.
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
EncryptionMode
public void setName(String name)
A unique name for the job.
name
- A unique name for the job.public String getName()
A unique name for the job.
public CreateRecipeJobRequest withName(String name)
A unique name for the job.
name
- A unique name for the job.public void setLogSubscription(String logSubscription)
A value that enables or disables Amazon CloudWatch logging for the current AWS account. If logging is enabled, CloudWatch writes one log stream for each job run.
logSubscription
- A value that enables or disables Amazon CloudWatch logging for the current AWS account. If logging is
enabled, CloudWatch writes one log stream for each job run.LogSubscription
public String getLogSubscription()
A value that enables or disables Amazon CloudWatch logging for the current AWS account. If logging is enabled, CloudWatch writes one log stream for each job run.
LogSubscription
public CreateRecipeJobRequest withLogSubscription(String logSubscription)
A value that enables or disables Amazon CloudWatch logging for the current AWS account. If logging is enabled, CloudWatch writes one log stream for each job run.
logSubscription
- A value that enables or disables Amazon CloudWatch logging for the current AWS account. If logging is
enabled, CloudWatch writes one log stream for each job run.LogSubscription
public CreateRecipeJobRequest withLogSubscription(LogSubscription logSubscription)
A value that enables or disables Amazon CloudWatch logging for the current AWS account. If logging is enabled, CloudWatch writes one log stream for each job run.
logSubscription
- A value that enables or disables Amazon CloudWatch logging for the current AWS account. 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 consume when the job processes data.
maxCapacity
- The maximum number of nodes that DataBrew can consume when the job processes data.public Integer getMaxCapacity()
The maximum number of nodes that DataBrew can consume when the job processes data.
public CreateRecipeJobRequest withMaxCapacity(Integer maxCapacity)
The maximum number of nodes that DataBrew can consume when the job processes data.
maxCapacity
- The maximum number of nodes that DataBrew can consume 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 CreateRecipeJobRequest 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 List<Output> getOutputs()
One or more artifacts that represent the output from running the job.
public void setOutputs(Collection<Output> outputs)
One or more artifacts that represent the output from running the job.
outputs
- One or more artifacts that represent the output from running the job.public CreateRecipeJobRequest withOutputs(Output... outputs)
One or more artifacts that represent the output from running the job.
NOTE: This method appends the values to the existing list (if any). Use
setOutputs(java.util.Collection)
or withOutputs(java.util.Collection)
if you want to override
the existing values.
outputs
- One or more artifacts that represent the output from running the job.public CreateRecipeJobRequest withOutputs(Collection<Output> outputs)
One or more artifacts that represent the output from running the job.
outputs
- One or more artifacts that represent the output from running the job.public void setProjectName(String projectName)
Either the name of an existing project, or a combination of a recipe and a dataset to associate with the recipe.
projectName
- Either the name of an existing project, or a combination of a recipe and a dataset to associate with the
recipe.public String getProjectName()
Either the name of an existing project, or a combination of a recipe and a dataset to associate with the recipe.
public CreateRecipeJobRequest withProjectName(String projectName)
Either the name of an existing project, or a combination of a recipe and a dataset to associate with the recipe.
projectName
- Either the name of an existing project, or a combination of a recipe and a dataset to associate with the
recipe.public void setRecipeReference(RecipeReference recipeReference)
recipeReference
- public RecipeReference getRecipeReference()
public CreateRecipeJobRequest withRecipeReference(RecipeReference recipeReference)
recipeReference
- public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed for this request.
roleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed for this
request.public String getRoleArn()
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed for this request.
public CreateRecipeJobRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed for this request.
roleArn
- The Amazon Resource Name (ARN) of the AWS Identity and Access Management (IAM) role to be assumed for this
request.public Map<String,String> getTags()
Metadata tags to apply to this job dataset.
public void setTags(Map<String,String> tags)
Metadata tags to apply to this job dataset.
tags
- Metadata tags to apply to this job dataset.public CreateRecipeJobRequest withTags(Map<String,String> tags)
Metadata tags to apply to this job dataset.
tags
- Metadata tags to apply to this job dataset.public CreateRecipeJobRequest addTagsEntry(String key, String value)
public CreateRecipeJobRequest 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 CreateRecipeJobRequest 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 String toString()
toString
in class Object
Object.toString()
public CreateRecipeJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()