Interface UploadArchiveRequest.Builder
- All Superinterfaces:
- AwsRequest.Builder,- Buildable,- CopyableBuilder<UploadArchiveRequest.Builder,,- UploadArchiveRequest> - GlacierRequest.Builder,- SdkBuilder<UploadArchiveRequest.Builder,,- UploadArchiveRequest> - SdkPojo,- SdkRequest.Builder
- Enclosing class:
- UploadArchiveRequest
@Mutable
@NotThreadSafe
public static interface UploadArchiveRequest.Builder
extends GlacierRequest.Builder, SdkPojo, CopyableBuilder<UploadArchiveRequest.Builder,UploadArchiveRequest> 
- 
Method SummaryModifier and TypeMethodDescriptionTheAccountIdvalue is the AWS account ID of the account that owns the vault.archiveDescription(String archiveDescription) The optional description of the archive you are uploading.The SHA256 tree hash of the data being uploaded.contentLength(Long contentLength) The content length of the archive to upload.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.The name of the vault.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.BuilderoverrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.services.glacier.model.GlacierRequest.BuilderbuildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
vaultNameThe 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.
 
- 
accountIdThe 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- 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.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
archiveDescriptionThe 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.
 
- 
checksumThe 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.
 
- 
contentLengthThe 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.
 
- 
overrideConfigurationUploadArchiveRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- overrideConfiguration- The override configuration.
- Returns:
- This object for method chaining.
 
- 
overrideConfigurationUploadArchiveRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
- overrideConfigurationin interface- AwsRequest.Builder
- Parameters:
- builderConsumer- A- Consumerto which an empty- AwsRequestOverrideConfiguration.Builderwill be given.
- Returns:
- This object for method chaining.
 
 
-