@Generated(value="software.amazon.awssdk:codegen") public final class UploadArchiveResponse extends GlacierResponse implements ToCopyableBuilder<UploadArchiveResponse.Builder,UploadArchiveResponse>
Contains the Amazon S3 Glacier response to your request.
For information about the underlying REST API, see Upload Archive. For conceptual information, see Working with Archives in Amazon S3 Glacier.
| Modifier and Type | Class and Description |
|---|---|
static interface |
UploadArchiveResponse.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
archiveId()
The ID of the archive.
|
static UploadArchiveResponse.Builder |
builder() |
String |
checksum()
The checksum of the archive computed by Amazon S3 Glacier.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
location()
The relative URI path of the newly added archive resource.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UploadArchiveResponse.Builder> |
serializableBuilderClass() |
UploadArchiveResponse.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
responseMetadatasdkHttpResponseclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String location()
The relative URI path of the newly added archive resource.
public final String checksum()
The checksum of the archive computed by Amazon S3 Glacier.
public final String archiveId()
The ID of the archive. This value is also included as part of the location.
public UploadArchiveResponse.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UploadArchiveResponse.Builder,UploadArchiveResponse>toBuilder in class AwsResponsepublic static UploadArchiveResponse.Builder builder()
public static Class<? extends UploadArchiveResponse.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsResponsepublic final boolean equals(Object obj)
equals in class AwsResponsepublic 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 SdkResponseCopyright © 2023. All rights reserved.