public class CreateJobRequest extends AmazonWebServiceRequest implements 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.
NOOP| Constructor and Description |
|---|
CreateJobRequest() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
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.
|
String |
getManifestAddendum()
For internal use only.
|
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 |
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 |
setManifestAddendum(String manifestAddendum)
For internal use only.
|
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.
|
CreateJobRequest |
withJobType(JobType jobType)
Specifies whether the job to initiate is an import or export job.
|
CreateJobRequest |
withJobType(String jobType)
Specifies whether the job to initiate is an import or export job.
|
CreateJobRequest |
withManifest(String manifest)
The UTF-8 encoded text of the manifest file.
|
CreateJobRequest |
withManifestAddendum(String manifestAddendum)
For internal use only.
|
CreateJobRequest |
withValidateOnly(Boolean validateOnly)
Validate the manifest and parameter values in the request but do not
actually create a job.
|
copyBaseTo, copyPrivateRequestParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic String getJobType()
Constraints:
Allowed Values: Import, Export
JobTypepublic void setJobType(String jobType)
Constraints:
Allowed Values: Import, Export
jobType - Specifies whether the job to initiate is an import or export job.JobTypepublic CreateJobRequest 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.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 String getManifest()
public void setManifest(String manifest)
manifest - The UTF-8 encoded text of the manifest file.public CreateJobRequest 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 getManifestAddendum()
public void setManifestAddendum(String manifestAddendum)
manifestAddendum - For internal use only.public CreateJobRequest withManifestAddendum(String manifestAddendum)
Returns a reference to this object so that method calls can be chained together.
manifestAddendum - For internal use only.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 CreateJobRequest 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 ObjectObject.toString()Copyright © 2014. All rights reserved.