@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()
|
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.
|
JobOperation |
getOperation()
The operation that you want this job to perform on each 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 AWS Identity and Access Management (IAM) role that Batch Operations will
use to execute this job's operation on each object in the manifest.
|
List<S3Tag> |
getTags()
A set of tags to associate with the Amazon S3 Batch Operations job.
|
int |
hashCode() |
Boolean |
isConfirmationRequired()
Indicates whether confirmation is required before Amazon S3 runs the job.
|
void |
setAccountId(String accountId)
|
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 |
setOperation(JobOperation operation)
The operation that you want this job to perform on each 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 AWS Identity and Access Management (IAM) role that Batch Operations will
use to execute this job's operation on each object in the manifest.
|
void |
setTags(Collection<S3Tag> tags)
A set of tags to associate with the Amazon S3 Batch Operations job.
|
String |
toString()
Returns a string representation of this object.
|
CreateJobRequest |
withAccountId(String accountId)
|
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 |
withOperation(JobOperation operation)
The operation that you want this job to perform on each 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 AWS Identity and Access Management (IAM) role that Batch Operations will
use to execute this job's operation on each object in the manifest.
|
CreateJobRequest |
withTags(Collection<S3Tag> tags)
A set of tags to associate with the Amazon S3 Batch Operations job.
|
CreateJobRequest |
withTags(S3Tag... tags)
A set of tags to associate with the Amazon 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)
accountId
- public String getAccountId()
public CreateJobRequest withAccountId(String accountId)
accountId
- 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 operation that you want this job to perform on each object listed in the manifest. For more information about the available operations, see Available Operations in the Amazon Simple Storage Service Developer Guide.
operation
- The operation that you want this job to perform on each object listed in the manifest. For more
information about the available operations, see Available Operations
in the Amazon Simple Storage Service Developer Guide.public JobOperation getOperation()
The operation that you want this job to perform on each object listed in the manifest. For more information about the available operations, see Available Operations in the Amazon Simple Storage Service Developer Guide.
public CreateJobRequest withOperation(JobOperation operation)
The operation that you want this job to perform on each object listed in the manifest. For more information about the available operations, see Available Operations in the Amazon Simple Storage Service Developer Guide.
operation
- The operation that you want this job to perform on each object listed in the manifest. For more
information about the available operations, see Available Operations
in the Amazon Simple Storage Service Developer 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 AWS Identity and Access Management (IAM) role that Batch Operations will use to execute this job's operation on each object in the manifest.
roleArn
- The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role that Batch Operations
will use to execute this job's operation on each object in the manifest.public String getRoleArn()
The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role that Batch Operations will use to execute this job's operation on each object in the manifest.
public CreateJobRequest withRoleArn(String roleArn)
The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role that Batch Operations will use to execute this job's operation on each object in the manifest.
roleArn
- The Amazon Resource Name (ARN) for the AWS Identity and Access Management (IAM) role that Batch Operations
will use to execute this job's operation on each object in the manifest.public List<S3Tag> getTags()
A set of tags to associate with the Amazon S3 Batch Operations job. This is an optional parameter.
public void setTags(Collection<S3Tag> tags)
A set of tags to associate with the Amazon S3 Batch Operations job. This is an optional parameter.
tags
- A set of tags to associate with the Amazon S3 Batch Operations job. This is an optional parameter.public CreateJobRequest withTags(S3Tag... tags)
A set of tags to associate with the Amazon 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 Amazon S3 Batch Operations job. This is an optional parameter.public CreateJobRequest withTags(Collection<S3Tag> tags)
A set of tags to associate with the Amazon S3 Batch Operations job. This is an optional parameter.
tags
- A set of tags to associate with the Amazon S3 Batch Operations job. This is an optional parameter.public String toString()
toString
in class Object
Object.toString()
public CreateJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.