@Generated(value="software.amazon.awssdk:codegen") public final class InitiateMultipartUploadRequest extends GlacierRequest implements ToCopyableBuilder<InitiateMultipartUploadRequest.Builder,InitiateMultipartUploadRequest>
Provides options for initiating a multipart upload to an Amazon S3 Glacier vault.
| Modifier and Type | Class and Description |
|---|---|
static interface |
InitiateMultipartUploadRequest.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 |
archiveDescription()
The archive description that you are uploading in parts.
|
static InitiateMultipartUploadRequest.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
partSize()
The size of each part except the last, in bytes.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends InitiateMultipartUploadRequest.Builder> |
serializableBuilderClass() |
InitiateMultipartUploadRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
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 archiveDescription()
The archive description that you are uploading in parts.
The part size must be a megabyte (1024 KB) multiplied by a power of 2, for example 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).
The part size must be a megabyte (1024 KB) multiplied by a power of 2, for example 1048576 (1 MB), 2097152 (2 MB), 4194304 (4 MB), 8388608 (8 MB), and so on. The minimum allowable part size is 1 MB, and the maximum is 4 GB (4096 MB).
public final String partSize()
The size of each part except the last, in bytes. The last part can be smaller than this part size.
public InitiateMultipartUploadRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<InitiateMultipartUploadRequest.Builder,InitiateMultipartUploadRequest>toBuilder in class GlacierRequestpublic static InitiateMultipartUploadRequest.Builder builder()
public static Class<? extends InitiateMultipartUploadRequest.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.