public class UpdateJobRequest extends AmazonWebServiceRequest implements Serializable
UpdateJob operation
.
You use this operation to change the parameters specified in the original manifest file by supplying a new manifest file. The manifest file attached to this request replaces the original manifest file. You can only use the operation after a CreateJob request but before the data transfer starts and you can only use it on jobs you own.
Constructor and Description |
---|
UpdateJobRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getJobId()
A unique identifier which refers to a particular job.
|
String |
getJobType()
Specifies whether the job to initiate is an import or export job.
|
String |
getManifest()
The UTF-8 encoded text of the manifest file.
|
Boolean |
getValidateOnly()
Validate the manifest and parameter values in the request but do not
actually create a job.
|
int |
hashCode() |
Boolean |
isValidateOnly()
Validate the manifest and parameter values in the request but do not
actually create a job.
|
void |
setJobId(String jobId)
A unique identifier which refers to a particular job.
|
void |
setJobType(JobType jobType)
Specifies whether the job to initiate is an import or export job.
|
void |
setJobType(String jobType)
Specifies whether the job to initiate is an import or export job.
|
void |
setManifest(String manifest)
The UTF-8 encoded text of the manifest file.
|
void |
setValidateOnly(Boolean validateOnly)
Validate the manifest and parameter values in the request but do not
actually create a job.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateJobRequest |
withJobId(String jobId)
A unique identifier which refers to a particular job.
|
UpdateJobRequest |
withJobType(JobType jobType)
Specifies whether the job to initiate is an import or export job.
|
UpdateJobRequest |
withJobType(String jobType)
Specifies whether the job to initiate is an import or export job.
|
UpdateJobRequest |
withManifest(String manifest)
The UTF-8 encoded text of the manifest file.
|
UpdateJobRequest |
withValidateOnly(Boolean validateOnly)
Validate the manifest and parameter values in the request but do not
actually create a job.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public String getJobId()
public void setJobId(String jobId)
jobId
- A unique identifier which refers to a particular job.public UpdateJobRequest withJobId(String jobId)
Returns a reference to this object so that method calls can be chained together.
jobId
- A unique identifier which refers to a particular job.public String getManifest()
public void setManifest(String manifest)
manifest
- The UTF-8 encoded text of the manifest file.public UpdateJobRequest withManifest(String manifest)
Returns a reference to this object so that method calls can be chained together.
manifest
- The UTF-8 encoded text of the manifest file.public String getJobType()
Constraints:
Allowed Values: Import, Export
JobType
public void setJobType(String jobType)
Constraints:
Allowed Values: Import, Export
jobType
- Specifies whether the job to initiate is an import or export job.JobType
public UpdateJobRequest withJobType(String jobType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Import, Export
jobType
- Specifies whether the job to initiate is an import or export job.JobType
public void setJobType(JobType jobType)
Constraints:
Allowed Values: Import, Export
jobType
- Specifies whether the job to initiate is an import or export job.JobType
public UpdateJobRequest withJobType(JobType jobType)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: Import, Export
jobType
- Specifies whether the job to initiate is an import or export job.JobType
public Boolean isValidateOnly()
public void setValidateOnly(Boolean validateOnly)
validateOnly
- Validate the manifest and parameter values in the request but do not
actually create a job.public UpdateJobRequest withValidateOnly(Boolean validateOnly)
Returns a reference to this object so that method calls can be chained together.
validateOnly
- Validate the manifest and parameter values in the request but do not
actually create a job.public Boolean getValidateOnly()
public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.