Class UploadArchiveResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the Amazon Glacier response to your request.
For information about the underlying REST API, go to Upload Archive. For conceptual information, go to Working with Archives in Amazon Glacier.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The ID of the archive.The checksum of the archive computed by Amazon Glacier.The relative URI path of the newly added archive resource.int
hashCode()
void
setArchiveId
(String archiveId) The ID of the archive.void
setChecksum
(String checksum) The checksum of the archive computed by Amazon Glacier.void
setLocation
(String location) The relative URI path of the newly added archive resource.toString()
Returns a string representation of this object; useful for testing and debugging.withArchiveId
(String archiveId) The ID of the archive.withChecksum
(String checksum) The checksum of the archive computed by Amazon Glacier.withLocation
(String location) The relative URI path of the newly added archive resource.
-
Constructor Details
-
UploadArchiveResult
public UploadArchiveResult()
-
-
Method Details
-
setLocation
The relative URI path of the newly added archive resource.
- Parameters:
location
- The relative URI path of the newly added archive resource.
-
getLocation
The relative URI path of the newly added archive resource.
- Returns:
- The relative URI path of the newly added archive resource.
-
withLocation
The relative URI path of the newly added archive resource.
- Parameters:
location
- The relative URI path of the newly added archive resource.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setChecksum
The checksum of the archive computed by Amazon Glacier.
- Parameters:
checksum
- The checksum of the archive computed by Amazon Glacier.
-
getChecksum
The checksum of the archive computed by Amazon Glacier.
- Returns:
- The checksum of the archive computed by Amazon Glacier.
-
withChecksum
The checksum of the archive computed by Amazon Glacier.
- Parameters:
checksum
- The checksum of the archive computed by Amazon Glacier.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setArchiveId
The ID of the archive. This value is also included as part of the location.
- Parameters:
archiveId
- The ID of the archive. This value is also included as part of the location.
-
getArchiveId
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.
-
withArchiveId
The ID of the archive. This value is also included as part of the location.
- Parameters:
archiveId
- The ID of the archive. This value is also included as part of the location.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-