public static interface GlacierJobDescription.Builder extends SdkPojo, CopyableBuilder<GlacierJobDescription.Builder,GlacierJobDescription>
Modifier and Type | Method and Description |
---|---|
GlacierJobDescription.Builder |
action(ActionCode action)
The job type.
|
GlacierJobDescription.Builder |
action(String action)
The job type.
|
GlacierJobDescription.Builder |
archiveId(String archiveId)
The archive ID requested for a select job or archive retrieval.
|
GlacierJobDescription.Builder |
archiveSHA256TreeHash(String archiveSHA256TreeHash)
The SHA256 tree hash of the entire archive for an archive retrieval.
|
GlacierJobDescription.Builder |
archiveSizeInBytes(Long archiveSizeInBytes)
For an archive retrieval job, this value is the size in bytes of the archive being requested for download.
|
GlacierJobDescription.Builder |
completed(Boolean completed)
The job status.
|
GlacierJobDescription.Builder |
completionDate(String completionDate)
The UTC time that the job request completed.
|
GlacierJobDescription.Builder |
creationDate(String creationDate)
The UTC date when the job was created.
|
default GlacierJobDescription.Builder |
inventoryRetrievalParameters(Consumer<InventoryRetrievalJobDescription.Builder> inventoryRetrievalParameters)
Parameters used for range inventory retrieval.
|
GlacierJobDescription.Builder |
inventoryRetrievalParameters(InventoryRetrievalJobDescription inventoryRetrievalParameters)
Parameters used for range inventory retrieval.
|
GlacierJobDescription.Builder |
inventorySizeInBytes(Long inventorySizeInBytes)
For an inventory retrieval job, this value is the size in bytes of the inventory requested for download.
|
GlacierJobDescription.Builder |
jobDescription(String jobDescription)
The job description provided when initiating the job.
|
GlacierJobDescription.Builder |
jobId(String jobId)
An opaque string that identifies an Amazon Glacier job.
|
GlacierJobDescription.Builder |
jobOutputPath(String jobOutputPath)
Contains the job output location.
|
default GlacierJobDescription.Builder |
outputLocation(Consumer<OutputLocation.Builder> outputLocation)
Contains the location where the data from the select job is stored.
|
GlacierJobDescription.Builder |
outputLocation(OutputLocation outputLocation)
Contains the location where the data from the select job is stored.
|
GlacierJobDescription.Builder |
retrievalByteRange(String retrievalByteRange)
The retrieved byte range for archive retrieval jobs in the form StartByteValue-EndByteValue.
|
default GlacierJobDescription.Builder |
selectParameters(Consumer<SelectParameters.Builder> selectParameters)
Contains the parameters used for a select.
|
GlacierJobDescription.Builder |
selectParameters(SelectParameters selectParameters)
Contains the parameters used for a select.
|
GlacierJobDescription.Builder |
sha256TreeHash(String sha256TreeHash)
For an archive retrieval job, this value is the checksum of the archive.
|
GlacierJobDescription.Builder |
snsTopic(String snsTopic)
An Amazon SNS topic that receives notification.
|
GlacierJobDescription.Builder |
statusCode(StatusCode statusCode)
The status code can be
InProgress , Succeeded , or Failed , and indicates
the status of the job. |
GlacierJobDescription.Builder |
statusCode(String statusCode)
The status code can be
InProgress , Succeeded , or Failed , and indicates
the status of the job. |
GlacierJobDescription.Builder |
statusMessage(String statusMessage)
A friendly message that describes the job status.
|
GlacierJobDescription.Builder |
tier(String tier)
The tier to use for a select or an archive retrieval.
|
GlacierJobDescription.Builder |
vaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault from which an archive retrieval was requested.
|
copy
applyMutation, build
GlacierJobDescription.Builder jobId(String jobId)
An opaque string that identifies an Amazon Glacier job.
jobId
- An opaque string that identifies an Amazon Glacier job.GlacierJobDescription.Builder jobDescription(String jobDescription)
The job description provided when initiating the job.
jobDescription
- The job description provided when initiating the job.GlacierJobDescription.Builder action(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
,
ActionCode
GlacierJobDescription.Builder action(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
,
ActionCode
GlacierJobDescription.Builder archiveId(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.GlacierJobDescription.Builder vaultARN(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.GlacierJobDescription.Builder creationDate(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"
.GlacierJobDescription.Builder completed(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).GlacierJobDescription.Builder statusCode(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
,
StatusCode
GlacierJobDescription.Builder statusCode(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
,
StatusCode
GlacierJobDescription.Builder statusMessage(String statusMessage)
A friendly message that describes the job status.
statusMessage
- A friendly message that describes the job status.GlacierJobDescription.Builder archiveSizeInBytes(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.GlacierJobDescription.Builder inventorySizeInBytes(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.GlacierJobDescription.Builder snsTopic(String snsTopic)
An Amazon SNS topic that receives notification.
snsTopic
- An Amazon SNS topic that receives notification.GlacierJobDescription.Builder completionDate(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.GlacierJobDescription.Builder sha256TreeHash(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
GlacierJobDescription.Builder archiveSHA256TreeHash(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.GlacierJobDescription.Builder retrievalByteRange(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.GlacierJobDescription.Builder tier(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.GlacierJobDescription.Builder inventoryRetrievalParameters(InventoryRetrievalJobDescription inventoryRetrievalParameters)
Parameters used for range inventory retrieval.
inventoryRetrievalParameters
- Parameters used for range inventory retrieval.default GlacierJobDescription.Builder inventoryRetrievalParameters(Consumer<InventoryRetrievalJobDescription.Builder> inventoryRetrievalParameters)
Parameters used for range inventory retrieval.
This is a convenience that creates an instance of theInventoryRetrievalJobDescription.Builder
avoiding the need to create one manually via InventoryRetrievalJobDescription.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called
immediately and its result is passed to
inventoryRetrievalParameters(InventoryRetrievalJobDescription)
.inventoryRetrievalParameters
- a consumer that will call methods on InventoryRetrievalJobDescription.Builder
inventoryRetrievalParameters(InventoryRetrievalJobDescription)
GlacierJobDescription.Builder jobOutputPath(String jobOutputPath)
Contains the job output location.
jobOutputPath
- Contains the job output location.GlacierJobDescription.Builder selectParameters(SelectParameters selectParameters)
Contains the parameters used for a select.
selectParameters
- Contains the parameters used for a select.default GlacierJobDescription.Builder selectParameters(Consumer<SelectParameters.Builder> selectParameters)
Contains the parameters used for a select.
This is a convenience that creates an instance of theSelectParameters.Builder
avoiding the need to
create one manually via SelectParameters.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to selectParameters(SelectParameters)
.selectParameters
- a consumer that will call methods on SelectParameters.Builder
selectParameters(SelectParameters)
GlacierJobDescription.Builder outputLocation(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.default GlacierJobDescription.Builder outputLocation(Consumer<OutputLocation.Builder> outputLocation)
Contains the location where the data from the select job is stored.
This is a convenience that creates an instance of theOutputLocation.Builder
avoiding the need to
create one manually via OutputLocation.builder()
.
When the Consumer
completes, SdkBuilder.build()
is called immediately and its
result is passed to outputLocation(OutputLocation)
.outputLocation
- a consumer that will call methods on OutputLocation.Builder
outputLocation(OutputLocation)
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.