Class UploadArchiveResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.glacier.model.GlacierResponse
-
- software.amazon.awssdk.services.glacier.model.UploadArchiveResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<UploadArchiveResponse.Builder,UploadArchiveResponse>
@Generated("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.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceUploadArchiveResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringarchiveId()The ID of the archive.static UploadArchiveResponse.Builderbuilder()Stringchecksum()The checksum of the archive computed by Amazon S3 Glacier.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringlocation()The relative URI path of the newly added archive resource.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends UploadArchiveResponse.Builder>serializableBuilderClass()UploadArchiveResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.glacier.model.GlacierResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
location
public final String location()
The relative URI path of the newly added archive resource.
- Returns:
- The relative URI path of the newly added archive resource.
-
checksum
public final String checksum()
The checksum of the archive computed by Amazon S3 Glacier.
- Returns:
- The checksum of the archive computed by Amazon S3 Glacier.
-
archiveId
public final String archiveId()
The ID of the archive. This value is also included as part of the location.
- Returns:
- The ID of the archive. This value is also included as part of the location.
-
toBuilder
public UploadArchiveResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<UploadArchiveResponse.Builder,UploadArchiveResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static UploadArchiveResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends UploadArchiveResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-