public static interface UploadArchiveRequest.Builder extends GlacierRequest.Builder, CopyableBuilder<UploadArchiveRequest.Builder,UploadArchiveRequest>
Modifier and Type | Method and Description |
---|---|
UploadArchiveRequest.Builder |
accountId(String accountId)
The
AccountId value is the AWS account ID of the account that owns the vault. |
UploadArchiveRequest.Builder |
archiveDescription(String archiveDescription)
The optional description of the archive you are uploading.
|
UploadArchiveRequest.Builder |
checksum(String checksum)
The SHA256 tree hash of the data being uploaded.
|
UploadArchiveRequest.Builder |
contentLength(Long contentLength)
The content length of the archive to upload.
|
UploadArchiveRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UploadArchiveRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UploadArchiveRequest.Builder |
vaultName(String vaultName)
The name of the vault.
|
build
overrideConfiguration
copy
applyMutation, build
UploadArchiveRequest.Builder vaultName(String vaultName)
The name of the vault.
vaultName
- The name of the vault.UploadArchiveRequest.Builder accountId(String accountId)
The AccountId
value is the AWS account ID of the account that owns the vault. You can either
specify an AWS account ID or optionally a single '-
' (hyphen), in which case Amazon Glacier uses
the AWS account ID associated with the credentials used to sign the request. If you use an account ID, do not
include any hyphens ('-') in the ID.
accountId
- The AccountId
value is the AWS account ID of the account that owns the vault. You can
either specify an AWS account ID or optionally a single '-
' (hyphen), in which case
Amazon Glacier uses the AWS account ID associated with the credentials used to sign the request. If
you use an account ID, do not include any hyphens ('-') in the ID.UploadArchiveRequest.Builder archiveDescription(String archiveDescription)
The optional description of the archive you are uploading.
archiveDescription
- The optional description of the archive you are uploading.UploadArchiveRequest.Builder checksum(String checksum)
The SHA256 tree hash of the data being uploaded.
checksum
- The SHA256 tree hash of the data being uploaded.UploadArchiveRequest.Builder contentLength(Long contentLength)
contentLength
- The content length of the archive to upload.UploadArchiveRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UploadArchiveRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.