public class UpdateJobRequest extends AmazonWebServiceRequest implements java.io.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.
| コンストラクタと説明 |
|---|
UpdateJobRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getJobId()
A unique identifier which refers to a particular job.
|
java.lang.String |
getJobType()
Specifies whether the job to initiate is an import or export job.
|
java.lang.String |
getManifest()
The UTF-8 encoded text of the manifest file.
|
java.lang.Boolean |
getValidateOnly()
Validate the manifest and parameter values in the request but do not
actually create a job.
|
int |
hashCode() |
java.lang.Boolean |
isValidateOnly()
Validate the manifest and parameter values in the request but do not
actually create a job.
|
void |
setJobId(java.lang.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(java.lang.String jobType)
Specifies whether the job to initiate is an import or export job.
|
void |
setManifest(java.lang.String manifest)
The UTF-8 encoded text of the manifest file.
|
void |
setValidateOnly(java.lang.Boolean validateOnly)
Validate the manifest and parameter values in the request but do not
actually create a job.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UpdateJobRequest |
withJobId(java.lang.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(java.lang.String jobType)
Specifies whether the job to initiate is an import or export job.
|
UpdateJobRequest |
withManifest(java.lang.String manifest)
The UTF-8 encoded text of the manifest file.
|
UpdateJobRequest |
withValidateOnly(java.lang.Boolean validateOnly)
Validate the manifest and parameter values in the request but do not
actually create a job.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic java.lang.String getJobId()
public void setJobId(java.lang.String jobId)
jobId - A unique identifier which refers to a particular job.public UpdateJobRequest withJobId(java.lang.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 java.lang.String getManifest()
public void setManifest(java.lang.String manifest)
manifest - The UTF-8 encoded text of the manifest file.public UpdateJobRequest withManifest(java.lang.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 java.lang.String getJobType()
Constraints:
Allowed Values: Import, Export
JobTypepublic void setJobType(java.lang.String jobType)
Constraints:
Allowed Values: Import, Export
jobType - Specifies whether the job to initiate is an import or export job.JobTypepublic UpdateJobRequest withJobType(java.lang.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.JobTypepublic void setJobType(JobType jobType)
Constraints:
Allowed Values: Import, Export
jobType - Specifies whether the job to initiate is an import or export job.JobTypepublic 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.JobTypepublic java.lang.Boolean isValidateOnly()
public void setValidateOnly(java.lang.Boolean validateOnly)
validateOnly - Validate the manifest and parameter values in the request but do not
actually create a job.public UpdateJobRequest withValidateOnly(java.lang.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 java.lang.Boolean getValidateOnly()
public java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object