public class CreateJobResult extends Object implements Serializable
Output structure for the CreateJob operation.
Constructor and Description |
---|
CreateJobResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAwsShippingAddress()
Address you ship your storage device to.
|
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 |
getSignature()
An encrypted code used to authenticate the request and response, for
example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=".
|
String |
getSignatureFileContents()
The actual text of the SIGNATURE file to be written to disk.
|
String |
getWarningMessage()
An optional message notifying you of non-fatal issues with the job,
such as use of an incompatible Amazon S3 bucket name.
|
int |
hashCode() |
void |
setAwsShippingAddress(String awsShippingAddress)
Address you ship your storage device to.
|
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 |
setSignature(String signature)
An encrypted code used to authenticate the request and response, for
example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=".
|
void |
setSignatureFileContents(String signatureFileContents)
The actual text of the SIGNATURE file to be written to disk.
|
void |
setWarningMessage(String warningMessage)
An optional message notifying you of non-fatal issues with the job,
such as use of an incompatible Amazon S3 bucket name.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateJobResult |
withAwsShippingAddress(String awsShippingAddress)
Address you ship your storage device to.
|
CreateJobResult |
withJobId(String jobId)
A unique identifier which refers to a particular job.
|
CreateJobResult |
withJobType(JobType jobType)
Specifies whether the job to initiate is an import or export job.
|
CreateJobResult |
withJobType(String jobType)
Specifies whether the job to initiate is an import or export job.
|
CreateJobResult |
withSignature(String signature)
An encrypted code used to authenticate the request and response, for
example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=".
|
CreateJobResult |
withSignatureFileContents(String signatureFileContents)
The actual text of the SIGNATURE file to be written to disk.
|
CreateJobResult |
withWarningMessage(String warningMessage)
An optional message notifying you of non-fatal issues with the job,
such as use of an incompatible Amazon S3 bucket name.
|
public String getJobId()
public void setJobId(String jobId)
jobId
- A unique identifier which refers to a particular job.public CreateJobResult 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 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 CreateJobResult 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 CreateJobResult 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 String getAwsShippingAddress()
public void setAwsShippingAddress(String awsShippingAddress)
awsShippingAddress
- Address you ship your storage device to.public CreateJobResult withAwsShippingAddress(String awsShippingAddress)
Returns a reference to this object so that method calls can be chained together.
awsShippingAddress
- Address you ship your storage device to.public String getSignature()
public void setSignature(String signature)
signature
- An encrypted code used to authenticate the request and response, for
example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=". Only use this value is you
want to create the signature file yourself. Generally you should use
the SignatureFileContents value.public CreateJobResult withSignature(String signature)
Returns a reference to this object so that method calls can be chained together.
signature
- An encrypted code used to authenticate the request and response, for
example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=". Only use this value is you
want to create the signature file yourself. Generally you should use
the SignatureFileContents value.public String getSignatureFileContents()
public void setSignatureFileContents(String signatureFileContents)
signatureFileContents
- The actual text of the SIGNATURE file to be written to disk.public CreateJobResult withSignatureFileContents(String signatureFileContents)
Returns a reference to this object so that method calls can be chained together.
signatureFileContents
- The actual text of the SIGNATURE file to be written to disk.public String getWarningMessage()
public void setWarningMessage(String warningMessage)
warningMessage
- An optional message notifying you of non-fatal issues with the job,
such as use of an incompatible Amazon S3 bucket name.public CreateJobResult withWarningMessage(String warningMessage)
Returns a reference to this object so that method calls can be chained together.
warningMessage
- An optional message notifying you of non-fatal issues with the job,
such as use of an incompatible Amazon S3 bucket name.public String toString()
toString
in class Object
Object.toString()
Copyright © 2015. All rights reserved.