@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CompleteMultipartUploadResult 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 |
---|
CompleteMultipartUploadResult() |
Modifier and Type | Method and Description |
---|---|
CompleteMultipartUploadResult |
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.
|
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.
|
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 CompleteMultipartUploadResult 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 CompleteMultipartUploadResult 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 CompleteMultipartUploadResult 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 CompleteMultipartUploadResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.