@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeJobResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Describes an Amazon Glacier job.
Constructor and Description |
---|
DescribeJobResult() |
Modifier and Type | Method and Description |
---|---|
DescribeJobResult |
clone() |
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()
The SHA256 tree hash of the entire archive for an archive retrieval.
|
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.
|
InventoryRetrievalJobDescription |
getInventoryRetrievalParameters()
Parameters used for range inventory retrieval.
|
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()
The retrieved byte range for archive retrieval jobs in the form "StartByteValue-EndByteValue" If no
range was specified in the archive retrieval, then the whole archive is retrieved and StartByteValue
equals 0 and EndByteValue equals the size of the archive minus 1.
|
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 |
getTier()
The retrieval option to use for the archive retrieval.
|
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)
The SHA256 tree hash of the entire archive for an archive retrieval.
|
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 |
setInventoryRetrievalParameters(InventoryRetrievalJobDescription inventoryRetrievalParameters)
Parameters used for range inventory retrieval.
|
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)
The retrieved byte range for archive retrieval jobs in the form "StartByteValue-EndByteValue" If no
range was specified in the archive retrieval, then the whole archive is retrieved and StartByteValue
equals 0 and EndByteValue equals the size of the archive minus 1.
|
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 |
setTier(String tier)
The retrieval option to use for the archive retrieval.
|
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)
The SHA256 tree hash of the entire archive for an archive retrieval.
|
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 |
withInventoryRetrievalParameters(InventoryRetrievalJobDescription inventoryRetrievalParameters)
Parameters used for range inventory retrieval.
|
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)
The retrieved byte range for archive retrieval jobs in the form "StartByteValue-EndByteValue" If no
range was specified in the archive retrieval, then the whole archive is retrieved and StartByteValue
equals 0 and EndByteValue equals the size of the archive minus 1.
|
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 |
withTier(String tier)
The retrieval option to use for the archive retrieval.
|
DescribeJobResult |
withVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setJobId(String jobId)
An opaque string that identifies an Amazon Glacier job.
jobId
- An opaque string that identifies an Amazon Glacier job.public String getJobId()
An opaque string that identifies an Amazon Glacier job.
public DescribeJobResult withJobId(String jobId)
An opaque string that identifies an Amazon Glacier job.
jobId
- An opaque string that identifies an Amazon Glacier job.public void setJobDescription(String jobDescription)
The job description you provided when you initiated the job.
jobDescription
- The job description you provided when you initiated the job.public String getJobDescription()
The job description you provided when you initiated the job.
public DescribeJobResult withJobDescription(String jobDescription)
The job description you provided when you initiated the job.
jobDescription
- The job description you provided when you initiated the job.public void setAction(String action)
The job type. It is either ArchiveRetrieval or InventoryRetrieval.
action
- The job type. It is either ArchiveRetrieval or InventoryRetrieval.ActionCode
public String getAction()
The job type. It is either ArchiveRetrieval or InventoryRetrieval.
ActionCode
public DescribeJobResult withAction(String action)
The job type. It is either ArchiveRetrieval or InventoryRetrieval.
action
- The job type. It is either ArchiveRetrieval or InventoryRetrieval.ActionCode
public void setAction(ActionCode action)
The job type. It is either ArchiveRetrieval or InventoryRetrieval.
action
- The job type. It is either ArchiveRetrieval or InventoryRetrieval.ActionCode
public DescribeJobResult withAction(ActionCode action)
The job type. It is either ArchiveRetrieval or InventoryRetrieval.
action
- The job type. It is either ArchiveRetrieval or InventoryRetrieval.ActionCode
public void setArchiveId(String archiveId)
For an ArchiveRetrieval job, this is the archive ID requested for download. Otherwise, this field is null.
archiveId
- For an ArchiveRetrieval job, this is the archive ID requested for download. Otherwise, this field is null.public String getArchiveId()
For an ArchiveRetrieval job, this is the archive ID requested for download. Otherwise, this field is null.
public DescribeJobResult withArchiveId(String archiveId)
For an ArchiveRetrieval job, this is the archive ID requested for download. Otherwise, this field is null.
archiveId
- For an ArchiveRetrieval job, this is the archive ID requested for download. Otherwise, this field is null.public void setVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested.
vaultARN
- The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested.public String getVaultARN()
The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested.
public DescribeJobResult withVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested.
vaultARN
- The Amazon Resource Name (ARN) of the vault from which the archive retrieval was requested.public void setCreationDate(String 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".
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 String getCreationDate()
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)
The UTC date when the job was created. A string representation of ISO 8601 date format, for example, "2012-03-20T17:03:43.221Z".
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 void setCompleted(Boolean completed)
The job status. When a job is completed, you get the job's output.
completed
- The job status. When a job is completed, you get the job's output.public Boolean getCompleted()
The job status. When a job is completed, you get the job's output.
public DescribeJobResult withCompleted(Boolean completed)
The job status. When a job is completed, you get the job's output.
completed
- The job status. When a job is completed, you get the job's output.public Boolean isCompleted()
The job status. When a job is completed, you get the job's output.
public void setStatusCode(String statusCode)
The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.
statusCode
- The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.StatusCode
public String getStatusCode()
The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.
StatusCode
public DescribeJobResult withStatusCode(String statusCode)
The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.
statusCode
- The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.StatusCode
public void setStatusCode(StatusCode statusCode)
The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.
statusCode
- The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.StatusCode
public DescribeJobResult withStatusCode(StatusCode statusCode)
The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.
statusCode
- The status code can be InProgress, Succeeded, or Failed, and indicates the status of the job.StatusCode
public void setStatusMessage(String statusMessage)
A friendly message that describes the job status.
statusMessage
- A friendly message that describes the job status.public String getStatusMessage()
A friendly message that describes the job status.
public DescribeJobResult withStatusMessage(String statusMessage)
A friendly message that describes the job status.
statusMessage
- A friendly message that describes the job status.public void setArchiveSizeInBytes(Long 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.
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 getArchiveSizeInBytes()
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)
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.
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 void setInventorySizeInBytes(Long 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.
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 Long getInventorySizeInBytes()
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)
For an InventoryRetrieval job, this is the size in bytes of the inventory requested for download. For the ArchiveRetrieval job, the value is null.
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 void setSNSTopic(String sNSTopic)
An Amazon Simple Notification Service (Amazon SNS) topic that receives notification.
sNSTopic
- An Amazon Simple Notification Service (Amazon SNS) topic that receives notification.public String getSNSTopic()
An Amazon Simple Notification Service (Amazon SNS) topic that receives notification.
public DescribeJobResult withSNSTopic(String sNSTopic)
An Amazon Simple Notification Service (Amazon SNS) topic that receives notification.
sNSTopic
- An Amazon Simple Notification Service (Amazon SNS) topic that receives notification.public void setCompletionDate(String completionDate)
The UTC time that the archive retrieval request completed. While the job is in progress, the value will be null.
completionDate
- The UTC time that the archive retrieval request completed. While the job is in progress, the value will be
null.public String getCompletionDate()
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)
The UTC time that the archive retrieval request completed. While the job is in progress, the value will be null.
completionDate
- The UTC time that the archive retrieval request completed. While the job is in progress, the value will be
null.public void setSHA256TreeHash(String sHA256TreeHash)
For an ArchiveRetrieval job, it is the checksum of the archive. Otherwise, the value is null.
The SHA256 tree hash value for the requested range of an archive. If the Initiate a Job request for an archive specified a tree-hash aligned range, then this field returns a value.
For the specific case when the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.
This field is null in the following situations:
Archive retrieval jobs that specify a range that is not tree-hash aligned.
Archival jobs that specify a range that is equal to the whole archive and the job status is InProgress.
Inventory jobs.
sHA256TreeHash
- For an ArchiveRetrieval job, it is the checksum of the archive. Otherwise, the value is null.
The SHA256 tree hash value for the requested range of an archive. If the Initiate a Job request for an archive specified a tree-hash aligned range, then this field returns a value.
For the specific case when the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.
This field is null in the following situations:
Archive retrieval jobs that specify a range that is not tree-hash aligned.
Archival jobs that specify a range that is equal to the whole archive and the job status is InProgress.
Inventory jobs.
public String getSHA256TreeHash()
For an ArchiveRetrieval job, it is the checksum of the archive. Otherwise, the value is null.
The SHA256 tree hash value for the requested range of an archive. If the Initiate a Job request for an archive specified a tree-hash aligned range, then this field returns a value.
For the specific case when the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.
This field is null in the following situations:
Archive retrieval jobs that specify a range that is not tree-hash aligned.
Archival jobs that specify a range that is equal to the whole archive and the job status is InProgress.
Inventory jobs.
The SHA256 tree hash value for the requested range of an archive. If the Initiate a Job request for an archive specified a tree-hash aligned range, then this field returns a value.
For the specific case when the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.
This field is null in the following situations:
Archive retrieval jobs that specify a range that is not tree-hash aligned.
Archival jobs that specify a range that is equal to the whole archive and the job status is InProgress.
Inventory jobs.
public DescribeJobResult withSHA256TreeHash(String sHA256TreeHash)
For an ArchiveRetrieval job, it is the checksum of the archive. Otherwise, the value is null.
The SHA256 tree hash value for the requested range of an archive. If the Initiate a Job request for an archive specified a tree-hash aligned range, then this field returns a value.
For the specific case when the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.
This field is null in the following situations:
Archive retrieval jobs that specify a range that is not tree-hash aligned.
Archival jobs that specify a range that is equal to the whole archive and the job status is InProgress.
Inventory jobs.
sHA256TreeHash
- For an ArchiveRetrieval job, it is the checksum of the archive. Otherwise, the value is null.
The SHA256 tree hash value for the requested range of an archive. If the Initiate a Job request for an archive specified a tree-hash aligned range, then this field returns a value.
For the specific case when the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.
This field is null in the following situations:
Archive retrieval jobs that specify a range that is not tree-hash aligned.
Archival jobs that specify a range that is equal to the whole archive and the job status is InProgress.
Inventory jobs.
public void setArchiveSHA256TreeHash(String archiveSHA256TreeHash)
The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval jobs, this field is null.
archiveSHA256TreeHash
- The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval jobs, this
field is null.public String getArchiveSHA256TreeHash()
The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval jobs, this field is null.
public DescribeJobResult withArchiveSHA256TreeHash(String archiveSHA256TreeHash)
The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval jobs, this field is null.
archiveSHA256TreeHash
- The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval jobs, this
field is null.public void setRetrievalByteRange(String retrievalByteRange)
The retrieved byte range for archive retrieval jobs in the form "StartByteValue-EndByteValue" If no range was specified in the archive retrieval, then the whole archive is retrieved and StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For inventory retrieval jobs this field is null.
retrievalByteRange
- The retrieved byte range for archive retrieval jobs in the form
"StartByteValue-EndByteValue" If no range was specified in the archive retrieval, then the
whole archive is retrieved and StartByteValue equals 0 and EndByteValue equals the size of
the archive minus 1. For inventory retrieval jobs this field is null.public String getRetrievalByteRange()
The retrieved byte range for archive retrieval jobs in the form "StartByteValue-EndByteValue" If no range was specified in the archive retrieval, then the whole archive is retrieved and StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For inventory retrieval jobs this field is null.
public DescribeJobResult withRetrievalByteRange(String retrievalByteRange)
The retrieved byte range for archive retrieval jobs in the form "StartByteValue-EndByteValue" If no range was specified in the archive retrieval, then the whole archive is retrieved and StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For inventory retrieval jobs this field is null.
retrievalByteRange
- The retrieved byte range for archive retrieval jobs in the form
"StartByteValue-EndByteValue" If no range was specified in the archive retrieval, then the
whole archive is retrieved and StartByteValue equals 0 and EndByteValue equals the size of
the archive minus 1. For inventory retrieval jobs this field is null.public void setTier(String tier)
The retrieval option to use for the archive retrieval. Valid values are Expedited
,
Standard
, or Bulk
. Standard
is the default.
tier
- The retrieval option to use for the archive retrieval. Valid values are Expedited
,
Standard
, or Bulk
. Standard
is the default.public String getTier()
The retrieval option to use for the archive retrieval. Valid values are Expedited
,
Standard
, or Bulk
. Standard
is the default.
Expedited
,
Standard
, or Bulk
. Standard
is the default.public DescribeJobResult withTier(String tier)
The retrieval option to use for the archive retrieval. Valid values are Expedited
,
Standard
, or Bulk
. Standard
is the default.
tier
- The retrieval option to use for the archive retrieval. Valid values are Expedited
,
Standard
, or Bulk
. Standard
is the default.public void setInventoryRetrievalParameters(InventoryRetrievalJobDescription inventoryRetrievalParameters)
Parameters used for range inventory retrieval.
inventoryRetrievalParameters
- Parameters used for range inventory retrieval.public InventoryRetrievalJobDescription getInventoryRetrievalParameters()
Parameters used for range inventory retrieval.
public DescribeJobResult withInventoryRetrievalParameters(InventoryRetrievalJobDescription inventoryRetrievalParameters)
Parameters used for range inventory retrieval.
inventoryRetrievalParameters
- Parameters used for range inventory retrieval.public String toString()
toString
in class Object
Object.toString()
public DescribeJobResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.