Interface CompleteMultipartUploadRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CompleteMultipartUploadRequest.Builder,CompleteMultipartUploadRequest>,GlacierRequest.Builder,SdkBuilder<CompleteMultipartUploadRequest.Builder,CompleteMultipartUploadRequest>,SdkPojo,SdkRequest.Builder
- Enclosing class:
- CompleteMultipartUploadRequest
public static interface CompleteMultipartUploadRequest.Builder extends GlacierRequest.Builder, SdkPojo, CopyableBuilder<CompleteMultipartUploadRequest.Builder,CompleteMultipartUploadRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CompleteMultipartUploadRequest.BuilderaccountId(String accountId)TheAccountIdvalue is the AWS account ID of the account that owns the vault.CompleteMultipartUploadRequest.BuilderarchiveSize(String archiveSize)The total size, in bytes, of the entire archive.CompleteMultipartUploadRequest.Builderchecksum(String checksum)The SHA256 tree hash of the entire archive.CompleteMultipartUploadRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)CompleteMultipartUploadRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)CompleteMultipartUploadRequest.BuilderuploadId(String uploadId)The upload ID of the multipart upload.CompleteMultipartUploadRequest.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
-
accountId
CompleteMultipartUploadRequest.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.
-
vaultName
CompleteMultipartUploadRequest.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.
-
uploadId
CompleteMultipartUploadRequest.Builder uploadId(String uploadId)
The upload ID of the multipart upload.
- Parameters:
uploadId- The upload ID of the multipart upload.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
archiveSize
CompleteMultipartUploadRequest.Builder archiveSize(String archiveSize)
The total size, in bytes, of the entire archive. This value should be the sum of all the sizes of the individual parts that you uploaded.
- Parameters:
archiveSize- The total size, in bytes, of the entire archive. This value should be the sum of all the sizes of the individual parts that you uploaded.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
checksum
CompleteMultipartUploadRequest.Builder checksum(String checksum)
The SHA256 tree hash of the entire archive. It is the tree hash of SHA256 tree hash of the individual parts. If the value you specify in the request does not match the SHA256 tree hash of the final assembled archive as computed by Amazon S3 Glacier (Glacier), Glacier returns an error and the request fails.
- Parameters:
checksum- The SHA256 tree hash of the entire archive. It is the tree hash of SHA256 tree hash of the individual parts. If the value you specify in the request does not match the SHA256 tree hash of the final assembled archive as computed by Amazon S3 Glacier (Glacier), Glacier returns an error and the request fails.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CompleteMultipartUploadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
CompleteMultipartUploadRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-