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