|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.glacier.model.UploadArchiveResult
public class UploadArchiveResult
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 .
Constructor Summary | |
---|---|
UploadArchiveResult()
|
Method Summary | |
---|---|
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. |
UploadArchiveResult |
withArchiveId(java.lang.String archiveId)
The ID of the archive. |
UploadArchiveResult |
withChecksum(java.lang.String checksum)
The checksum of the archive computed by Amazon Glacier. |
UploadArchiveResult |
withLocation(java.lang.String location)
The relative URI path of the newly added archive resource. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public UploadArchiveResult()
Method Detail |
---|
public java.lang.String getLocation()
public void setLocation(java.lang.String location)
location
- The relative URI path of the newly added archive resource.public UploadArchiveResult withLocation(java.lang.String location)
Returns a reference to this object so that method calls can be chained together.
location
- The relative URI path of the newly added archive resource.
public java.lang.String getChecksum()
public void setChecksum(java.lang.String checksum)
checksum
- The checksum of the archive computed by Amazon Glacier.public UploadArchiveResult withChecksum(java.lang.String checksum)
Returns a reference to this object so that method calls can be chained together.
checksum
- The checksum of the archive computed by Amazon Glacier.
public java.lang.String getArchiveId()
public void setArchiveId(java.lang.String archiveId)
archiveId
- The ID of the archive. This value is also included as part of the
location.public UploadArchiveResult withArchiveId(java.lang.String archiveId)
Returns a reference to this object so that method calls can be chained together.
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 int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |