@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class DescribeJobResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the description of an Amazon S3 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()
The archive ID requested for a select job or archive retrieval.
|
String |
getArchiveSHA256TreeHash()
The SHA256 tree hash of the entire archive for an archive retrieval.
|
Long |
getArchiveSizeInBytes()
For an archive retrieval job, this value is the size in bytes of the archive being requested for download.
|
Boolean |
getCompleted()
The job status.
|
String |
getCompletionDate()
The UTC time that the job request completed.
|
String |
getCreationDate()
The UTC date when the job was created.
|
InventoryRetrievalJobDescription |
getInventoryRetrievalParameters()
Parameters used for range inventory retrieval.
|
Long |
getInventorySizeInBytes()
For an inventory retrieval job, this value is the size in bytes of the inventory requested for download.
|
String |
getJobDescription()
The job description provided when initiating the job.
|
String |
getJobId()
An opaque string that identifies an Amazon S3 Glacier job.
|
String |
getJobOutputPath()
Contains the job output location.
|
OutputLocation |
getOutputLocation()
Contains the location where the data from the select job is stored.
|
String |
getRetrievalByteRange()
The retrieved byte range for archive retrieval jobs in the form StartByteValue-EndByteValue.
|
SelectParameters |
getSelectParameters()
Contains the parameters used for a select.
|
String |
getSHA256TreeHash()
For an archive retrieval job, this value is the checksum of the archive.
|
String |
getSNSTopic()
An 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 tier to use for a select or an archive retrieval.
|
String |
getVaultARN()
The Amazon Resource Name (ARN) of the vault from which an 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)
The archive ID requested for a select job or archive retrieval.
|
void |
setArchiveSHA256TreeHash(String archiveSHA256TreeHash)
The SHA256 tree hash of the entire archive for an archive retrieval.
|
void |
setArchiveSizeInBytes(Long archiveSizeInBytes)
For an archive retrieval job, this value 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 job 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 inventory retrieval job, this value is the size in bytes of the inventory requested for download.
|
void |
setJobDescription(String jobDescription)
The job description provided when initiating the job.
|
void |
setJobId(String jobId)
An opaque string that identifies an Amazon S3 Glacier job.
|
void |
setJobOutputPath(String jobOutputPath)
Contains the job output location.
|
void |
setOutputLocation(OutputLocation outputLocation)
Contains the location where the data from the select job is stored.
|
void |
setRetrievalByteRange(String retrievalByteRange)
The retrieved byte range for archive retrieval jobs in the form StartByteValue-EndByteValue.
|
void |
setSelectParameters(SelectParameters selectParameters)
Contains the parameters used for a select.
|
void |
setSHA256TreeHash(String sHA256TreeHash)
For an archive retrieval job, this value is the checksum of the archive.
|
void |
setSNSTopic(String sNSTopic)
An 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 tier to use for a select or an archive retrieval.
|
void |
setVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault from which an archive retrieval was requested.
|
String |
toString()
Returns a string representation of this object.
|
DescribeJobResult |
withAction(ActionCode action)
The job type.
|
DescribeJobResult |
withAction(String action)
The job type.
|
DescribeJobResult |
withArchiveId(String archiveId)
The archive ID requested for a select job or archive retrieval.
|
DescribeJobResult |
withArchiveSHA256TreeHash(String archiveSHA256TreeHash)
The SHA256 tree hash of the entire archive for an archive retrieval.
|
DescribeJobResult |
withArchiveSizeInBytes(Long archiveSizeInBytes)
For an archive retrieval job, this value 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 job 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 inventory retrieval job, this value is the size in bytes of the inventory requested for download.
|
DescribeJobResult |
withJobDescription(String jobDescription)
The job description provided when initiating the job.
|
DescribeJobResult |
withJobId(String jobId)
An opaque string that identifies an Amazon S3 Glacier job.
|
DescribeJobResult |
withJobOutputPath(String jobOutputPath)
Contains the job output location.
|
DescribeJobResult |
withOutputLocation(OutputLocation outputLocation)
Contains the location where the data from the select job is stored.
|
DescribeJobResult |
withRetrievalByteRange(String retrievalByteRange)
The retrieved byte range for archive retrieval jobs in the form StartByteValue-EndByteValue.
|
DescribeJobResult |
withSelectParameters(SelectParameters selectParameters)
Contains the parameters used for a select.
|
DescribeJobResult |
withSHA256TreeHash(String sHA256TreeHash)
For an archive retrieval job, this value is the checksum of the archive.
|
DescribeJobResult |
withSNSTopic(String sNSTopic)
An 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 tier to use for a select or an archive retrieval.
|
DescribeJobResult |
withVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault from which an archive retrieval was requested.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setJobId(String jobId)
An opaque string that identifies an Amazon S3 Glacier job.
jobId
- An opaque string that identifies an Amazon S3 Glacier job.public String getJobId()
An opaque string that identifies an Amazon S3 Glacier job.
public DescribeJobResult withJobId(String jobId)
An opaque string that identifies an Amazon S3 Glacier job.
jobId
- An opaque string that identifies an Amazon S3 Glacier job.public void setJobDescription(String jobDescription)
The job description provided when initiating the job.
jobDescription
- The job description provided when initiating the job.public String getJobDescription()
The job description provided when initiating the job.
public DescribeJobResult withJobDescription(String jobDescription)
The job description provided when initiating the job.
jobDescription
- The job description provided when initiating the job.public void setAction(String action)
The job type. This value is either ArchiveRetrieval
, InventoryRetrieval
, or
Select
.
action
- The job type. This value is either ArchiveRetrieval
, InventoryRetrieval
, or
Select
.ActionCode
public String getAction()
The job type. This value is either ArchiveRetrieval
, InventoryRetrieval
, or
Select
.
ArchiveRetrieval
, InventoryRetrieval
, or
Select
.ActionCode
public DescribeJobResult withAction(String action)
The job type. This value is either ArchiveRetrieval
, InventoryRetrieval
, or
Select
.
action
- The job type. This value is either ArchiveRetrieval
, InventoryRetrieval
, or
Select
.ActionCode
public void setAction(ActionCode action)
The job type. This value is either ArchiveRetrieval
, InventoryRetrieval
, or
Select
.
action
- The job type. This value is either ArchiveRetrieval
, InventoryRetrieval
, or
Select
.ActionCode
public DescribeJobResult withAction(ActionCode action)
The job type. This value is either ArchiveRetrieval
, InventoryRetrieval
, or
Select
.
action
- The job type. This value is either ArchiveRetrieval
, InventoryRetrieval
, or
Select
.ActionCode
public void setArchiveId(String archiveId)
The archive ID requested for a select job or archive retrieval. Otherwise, this field is null.
archiveId
- The archive ID requested for a select job or archive retrieval. Otherwise, this field is null.public String getArchiveId()
The archive ID requested for a select job or archive retrieval. Otherwise, this field is null.
public DescribeJobResult withArchiveId(String archiveId)
The archive ID requested for a select job or archive retrieval. Otherwise, this field is null.
archiveId
- The archive ID requested for a select job or archive retrieval. Otherwise, this field is null.public void setVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault from which an archive retrieval was requested.
vaultARN
- The Amazon Resource Name (ARN) of the vault from which an archive retrieval was requested.public String getVaultARN()
The Amazon Resource Name (ARN) of the vault from which an archive retrieval was requested.
public DescribeJobResult withVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault from which an archive retrieval was requested.
vaultARN
- The Amazon Resource Name (ARN) of the vault from which an archive retrieval was requested.public void setCreationDate(String creationDate)
The UTC date when the job was created. This value is 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. This value is 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. This value is a string representation of ISO 8601 date format, for example
"2012-03-20T17:03:43.221Z"
.
"2012-03-20T17:03:43.221Z"
.public DescribeJobResult withCreationDate(String creationDate)
The UTC date when the job was created. This value is 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. This value is 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 using Get Job Output (GET output).
completed
- The job status. When a job is completed, you get the job's output using Get Job Output (GET output).public Boolean getCompleted()
The job status. When a job is completed, you get the job's output using Get Job Output (GET output).
public DescribeJobResult withCompleted(Boolean completed)
The job status. When a job is completed, you get the job's output using Get Job Output (GET output).
completed
- The job status. When a job is completed, you get the job's output using Get Job Output (GET output).public Boolean isCompleted()
The job status. When a job is completed, you get the job's output using Get Job Output (GET 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.
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 archive retrieval job, this value is the size in bytes of the archive being requested for download. For an inventory retrieval or select job, this value is null.
archiveSizeInBytes
- For an archive retrieval job, this value is the size in bytes of the archive being requested for download.
For an inventory retrieval or select job, this value is null.public Long getArchiveSizeInBytes()
For an archive retrieval job, this value is the size in bytes of the archive being requested for download. For an inventory retrieval or select job, this value is null.
public DescribeJobResult withArchiveSizeInBytes(Long archiveSizeInBytes)
For an archive retrieval job, this value is the size in bytes of the archive being requested for download. For an inventory retrieval or select job, this value is null.
archiveSizeInBytes
- For an archive retrieval job, this value is the size in bytes of the archive being requested for download.
For an inventory retrieval or select job, this value is null.public void setInventorySizeInBytes(Long inventorySizeInBytes)
For an inventory retrieval job, this value is the size in bytes of the inventory requested for download. For an archive retrieval or select job, this value is null.
inventorySizeInBytes
- For an inventory retrieval job, this value is the size in bytes of the inventory requested for download.
For an archive retrieval or select job, this value is null.public Long getInventorySizeInBytes()
For an inventory retrieval job, this value is the size in bytes of the inventory requested for download. For an archive retrieval or select job, this value is null.
public DescribeJobResult withInventorySizeInBytes(Long inventorySizeInBytes)
For an inventory retrieval job, this value is the size in bytes of the inventory requested for download. For an archive retrieval or select job, this value is null.
inventorySizeInBytes
- For an inventory retrieval job, this value is the size in bytes of the inventory requested for download.
For an archive retrieval or select job, this value is null.public void setSNSTopic(String sNSTopic)
An Amazon SNS topic that receives notification.
sNSTopic
- An Amazon SNS topic that receives notification.public String getSNSTopic()
An Amazon SNS topic that receives notification.
public DescribeJobResult withSNSTopic(String sNSTopic)
An Amazon SNS topic that receives notification.
sNSTopic
- An Amazon SNS topic that receives notification.public void setCompletionDate(String completionDate)
The UTC time that the job request completed. While the job is in progress, the value is null.
completionDate
- The UTC time that the job request completed. While the job is in progress, the value is null.public String getCompletionDate()
The UTC time that the job request completed. While the job is in progress, the value is null.
public DescribeJobResult withCompletionDate(String completionDate)
The UTC time that the job request completed. While the job is in progress, the value is null.
completionDate
- The UTC time that the job request completed. While the job is in progress, the value is null.public void setSHA256TreeHash(String sHA256TreeHash)
For an archive retrieval job, this value is the checksum of the archive. Otherwise, this value is null.
The SHA256 tree hash value for the requested range of an archive. If the InitiateJob request for an archive specified a tree-hash aligned range, then this field returns a value.
If the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.
This field is null for the following:
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, when the job status is
InProgress
Inventory jobs
Select jobs
sHA256TreeHash
- For an archive retrieval job, this value is the checksum of the archive. Otherwise, this value is
null.
The SHA256 tree hash value for the requested range of an archive. If the InitiateJob request for an archive specified a tree-hash aligned range, then this field returns a value.
If the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.
This field is null for the following:
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, when the job status is
InProgress
Inventory jobs
Select jobs
public String getSHA256TreeHash()
For an archive retrieval job, this value is the checksum of the archive. Otherwise, this value is null.
The SHA256 tree hash value for the requested range of an archive. If the InitiateJob request for an archive specified a tree-hash aligned range, then this field returns a value.
If the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.
This field is null for the following:
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, when the job status is
InProgress
Inventory jobs
Select jobs
The SHA256 tree hash value for the requested range of an archive. If the InitiateJob request for an archive specified a tree-hash aligned range, then this field returns a value.
If the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.
This field is null for the following:
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, when the job status is
InProgress
Inventory jobs
Select jobs
public DescribeJobResult withSHA256TreeHash(String sHA256TreeHash)
For an archive retrieval job, this value is the checksum of the archive. Otherwise, this value is null.
The SHA256 tree hash value for the requested range of an archive. If the InitiateJob request for an archive specified a tree-hash aligned range, then this field returns a value.
If the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.
This field is null for the following:
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, when the job status is
InProgress
Inventory jobs
Select jobs
sHA256TreeHash
- For an archive retrieval job, this value is the checksum of the archive. Otherwise, this value is
null.
The SHA256 tree hash value for the requested range of an archive. If the InitiateJob request for an archive specified a tree-hash aligned range, then this field returns a value.
If the whole archive is retrieved, this value is the same as the ArchiveSHA256TreeHash value.
This field is null for the following:
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, when the job status is
InProgress
Inventory jobs
Select jobs
public void setArchiveSHA256TreeHash(String archiveSHA256TreeHash)
The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval or select jobs, this field is null.
archiveSHA256TreeHash
- The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval or select
jobs, this field is null.public String getArchiveSHA256TreeHash()
The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval or select 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 or select jobs, this field is null.
archiveSHA256TreeHash
- The SHA256 tree hash of the entire archive for an archive retrieval. For inventory retrieval or select
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. In this case, StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For inventory retrieval or select 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. In this case,
StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For
inventory retrieval or select 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. In this case, StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For inventory retrieval or select 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. In this case, StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For inventory retrieval or select 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. In this case,
StartByteValue equals 0 and EndByteValue equals the size of the archive minus 1. For
inventory retrieval or select jobs, this field is null.public void setTier(String tier)
The tier to use for a select or an archive retrieval. Valid values are Expedited
,
Standard
, or Bulk
. Standard
is the default.
tier
- The tier to use for a select or an archive retrieval. Valid values are Expedited
,
Standard
, or Bulk
. Standard
is the default.public String getTier()
The tier to use for a select or an 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 tier to use for a select or an archive retrieval. Valid values are Expedited
,
Standard
, or Bulk
. Standard
is the default.
tier
- The tier to use for a select or an 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 void setJobOutputPath(String jobOutputPath)
Contains the job output location.
jobOutputPath
- Contains the job output location.public String getJobOutputPath()
Contains the job output location.
public DescribeJobResult withJobOutputPath(String jobOutputPath)
Contains the job output location.
jobOutputPath
- Contains the job output location.public void setSelectParameters(SelectParameters selectParameters)
Contains the parameters used for a select.
selectParameters
- Contains the parameters used for a select.public SelectParameters getSelectParameters()
Contains the parameters used for a select.
public DescribeJobResult withSelectParameters(SelectParameters selectParameters)
Contains the parameters used for a select.
selectParameters
- Contains the parameters used for a select.public void setOutputLocation(OutputLocation outputLocation)
Contains the location where the data from the select job is stored.
outputLocation
- Contains the location where the data from the select job is stored.public OutputLocation getOutputLocation()
Contains the location where the data from the select job is stored.
public DescribeJobResult withOutputLocation(OutputLocation outputLocation)
Contains the location where the data from the select job is stored.
outputLocation
- Contains the location where the data from the select job is stored.public String toString()
toString
in class Object
Object.toString()
public DescribeJobResult clone()