@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getAccountId()
The Amazon Web Services account ID that creates the job.
|
String |
getClientRequestToken()
An idempotency token to ensure that you don't accidentally submit the same request twice.
|
Boolean |
getConfirmationRequired()
Indicates whether confirmation is required before Amazon S3 runs the job.
|
String |
getDescription()
A description for this job.
|
JobManifest |
getManifest()
Configuration parameters for the manifest.
|
JobManifestGenerator |
getManifestGenerator()
The attribute container for the ManifestGenerator details.
|
JobOperation |
getOperation()
The action that you want this job to perform on every object listed in the manifest.
|
Integer |
getPriority()
The numerical priority for this job.
|
JobReport |
getReport()
Configuration parameters for the optional job-completion report.
|
String |
getRoleArn()
The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations will use
to run this job's action on every object in the manifest.
|
List<S3Tag> |
getTags()
A set of tags to associate with the S3 Batch Operations job.
|
int |
hashCode() |
Boolean |
isConfirmationRequired()
Indicates whether confirmation is required before Amazon S3 runs the job.
|
void |
setAccountId(String accountId)
The Amazon Web Services account ID that creates the job.
|
void |
setClientRequestToken(String clientRequestToken)
An idempotency token to ensure that you don't accidentally submit the same request twice.
|
void |
setConfirmationRequired(Boolean confirmationRequired)
Indicates whether confirmation is required before Amazon S3 runs the job.
|
void |
setDescription(String description)
A description for this job.
|
void |
setManifest(JobManifest manifest)
Configuration parameters for the manifest.
|
void |
setManifestGenerator(JobManifestGenerator manifestGenerator)
The attribute container for the ManifestGenerator details.
|
void |
setOperation(JobOperation operation)
The action that you want this job to perform on every object listed in the manifest.
|
void |
setPriority(Integer priority)
The numerical priority for this job.
|
void |
setReport(JobReport report)
Configuration parameters for the optional job-completion report.
|
void |
setRoleArn(String roleArn)
The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations will use
to run this job's action on every object in the manifest.
|
void |
setTags(Collection<S3Tag> tags)
A set of tags to associate with the S3 Batch Operations job.
|
String |
toString()
Returns a string representation of this object.
|
CreateJobRequest |
withAccountId(String accountId)
The Amazon Web Services account ID that creates the job.
|
CreateJobRequest |
withClientRequestToken(String clientRequestToken)
An idempotency token to ensure that you don't accidentally submit the same request twice.
|
CreateJobRequest |
withConfirmationRequired(Boolean confirmationRequired)
Indicates whether confirmation is required before Amazon S3 runs the job.
|
CreateJobRequest |
withDescription(String description)
A description for this job.
|
CreateJobRequest |
withManifest(JobManifest manifest)
Configuration parameters for the manifest.
|
CreateJobRequest |
withManifestGenerator(JobManifestGenerator manifestGenerator)
The attribute container for the ManifestGenerator details.
|
CreateJobRequest |
withOperation(JobOperation operation)
The action that you want this job to perform on every object listed in the manifest.
|
CreateJobRequest |
withPriority(Integer priority)
The numerical priority for this job.
|
CreateJobRequest |
withReport(JobReport report)
Configuration parameters for the optional job-completion report.
|
CreateJobRequest |
withRoleArn(String roleArn)
The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations will use
to run this job's action on every object in the manifest.
|
CreateJobRequest |
withTags(Collection<S3Tag> tags)
A set of tags to associate with the S3 Batch Operations job.
|
CreateJobRequest |
withTags(S3Tag... tags)
A set of tags to associate with the S3 Batch Operations 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 setAccountId(String accountId)
The Amazon Web Services account ID that creates the job.
accountId
- The Amazon Web Services account ID that creates the job.public String getAccountId()
The Amazon Web Services account ID that creates the job.
public CreateJobRequest withAccountId(String accountId)
The Amazon Web Services account ID that creates the job.
accountId
- The Amazon Web Services account ID that creates the job.public void setConfirmationRequired(Boolean confirmationRequired)
Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.
confirmationRequired
- Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required
for jobs created through the Amazon S3 console.public Boolean getConfirmationRequired()
Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.
public CreateJobRequest withConfirmationRequired(Boolean confirmationRequired)
Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.
confirmationRequired
- Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required
for jobs created through the Amazon S3 console.public Boolean isConfirmationRequired()
Indicates whether confirmation is required before Amazon S3 runs the job. Confirmation is only required for jobs created through the Amazon S3 console.
public void setOperation(JobOperation operation)
The action that you want this job to perform on every object listed in the manifest. For more information about the available actions, see Operations in the Amazon S3 User Guide.
operation
- The action that you want this job to perform on every object listed in the manifest. For more information
about the available actions, see Operations in the
Amazon S3 User Guide.public JobOperation getOperation()
The action that you want this job to perform on every object listed in the manifest. For more information about the available actions, see Operations in the Amazon S3 User Guide.
public CreateJobRequest withOperation(JobOperation operation)
The action that you want this job to perform on every object listed in the manifest. For more information about the available actions, see Operations in the Amazon S3 User Guide.
operation
- The action that you want this job to perform on every object listed in the manifest. For more information
about the available actions, see Operations in the
Amazon S3 User Guide.public void setReport(JobReport report)
Configuration parameters for the optional job-completion report.
report
- Configuration parameters for the optional job-completion report.public JobReport getReport()
Configuration parameters for the optional job-completion report.
public CreateJobRequest withReport(JobReport report)
Configuration parameters for the optional job-completion report.
report
- Configuration parameters for the optional job-completion report.public void setClientRequestToken(String clientRequestToken)
An idempotency token to ensure that you don't accidentally submit the same request twice. You can use any string up to the maximum length.
clientRequestToken
- An idempotency token to ensure that you don't accidentally submit the same request twice. You can use any
string up to the maximum length.public String getClientRequestToken()
An idempotency token to ensure that you don't accidentally submit the same request twice. You can use any string up to the maximum length.
public CreateJobRequest withClientRequestToken(String clientRequestToken)
An idempotency token to ensure that you don't accidentally submit the same request twice. You can use any string up to the maximum length.
clientRequestToken
- An idempotency token to ensure that you don't accidentally submit the same request twice. You can use any
string up to the maximum length.public void setManifest(JobManifest manifest)
Configuration parameters for the manifest.
manifest
- Configuration parameters for the manifest.public JobManifest getManifest()
Configuration parameters for the manifest.
public CreateJobRequest withManifest(JobManifest manifest)
Configuration parameters for the manifest.
manifest
- Configuration parameters for the manifest.public void setDescription(String description)
A description for this job. You can use any string within the permitted length. Descriptions don't need to be unique and can be used for multiple jobs.
description
- A description for this job. You can use any string within the permitted length. Descriptions don't need to
be unique and can be used for multiple jobs.public String getDescription()
A description for this job. You can use any string within the permitted length. Descriptions don't need to be unique and can be used for multiple jobs.
public CreateJobRequest withDescription(String description)
A description for this job. You can use any string within the permitted length. Descriptions don't need to be unique and can be used for multiple jobs.
description
- A description for this job. You can use any string within the permitted length. Descriptions don't need to
be unique and can be used for multiple jobs.public void setPriority(Integer priority)
The numerical priority for this job. Higher numbers indicate higher priority.
priority
- The numerical priority for this job. Higher numbers indicate higher priority.public Integer getPriority()
The numerical priority for this job. Higher numbers indicate higher priority.
public CreateJobRequest withPriority(Integer priority)
The numerical priority for this job. Higher numbers indicate higher priority.
priority
- The numerical priority for this job. Higher numbers indicate higher priority.public void setRoleArn(String roleArn)
The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations will use to run this job's action on every object in the manifest.
roleArn
- The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations
will use to run this job's action on every object in the manifest.public String getRoleArn()
The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations will use to run this job's action on every object in the manifest.
public CreateJobRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations will use to run this job's action on every object in the manifest.
roleArn
- The Amazon Resource Name (ARN) for the Identity and Access Management (IAM) role that Batch Operations
will use to run this job's action on every object in the manifest.public List<S3Tag> getTags()
A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.
public void setTags(Collection<S3Tag> tags)
A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.
tags
- A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.public CreateJobRequest withTags(S3Tag... tags)
A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.public CreateJobRequest withTags(Collection<S3Tag> tags)
A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.
tags
- A set of tags to associate with the S3 Batch Operations job. This is an optional parameter.public void setManifestGenerator(JobManifestGenerator manifestGenerator)
The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest file or a ManifestGenerator, but not both.
manifestGenerator
- The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest
file or a ManifestGenerator, but not both.public JobManifestGenerator getManifestGenerator()
The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest file or a ManifestGenerator, but not both.
public CreateJobRequest withManifestGenerator(JobManifestGenerator manifestGenerator)
The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest file or a ManifestGenerator, but not both.
manifestGenerator
- The attribute container for the ManifestGenerator details. Jobs must be created with either a manifest
file or a ManifestGenerator, but not both.public String toString()
toString
in class Object
Object.toString()
public CreateJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()