public class CompleteMultipartUploadResult
extends java.lang.Object
implements java.io.Serializable, java.lang.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.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
archiveId
The ID of the archive.
|
private java.lang.String |
checksum
The checksum of the archive computed by Amazon Glacier.
|
private java.lang.String |
location
The relative URI path of the newly added archive resource.
|
Constructor and Description |
---|
CompleteMultipartUploadResult() |
Modifier and Type | Method and Description |
---|---|
CompleteMultipartUploadResult |
clone() |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getArchiveId()
The ID of the archive.
|
java.lang.String |
getChecksum()
The checksum of the archive computed by Amazon Glacier.
|
java.lang.String |
getLocation()
The relative URI path of the newly added archive resource.
|
int |
hashCode() |
void |
setArchiveId(java.lang.String archiveId)
The ID of the archive.
|
void |
setChecksum(java.lang.String checksum)
The checksum of the archive computed by Amazon Glacier.
|
void |
setLocation(java.lang.String location)
The relative URI path of the newly added archive resource.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CompleteMultipartUploadResult |
withArchiveId(java.lang.String archiveId)
The ID of the archive.
|
CompleteMultipartUploadResult |
withChecksum(java.lang.String checksum)
The checksum of the archive computed by Amazon Glacier.
|
CompleteMultipartUploadResult |
withLocation(java.lang.String location)
The relative URI path of the newly added archive resource.
|
private java.lang.String location
The relative URI path of the newly added archive resource.
private java.lang.String checksum
The checksum of the archive computed by Amazon Glacier.
private java.lang.String archiveId
The ID of the archive. This value is also included as part of the location.
public void setLocation(java.lang.String location)
The relative URI path of the newly added archive resource.
location
- The relative URI path of the newly added archive resource.public java.lang.String getLocation()
The relative URI path of the newly added archive resource.
public CompleteMultipartUploadResult withLocation(java.lang.String location)
The relative URI path of the newly added archive resource.
location
- The relative URI path of the newly added archive resource.public void setChecksum(java.lang.String checksum)
The checksum of the archive computed by Amazon Glacier.
checksum
- The checksum of the archive computed by Amazon Glacier.public java.lang.String getChecksum()
The checksum of the archive computed by Amazon Glacier.
public CompleteMultipartUploadResult withChecksum(java.lang.String checksum)
The checksum of the archive computed by Amazon Glacier.
checksum
- The checksum of the archive computed by Amazon Glacier.public void setArchiveId(java.lang.String archiveId)
The ID of the archive. This value is also included as part of the location.
archiveId
- The ID of the archive. This value is also included as part of the
location.public java.lang.String getArchiveId()
The ID of the archive. This value is also included as part of the location.
public CompleteMultipartUploadResult withArchiveId(java.lang.String archiveId)
The ID of the archive. This value is also included as part of the location.
archiveId
- The ID of the archive. This value is also included as part of the
location.public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public CompleteMultipartUploadResult clone()
clone
in class java.lang.Object