|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.glacier.model.DescribeJobResult
public class DescribeJobResult
Describes an Amazon Glacier job.
Constructor Summary | |
---|---|
DescribeJobResult()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getAction()
The job type. |
String |
getArchiveId()
For an ArchiveRetrieval job, this is the archive ID requested for download. |
String |
getArchiveSHA256TreeHash()
Returns the value of the ArchiveSHA256TreeHash property for this object. |
Long |
getArchiveSizeInBytes()
For an ArchiveRetrieval job, this is the size in bytes of the archive being requested for download. |
Boolean |
getCompleted()
The job status. |
String |
getCompletionDate()
The UTC time that the archive retrieval request completed. |
String |
getCreationDate()
The UTC date when the job was created. |
Long |
getInventorySizeInBytes()
For an InventoryRetrieval job, this is the size in bytes of the inventory requested for download. |
String |
getJobDescription()
The job description you provided when you initiated the job. |
String |
getJobId()
An opaque string that identifies an Amazon Glacier job. |
String |
getRetrievalByteRange()
Returns the value of the RetrievalByteRange property for this object. |
String |
getSHA256TreeHash()
For an ArchiveRetrieval job, it is the checksum of the archive. |
String |
getSNSTopic()
An Amazon Simple Notification Service (Amazon SNS) topic that receives notification. |
String |
getStatusCode()
The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job. |
String |
getStatusMessage()
A friendly message that describes the job status. |
String |
getVaultARN()
The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested. |
int |
hashCode()
|
Boolean |
isCompleted()
The job status. |
void |
setAction(ActionCode action)
The job type. |
void |
setAction(String action)
The job type. |
void |
setArchiveId(String archiveId)
For an ArchiveRetrieval job, this is the archive ID requested for download. |
void |
setArchiveSHA256TreeHash(String archiveSHA256TreeHash)
Sets the value of the ArchiveSHA256TreeHash property for this object. |
void |
setArchiveSizeInBytes(Long archiveSizeInBytes)
For an ArchiveRetrieval job, this is the size in bytes of the archive being requested for download. |
void |
setCompleted(Boolean completed)
The job status. |
void |
setCompletionDate(String completionDate)
The UTC time that the archive retrieval request completed. |
void |
setCreationDate(String creationDate)
The UTC date when the job was created. |
void |
setInventorySizeInBytes(Long inventorySizeInBytes)
For an InventoryRetrieval job, this is the size in bytes of the inventory requested for download. |
void |
setJobDescription(String jobDescription)
The job description you provided when you initiated the job. |
void |
setJobId(String jobId)
An opaque string that identifies an Amazon Glacier job. |
void |
setRetrievalByteRange(String retrievalByteRange)
Sets the value of the RetrievalByteRange property for this object. |
void |
setSHA256TreeHash(String sHA256TreeHash)
For an ArchiveRetrieval job, it is the checksum of the archive. |
void |
setSNSTopic(String sNSTopic)
An Amazon Simple Notification Service (Amazon SNS) topic that receives notification. |
void |
setStatusCode(StatusCode statusCode)
The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job. |
void |
setStatusCode(String statusCode)
The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job. |
void |
setStatusMessage(String statusMessage)
A friendly message that describes the job status. |
void |
setVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
DescribeJobResult |
withAction(ActionCode action)
The job type. |
DescribeJobResult |
withAction(String action)
The job type. |
DescribeJobResult |
withArchiveId(String archiveId)
For an ArchiveRetrieval job, this is the archive ID requested for download. |
DescribeJobResult |
withArchiveSHA256TreeHash(String archiveSHA256TreeHash)
Sets the value of the ArchiveSHA256TreeHash property for this object. |
DescribeJobResult |
withArchiveSizeInBytes(Long archiveSizeInBytes)
For an ArchiveRetrieval job, this is the size in bytes of the archive being requested for download. |
DescribeJobResult |
withCompleted(Boolean completed)
The job status. |
DescribeJobResult |
withCompletionDate(String completionDate)
The UTC time that the archive retrieval request completed. |
DescribeJobResult |
withCreationDate(String creationDate)
The UTC date when the job was created. |
DescribeJobResult |
withInventorySizeInBytes(Long inventorySizeInBytes)
For an InventoryRetrieval job, this is the size in bytes of the inventory requested for download. |
DescribeJobResult |
withJobDescription(String jobDescription)
The job description you provided when you initiated the job. |
DescribeJobResult |
withJobId(String jobId)
An opaque string that identifies an Amazon Glacier job. |
DescribeJobResult |
withRetrievalByteRange(String retrievalByteRange)
Sets the value of the RetrievalByteRange property for this object. |
DescribeJobResult |
withSHA256TreeHash(String sHA256TreeHash)
For an ArchiveRetrieval job, it is the checksum of the archive. |
DescribeJobResult |
withSNSTopic(String sNSTopic)
An Amazon Simple Notification Service (Amazon SNS) topic that receives notification. |
DescribeJobResult |
withStatusCode(StatusCode statusCode)
The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job. |
DescribeJobResult |
withStatusCode(String statusCode)
The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job. |
DescribeJobResult |
withStatusMessage(String statusMessage)
A friendly message that describes the job status. |
DescribeJobResult |
withVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DescribeJobResult()
Method Detail |
---|
public String getJobId()
public void setJobId(String jobId)
jobId
- An opaque string that identifies an Amazon Glacier job.public DescribeJobResult withJobId(String jobId)
Returns a reference to this object so that method calls can be chained together.
jobId
- An opaque string that identifies an Amazon Glacier job.
public String getJobDescription()
public void setJobDescription(String jobDescription)
jobDescription
- The job description you provided when you initiated the job.public DescribeJobResult withJobDescription(String jobDescription)
Returns a reference to this object so that method calls can be chained together.
jobDescription
- The job description you provided when you initiated the job.
public String getAction()
Constraints:
Allowed Values: ArchiveRetrieval, InventoryRetrieval
ActionCode
public void setAction(String action)
Constraints:
Allowed Values: ArchiveRetrieval, InventoryRetrieval
action
- The job type. It is either ArchiveRetrieval or InventoryRetrieval.ActionCode
public DescribeJobResult withAction(String action)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ArchiveRetrieval, InventoryRetrieval
action
- The job type. It is either ArchiveRetrieval or InventoryRetrieval.
ActionCode
public void setAction(ActionCode action)
Constraints:
Allowed Values: ArchiveRetrieval, InventoryRetrieval
action
- The job type. It is either ArchiveRetrieval or InventoryRetrieval.ActionCode
public DescribeJobResult withAction(ActionCode action)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: ArchiveRetrieval, InventoryRetrieval
action
- The job type. It is either ArchiveRetrieval or InventoryRetrieval.
ActionCode
public String getArchiveId()
public void setArchiveId(String archiveId)
archiveId
- For an ArchiveRetrieval job, this is the archive ID requested for
download. Otherwise, this field is null.public DescribeJobResult withArchiveId(String archiveId)
Returns a reference to this object so that method calls can be chained together.
archiveId
- For an ArchiveRetrieval job, this is the archive ID requested for
download. Otherwise, this field is null.
public String getVaultARN()
public void setVaultARN(String vaultARN)
vaultARN
- The Amazon Resource Name (ARN) of the vault from which the archive
retrieval was requested.public DescribeJobResult withVaultARN(String vaultARN)
Returns a reference to this object so that method calls can be chained together.
vaultARN
- The Amazon Resource Name (ARN) of the vault from which the archive
retrieval was requested.
public String getCreationDate()
public void setCreationDate(String creationDate)
creationDate
- The UTC date when the job was created. A string representation of ISO
8601 date format, for example, "2012-03-20T17:03:43.221Z".public DescribeJobResult withCreationDate(String creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate
- The UTC date when the job was created. A string representation of ISO
8601 date format, for example, "2012-03-20T17:03:43.221Z".
public Boolean isCompleted()
public void setCompleted(Boolean completed)
completed
- The job status. When a job is completed, you get the job's output.public DescribeJobResult withCompleted(Boolean completed)
Returns a reference to this object so that method calls can be chained together.
completed
- The job status. When a job is completed, you get the job's output.
public Boolean getCompleted()
public String getStatusCode()
Constraints:
Allowed Values: InProgress, Succeeded, Failed
StatusCode
public void setStatusCode(String statusCode)
Constraints:
Allowed Values: InProgress, Succeeded, Failed
statusCode
- The status code can be InProgress, Succeeded, or Failed, and indicates
the status of the job.StatusCode
public DescribeJobResult withStatusCode(String statusCode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: InProgress, Succeeded, Failed
statusCode
- The status code can be InProgress, Succeeded, or Failed, and indicates
the status of the job.
StatusCode
public void setStatusCode(StatusCode statusCode)
Constraints:
Allowed Values: InProgress, Succeeded, Failed
statusCode
- The status code can be InProgress, Succeeded, or Failed, and indicates
the status of the job.StatusCode
public DescribeJobResult withStatusCode(StatusCode statusCode)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: InProgress, Succeeded, Failed
statusCode
- The status code can be InProgress, Succeeded, or Failed, and indicates
the status of the job.
StatusCode
public String getStatusMessage()
public void setStatusMessage(String statusMessage)
statusMessage
- A friendly message that describes the job status.public DescribeJobResult withStatusMessage(String statusMessage)
Returns a reference to this object so that method calls can be chained together.
statusMessage
- A friendly message that describes the job status.
public Long getArchiveSizeInBytes()
public void setArchiveSizeInBytes(Long archiveSizeInBytes)
archiveSizeInBytes
- For an ArchiveRetrieval job, this is the size in bytes of the archive
being requested for download. For the InventoryRetrieval job, the
value is null.public DescribeJobResult withArchiveSizeInBytes(Long archiveSizeInBytes)
Returns a reference to this object so that method calls can be chained together.
archiveSizeInBytes
- For an ArchiveRetrieval job, this is the size in bytes of the archive
being requested for download. For the InventoryRetrieval job, the
value is null.
public Long getInventorySizeInBytes()
public void setInventorySizeInBytes(Long inventorySizeInBytes)
inventorySizeInBytes
- For an InventoryRetrieval job, this is the size in bytes of the
inventory requested for download. For the ArchiveRetrieval job, the
value is null.public DescribeJobResult withInventorySizeInBytes(Long inventorySizeInBytes)
Returns a reference to this object so that method calls can be chained together.
inventorySizeInBytes
- For an InventoryRetrieval job, this is the size in bytes of the
inventory requested for download. For the ArchiveRetrieval job, the
value is null.
public String getSNSTopic()
public void setSNSTopic(String sNSTopic)
sNSTopic
- An Amazon Simple Notification Service (Amazon SNS) topic that receives
notification.public DescribeJobResult withSNSTopic(String sNSTopic)
Returns a reference to this object so that method calls can be chained together.
sNSTopic
- An Amazon Simple Notification Service (Amazon SNS) topic that receives
notification.
public String getCompletionDate()
public void setCompletionDate(String completionDate)
completionDate
- The UTC time that the archive retrieval request completed. While the
job is in progress, the value will be null.public DescribeJobResult withCompletionDate(String completionDate)
Returns a reference to this object so that method calls can be chained together.
completionDate
- The UTC time that the archive retrieval request completed. While the
job is in progress, the value will be null.
public String getSHA256TreeHash()
public void setSHA256TreeHash(String sHA256TreeHash)
sHA256TreeHash
- For an ArchiveRetrieval job, it is the checksum of the archive.
Otherwise, the value is null.public DescribeJobResult withSHA256TreeHash(String sHA256TreeHash)
Returns a reference to this object so that method calls can be chained together.
sHA256TreeHash
- For an ArchiveRetrieval job, it is the checksum of the archive.
Otherwise, the value is null.
public String getArchiveSHA256TreeHash()
public void setArchiveSHA256TreeHash(String archiveSHA256TreeHash)
archiveSHA256TreeHash
- The new value for the ArchiveSHA256TreeHash property for this object.public DescribeJobResult withArchiveSHA256TreeHash(String archiveSHA256TreeHash)
Returns a reference to this object so that method calls can be chained together.
archiveSHA256TreeHash
- The new value for the ArchiveSHA256TreeHash property for this object.
public String getRetrievalByteRange()
public void setRetrievalByteRange(String retrievalByteRange)
retrievalByteRange
- The new value for the RetrievalByteRange property for this object.public DescribeJobResult withRetrievalByteRange(String retrievalByteRange)
Returns a reference to this object so that method calls can be chained together.
retrievalByteRange
- The new value for the RetrievalByteRange property for this object.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |