@Generated(value="software.amazon.awssdk:codegen") public final class DeleteArchiveRequest extends GlacierRequest implements ToCopyableBuilder<DeleteArchiveRequest.Builder,DeleteArchiveRequest>
Provides options for deleting an archive from an Amazon S3 Glacier vault.
| Modifier and Type | Class and Description |
|---|---|
static interface |
DeleteArchiveRequest.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 |
archiveId()
The ID of the archive to delete.
|
static DeleteArchiveRequest.Builder |
builder() |
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 DeleteArchiveRequest.Builder> |
serializableBuilderClass() |
DeleteArchiveRequest.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 archiveId()
The ID of the archive to delete.
public DeleteArchiveRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<DeleteArchiveRequest.Builder,DeleteArchiveRequest>toBuilder in class GlacierRequestpublic static DeleteArchiveRequest.Builder builder()
public static Class<? extends DeleteArchiveRequest.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.