@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UploadArchiveResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Contains the Amazon S3 Glacier response to your request.
For information about the underlying REST API, see Upload Archive. For conceptual information, see Working with Archives in Amazon S3 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 S3 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 S3 Glacier.
|
void |
setLocation(String location)
The relative URI path of the newly added archive resource.
|
String |
toString()
Returns a string representation of this object.
|
UploadArchiveResult |
withArchiveId(String archiveId)
The ID of the archive.
|
UploadArchiveResult |
withChecksum(String checksum)
The checksum of the archive computed by Amazon S3 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 S3 Glacier.
checksum
- The checksum of the archive computed by Amazon S3 Glacier.public String getChecksum()
The checksum of the archive computed by Amazon S3 Glacier.
public UploadArchiveResult withChecksum(String checksum)
The checksum of the archive computed by Amazon S3 Glacier.
checksum
- The checksum of the archive computed by Amazon S3 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()