public class CreateJobRequest extends AmazonWebServiceRequest implements java.io.Serializable
CreateJob operation.
This operation initiates the process of scheduling an upload or download of your data. You include in the request a manifest that describes the data transfer specifics. The response to the request includes a job ID, which you can use in other operations, a signature that you use to identify your storage device, and the address where you should ship your storage device.
| コンストラクタと説明 |
|---|
CreateJobRequest() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
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.String |
getManifestAddendum()
For internal use only.
|
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 |
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 |
setManifestAddendum(java.lang.String manifestAddendum)
For internal use only.
|
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.
|
CreateJobRequest |
withJobType(JobType jobType)
Specifies whether the job to initiate is an import or export job.
|
CreateJobRequest |
withJobType(java.lang.String jobType)
Specifies whether the job to initiate is an import or export job.
|
CreateJobRequest |
withManifest(java.lang.String manifest)
The UTF-8 encoded text of the manifest file.
|
CreateJobRequest |
withManifestAddendum(java.lang.String manifestAddendum)
For internal use only.
|
CreateJobRequest |
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 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 CreateJobRequest 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 CreateJobRequest 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.String getManifest()
public void setManifest(java.lang.String manifest)
manifest - The UTF-8 encoded text of the manifest file.public CreateJobRequest 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 getManifestAddendum()
public void setManifestAddendum(java.lang.String manifestAddendum)
manifestAddendum - For internal use only.public CreateJobRequest withManifestAddendum(java.lang.String manifestAddendum)
Returns a reference to this object so that method calls can be chained together.
manifestAddendum - For internal use only.public 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 CreateJobRequest 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