Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.glacier.model
Class UploadArchiveResult

java.lang.Object
  extended by com.amazonaws.services.glacier.model.UploadArchiveResult
All Implemented Interfaces:
java.io.Serializable

public class UploadArchiveResult
extends java.lang.Object
implements java.io.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 .

See Also:
Serialized Form

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

UploadArchiveResult

public UploadArchiveResult()
Method Detail

getLocation

public java.lang.String getLocation()
The relative URI path of the newly added archive resource.

Returns:
The relative URI path of the newly added archive resource.

setLocation

public void setLocation(java.lang.String location)
The relative URI path of the newly added archive resource.

Parameters:
location - The relative URI path of the newly added archive resource.

withLocation

public UploadArchiveResult withLocation(java.lang.String location)
The relative URI path of the newly added archive resource.

Returns a reference to this object so that method calls can be chained together.

Parameters:
location - The relative URI path of the newly added archive resource.
Returns:
A reference to this updated object so that method calls can be chained together.

getChecksum

public java.lang.String getChecksum()
The checksum of the archive computed by Amazon Glacier.

Returns:
The checksum of the archive computed by Amazon Glacier.

setChecksum

public void setChecksum(java.lang.String checksum)
The checksum of the archive computed by Amazon Glacier.

Parameters:
checksum - The checksum of the archive computed by Amazon Glacier.

withChecksum

public UploadArchiveResult withChecksum(java.lang.String checksum)
The checksum of the archive computed by Amazon Glacier.

Returns a reference to this object so that method calls can be chained together.

Parameters:
checksum - The checksum of the archive computed by Amazon Glacier.
Returns:
A reference to this updated object so that method calls can be chained together.

getArchiveId

public java.lang.String getArchiveId()
The ID of the archive. This value is also included as part of the location.

Returns:
The ID of the archive. This value is also included as part of the location.

setArchiveId

public void setArchiveId(java.lang.String archiveId)
The ID of the archive. This value is also included as part of the location.

Parameters:
archiveId - The ID of the archive. This value is also included as part of the location.

withArchiveId

public UploadArchiveResult withArchiveId(java.lang.String archiveId)
The ID of the archive. This value is also included as part of the location.

Returns a reference to this object so that method calls can be chained together.

Parameters:
archiveId - The ID of the archive. This value is also included as part of the location.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.