@Generated(value="software.amazon.awssdk:codegen") public final class UploadArchiveRequest extends GlacierRequest implements ToCopyableBuilder<UploadArchiveRequest.Builder,UploadArchiveRequest>
Provides options to add an archive to a vault.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UploadArchiveRequest.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 optional description of the archive you are uploading.
|
static UploadArchiveRequest.Builder |
builder() |
String |
checksum()
The SHA256 tree hash of the data being uploaded.
|
Long |
contentLength()
The content length of the archive to upload.
|
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 UploadArchiveRequest.Builder> |
serializableBuilderClass() |
UploadArchiveRequest.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 vaultName()
The name of the vault.
public 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 archiveDescription()
The optional description of the archive you are uploading.
public final String checksum()
The SHA256 tree hash of the data being uploaded.
public final Long contentLength()
public UploadArchiveRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UploadArchiveRequest.Builder,UploadArchiveRequest>toBuilder in class GlacierRequestpublic static UploadArchiveRequest.Builder builder()
public static Class<? extends UploadArchiveRequest.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.