Interface UploadArchiveRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UploadArchiveRequest.Builder,UploadArchiveRequest>,GlacierRequest.Builder,SdkBuilder<UploadArchiveRequest.Builder,UploadArchiveRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- UploadArchiveRequest
public static interface UploadArchiveRequest.Builder extends GlacierRequest.Builder, SdkPojo, CopyableBuilder<UploadArchiveRequest.Builder,UploadArchiveRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UploadArchiveRequest.BuilderaccountId(String accountId)TheAccountIdvalue is the AWS account ID of the account that owns the vault.UploadArchiveRequest.BuilderarchiveDescription(String archiveDescription)The optional description of the archive you are uploading.UploadArchiveRequest.Builderchecksum(String checksum)The SHA256 tree hash of the data being uploaded.UploadArchiveRequest.BuildercontentLength(Long contentLength)The content length of the archive to upload.UploadArchiveRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UploadArchiveRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UploadArchiveRequest.BuildervaultName(String vaultName)The name of the vault.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.glacier.model.GlacierRequest.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
vaultName
UploadArchiveRequest.Builder vaultName(String vaultName)
The name of the vault.
- Parameters:
vaultName- The name of the vault.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
accountId
UploadArchiveRequest.Builder accountId(String accountId)
The
AccountIdvalue 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 S3 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.- Parameters:
accountId- TheAccountIdvalue 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 S3 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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archiveDescription
UploadArchiveRequest.Builder archiveDescription(String archiveDescription)
The optional description of the archive you are uploading.
- Parameters:
archiveDescription- The optional description of the archive you are uploading.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksum
UploadArchiveRequest.Builder checksum(String checksum)
The SHA256 tree hash of the data being uploaded.
- Parameters:
checksum- The SHA256 tree hash of the data being uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
contentLength
UploadArchiveRequest.Builder contentLength(Long contentLength)
The content length of the archive to upload.- Parameters:
contentLength- The content length of the archive to upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
UploadArchiveRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UploadArchiveRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-