public class GetStatusResult extends Object implements Serializable
Output structure for the GetStatus operation.
Constructor and Description |
---|
GetStatusResult() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getAwsShippingAddress()
Address you ship your storage device to.
|
String |
getCarrier()
Name of the shipping company.
|
Date |
getCreationDate()
Timestamp of the CreateJob request in ISO8601 date format.
|
String |
getCurrentManifest()
The last manifest submitted, which will be used to process the job.
|
Integer |
getErrorCount()
Number of errors.
|
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 |
getLocationCode()
A token representing the location of the storage device, such as
"AtAWS".
|
String |
getLocationMessage()
A more human readable form of the physical location of the storage
device.
|
String |
getLogBucket()
Amazon S3 bucket for user logs.
|
String |
getLogKey()
The key where the user logs were stored.
|
String |
getProgressCode()
A token representing the state of the job, such as "Started".
|
String |
getProgressMessage()
A more human readable form of the job status.
|
String |
getSignature()
An encrypted code used to authenticate the request and response, for
example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=".
|
String |
getSignatureFileContents()
An encrypted code used to authenticate the request and response, for
example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=".
|
String |
getTrackingNumber()
The shipping tracking number assigned by AWS Import/Export to the
storage device when it's returned to you.
|
int |
hashCode() |
void |
setAwsShippingAddress(String awsShippingAddress)
Address you ship your storage device to.
|
void |
setCarrier(String carrier)
Name of the shipping company.
|
void |
setCreationDate(Date creationDate)
Timestamp of the CreateJob request in ISO8601 date format.
|
void |
setCurrentManifest(String currentManifest)
The last manifest submitted, which will be used to process the job.
|
void |
setErrorCount(Integer errorCount)
Number of errors.
|
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 |
setLocationCode(String locationCode)
A token representing the location of the storage device, such as
"AtAWS".
|
void |
setLocationMessage(String locationMessage)
A more human readable form of the physical location of the storage
device.
|
void |
setLogBucket(String logBucket)
Amazon S3 bucket for user logs.
|
void |
setLogKey(String logKey)
The key where the user logs were stored.
|
void |
setProgressCode(String progressCode)
A token representing the state of the job, such as "Started".
|
void |
setProgressMessage(String progressMessage)
A more human readable form of the job status.
|
void |
setSignature(String signature)
An encrypted code used to authenticate the request and response, for
example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=".
|
void |
setSignatureFileContents(String signatureFileContents)
An encrypted code used to authenticate the request and response, for
example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=".
|
void |
setTrackingNumber(String trackingNumber)
The shipping tracking number assigned by AWS Import/Export to the
storage device when it's returned to you.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetStatusResult |
withAwsShippingAddress(String awsShippingAddress)
Address you ship your storage device to.
|
GetStatusResult |
withCarrier(String carrier)
Name of the shipping company.
|
GetStatusResult |
withCreationDate(Date creationDate)
Timestamp of the CreateJob request in ISO8601 date format.
|
GetStatusResult |
withCurrentManifest(String currentManifest)
The last manifest submitted, which will be used to process the job.
|
GetStatusResult |
withErrorCount(Integer errorCount)
Number of errors.
|
GetStatusResult |
withJobId(String jobId)
A unique identifier which refers to a particular job.
|
GetStatusResult |
withJobType(JobType jobType)
Specifies whether the job to initiate is an import or export job.
|
GetStatusResult |
withJobType(String jobType)
Specifies whether the job to initiate is an import or export job.
|
GetStatusResult |
withLocationCode(String locationCode)
A token representing the location of the storage device, such as
"AtAWS".
|
GetStatusResult |
withLocationMessage(String locationMessage)
A more human readable form of the physical location of the storage
device.
|
GetStatusResult |
withLogBucket(String logBucket)
Amazon S3 bucket for user logs.
|
GetStatusResult |
withLogKey(String logKey)
The key where the user logs were stored.
|
GetStatusResult |
withProgressCode(String progressCode)
A token representing the state of the job, such as "Started".
|
GetStatusResult |
withProgressMessage(String progressMessage)
A more human readable form of the job status.
|
GetStatusResult |
withSignature(String signature)
An encrypted code used to authenticate the request and response, for
example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=".
|
GetStatusResult |
withSignatureFileContents(String signatureFileContents)
An encrypted code used to authenticate the request and response, for
example, "DV+TpDfx1/TdSE9ktyK9k/bDTVI=".
|
GetStatusResult |
withTrackingNumber(String trackingNumber)
The shipping tracking number assigned by AWS Import/Export to the
storage device when it's returned to you.
|
public String getJobId()
public void setJobId(String jobId)
jobId
- A unique identifier which refers to a particular job.public GetStatusResult 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 GetStatusResult 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 GetStatusResult 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 GetStatusResult 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 getLocationCode()
public void setLocationCode(String locationCode)
locationCode
- A token representing the location of the storage device, such as
"AtAWS".public GetStatusResult withLocationCode(String locationCode)
Returns a reference to this object so that method calls can be chained together.
locationCode
- A token representing the location of the storage device, such as
"AtAWS".public String getLocationMessage()
public void setLocationMessage(String locationMessage)
locationMessage
- A more human readable form of the physical location of the storage
device.public GetStatusResult withLocationMessage(String locationMessage)
Returns a reference to this object so that method calls can be chained together.
locationMessage
- A more human readable form of the physical location of the storage
device.public String getProgressCode()
public void setProgressCode(String progressCode)
progressCode
- A token representing the state of the job, such as "Started".public GetStatusResult withProgressCode(String progressCode)
Returns a reference to this object so that method calls can be chained together.
progressCode
- A token representing the state of the job, such as "Started".public String getProgressMessage()
public void setProgressMessage(String progressMessage)
progressMessage
- A more human readable form of the job status.public GetStatusResult withProgressMessage(String progressMessage)
Returns a reference to this object so that method calls can be chained together.
progressMessage
- A more human readable form of the job status.public String getCarrier()
public void setCarrier(String carrier)
carrier
- Name of the shipping company. This value is included when the
LocationCode is "Returned".public GetStatusResult withCarrier(String carrier)
Returns a reference to this object so that method calls can be chained together.
carrier
- Name of the shipping company. This value is included when the
LocationCode is "Returned".public String getTrackingNumber()
public void setTrackingNumber(String trackingNumber)
trackingNumber
- The shipping tracking number assigned by AWS Import/Export to the
storage device when it's returned to you. We return this value when
the LocationCode is "Returned".public GetStatusResult withTrackingNumber(String trackingNumber)
Returns a reference to this object so that method calls can be chained together.
trackingNumber
- The shipping tracking number assigned by AWS Import/Export to the
storage device when it's returned to you. We return this value when
the LocationCode is "Returned".public String getLogBucket()
public void setLogBucket(String logBucket)
logBucket
- Amazon S3 bucket for user logs.public GetStatusResult withLogBucket(String logBucket)
Returns a reference to this object so that method calls can be chained together.
logBucket
- Amazon S3 bucket for user logs.public String getLogKey()
public void setLogKey(String logKey)
logKey
- The key where the user logs were stored.public GetStatusResult withLogKey(String logKey)
Returns a reference to this object so that method calls can be chained together.
logKey
- The key where the user logs were stored.public Integer getErrorCount()
public void setErrorCount(Integer errorCount)
errorCount
- Number of errors. We return this value when the ProgressCode is
Success or SuccessWithErrors.public GetStatusResult withErrorCount(Integer errorCount)
Returns a reference to this object so that method calls can be chained together.
errorCount
- Number of errors. We return this value when the ProgressCode is
Success or SuccessWithErrors.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 GetStatusResult 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
- 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 GetStatusResult withSignatureFileContents(String signatureFileContents)
Returns a reference to this object so that method calls can be chained together.
signatureFileContents
- 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 getCurrentManifest()
public void setCurrentManifest(String currentManifest)
currentManifest
- The last manifest submitted, which will be used to process the job.public GetStatusResult withCurrentManifest(String currentManifest)
Returns a reference to this object so that method calls can be chained together.
currentManifest
- The last manifest submitted, which will be used to process the job.public Date getCreationDate()
public void setCreationDate(Date creationDate)
creationDate
- Timestamp of the CreateJob request in ISO8601 date format. For example
"2010-03-28T20:27:35Z".public GetStatusResult withCreationDate(Date creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate
- Timestamp of the CreateJob request in ISO8601 date format. For example
"2010-03-28T20:27:35Z".public String toString()
toString
in class Object
Object.toString()
Copyright © 2014. All rights reserved.