@Generated(value="software.amazon.awssdk:codegen") public final class CompleteMultipartUploadRequest extends GlacierRequest implements ToCopyableBuilder<CompleteMultipartUploadRequest.Builder,CompleteMultipartUploadRequest>
Provides options to complete a multipart upload operation. This informs Amazon Glacier that all the archive parts have been uploaded and Amazon S3 Glacier (Glacier) can now assemble the archive from the uploaded parts. After assembling and saving the archive to the vault, Glacier returns the URI path of the newly created archive resource.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CompleteMultipartUploadRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
accountId()
The
AccountId value is the AWS account ID of the account that owns the vault. |
String |
archiveSize()
The total size, in bytes, of the entire archive.
|
static CompleteMultipartUploadRequest.Builder |
builder() |
String |
checksum()
The SHA256 tree hash of the entire archive.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends CompleteMultipartUploadRequest.Builder> |
serializableBuilderClass() |
CompleteMultipartUploadRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
String |
uploadId()
The upload ID of the multipart upload.
|
String |
vaultName()
The name of the vault.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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 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.
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 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.public final String vaultName()
The name of the vault.
public final String uploadId()
The upload ID of the multipart upload.
public final 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.
public final 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.
public CompleteMultipartUploadRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CompleteMultipartUploadRequest.Builder,CompleteMultipartUploadRequest>toBuilder in class GlacierRequestpublic static CompleteMultipartUploadRequest.Builder builder()
public static Class<? extends CompleteMultipartUploadRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2023. All rights reserved.