@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UploadArchiveResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the Amazon Glacier response to your request.
For information about the underlying REST API, see Upload Archive. For conceptual information, see Working with Archives in Amazon Glacier.
Constructor and Description |
---|
UploadArchiveResult() |
Modifier and Type | Method and Description |
---|---|
UploadArchiveResult |
clone() |
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.
|
UploadArchiveResult |
withArchiveId(String archiveId)
The ID of the archive.
|
UploadArchiveResult |
withChecksum(String checksum)
The checksum of the archive computed by Amazon Glacier.
|
UploadArchiveResult |
withLocation(String location)
The relative URI path of the newly added archive resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setLocation(String location)
The relative URI path of the newly added archive resource.
location
- The relative URI path of the newly added archive resource.public String getLocation()
The relative URI path of the newly added archive resource.
public UploadArchiveResult withLocation(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(String checksum)
The checksum of the archive computed by Amazon Glacier.
checksum
- The checksum of the archive computed by Amazon Glacier.public String getChecksum()
The checksum of the archive computed by Amazon Glacier.
public UploadArchiveResult withChecksum(String checksum)
The checksum of the archive computed by Amazon Glacier.
checksum
- The checksum of the archive computed by Amazon Glacier.public void setArchiveId(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 String getArchiveId()
The ID of the archive. This value is also included as part of the location.
public UploadArchiveResult withArchiveId(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 String toString()
toString
in class Object
Object.toString()
public UploadArchiveResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.