@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) |
List<DatabaseOutput> |
getDatabaseOutputs()
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job
to write to.
|
List<DataCatalogOutput> |
getDataCatalogOutputs()
One or more artifacts that represent the Glue Data Catalog output from running the job.
|
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()
Enables or disables Amazon CloudWatch logging for the job.
|
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 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.
|
int |
hashCode() |
void |
setDatabaseOutputs(Collection<DatabaseOutput> databaseOutputs)
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job
to write to.
|
void |
setDataCatalogOutputs(Collection<DataCatalogOutput> dataCatalogOutputs)
One or more artifacts that represent the Glue Data Catalog output from running the job.
|
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)
Enables or disables Amazon CloudWatch logging for the job.
|
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 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.
|
String |
toString()
Returns a string representation of this object.
|
CreateRecipeJobRequest |
withDatabaseOutputs(Collection<DatabaseOutput> databaseOutputs)
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job
to write to.
|
CreateRecipeJobRequest |
withDatabaseOutputs(DatabaseOutput... databaseOutputs)
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job
to write to.
|
CreateRecipeJobRequest |
withDataCatalogOutputs(Collection<DataCatalogOutput> dataCatalogOutputs)
One or more artifacts that represent the Glue Data Catalog output from running the job.
|
CreateRecipeJobRequest |
withDataCatalogOutputs(DataCatalogOutput... dataCatalogOutputs)
One or more artifacts that represent the Glue Data Catalog output from running the job.
|
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)
Enables or disables Amazon CloudWatch logging for the job.
|
CreateRecipeJobRequest |
withLogSubscription(String logSubscription)
Enables or disables Amazon CloudWatch logging for the job.
|
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 Identity and Access Management (IAM) role to be assumed when DataBrew runs
the job.
|
CreateRecipeJobRequest |
withTags(Map<String,String> tags)
Metadata tags to apply to this job.
|
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 keys managed by KMS.
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 keys managed by KMS.
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 keys managed by KMS.
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
SSE-KMS
- Server-side encryption with keys managed by KMS.
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 keys managed by KMS.
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 keys managed by KMS.
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 keys managed by KMS.
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 keys managed by KMS.
SSE-S3
- Server-side encryption with keys managed by Amazon S3.
EncryptionMode
public void setName(String name)
A unique name for the job. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
name
- A unique name for the job. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and
space.public String getName()
A unique name for the job. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
public CreateRecipeJobRequest withName(String name)
A unique name for the job. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
name
- A unique name for the job. 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 CreateRecipeJobRequest 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 CreateRecipeJobRequest 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 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 List<DataCatalogOutput> getDataCatalogOutputs()
One or more artifacts that represent the Glue Data Catalog output from running the job.
public void setDataCatalogOutputs(Collection<DataCatalogOutput> dataCatalogOutputs)
One or more artifacts that represent the Glue Data Catalog output from running the job.
dataCatalogOutputs
- One or more artifacts that represent the Glue Data Catalog output from running the job.public CreateRecipeJobRequest withDataCatalogOutputs(DataCatalogOutput... dataCatalogOutputs)
One or more artifacts that represent the Glue Data Catalog output from running the job.
NOTE: This method appends the values to the existing list (if any). Use
setDataCatalogOutputs(java.util.Collection)
or withDataCatalogOutputs(java.util.Collection)
if
you want to override the existing values.
dataCatalogOutputs
- One or more artifacts that represent the Glue Data Catalog output from running the job.public CreateRecipeJobRequest withDataCatalogOutputs(Collection<DataCatalogOutput> dataCatalogOutputs)
One or more artifacts that represent the Glue Data Catalog output from running the job.
dataCatalogOutputs
- One or more artifacts that represent the Glue Data Catalog output from running the job.public List<DatabaseOutput> getDatabaseOutputs()
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write to.
public void setDatabaseOutputs(Collection<DatabaseOutput> databaseOutputs)
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write to.
databaseOutputs
- Represents a list of JDBC database output objects which defines the output destination for a DataBrew
recipe job to write to.public CreateRecipeJobRequest withDatabaseOutputs(DatabaseOutput... databaseOutputs)
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write to.
NOTE: This method appends the values to the existing list (if any). Use
setDatabaseOutputs(java.util.Collection)
or withDatabaseOutputs(java.util.Collection)
if you
want to override the existing values.
databaseOutputs
- Represents a list of JDBC database output objects which defines the output destination for a DataBrew
recipe job to write to.public CreateRecipeJobRequest withDatabaseOutputs(Collection<DatabaseOutput> databaseOutputs)
Represents a list of JDBC database output objects which defines the output destination for a DataBrew recipe job to write to.
databaseOutputs
- Represents a list of JDBC database output objects which defines the output destination for a DataBrew
recipe job to write to.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 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 CreateRecipeJobRequest 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 CreateRecipeJobRequest withTags(Map<String,String> tags)
Metadata tags to apply to this job.
tags
- Metadata tags to apply to this job.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()