Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.glacier.model
Class InitiateMultipartUploadResult

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

public class InitiateMultipartUploadResult
extends java.lang.Object
implements java.io.Serializable

Contains the Amazon Glacier response to your request.

See Also:
Serialized Form

Constructor Summary
InitiateMultipartUploadResult()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getLocation()
          The relative URI path of the multipart upload ID Amazon Glacier created.
 java.lang.String getUploadId()
          The ID of the multipart upload.
 int hashCode()
           
 void setLocation(java.lang.String location)
          The relative URI path of the multipart upload ID Amazon Glacier created.
 void setUploadId(java.lang.String uploadId)
          The ID of the multipart upload.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 InitiateMultipartUploadResult withLocation(java.lang.String location)
          The relative URI path of the multipart upload ID Amazon Glacier created.
 InitiateMultipartUploadResult withUploadId(java.lang.String uploadId)
          The ID of the multipart upload.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InitiateMultipartUploadResult

public InitiateMultipartUploadResult()
Method Detail

getLocation

public java.lang.String getLocation()
The relative URI path of the multipart upload ID Amazon Glacier created.

Returns:
The relative URI path of the multipart upload ID Amazon Glacier created.

setLocation

public void setLocation(java.lang.String location)
The relative URI path of the multipart upload ID Amazon Glacier created.

Parameters:
location - The relative URI path of the multipart upload ID Amazon Glacier created.

withLocation

public InitiateMultipartUploadResult withLocation(java.lang.String location)
The relative URI path of the multipart upload ID Amazon Glacier created.

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

Parameters:
location - The relative URI path of the multipart upload ID Amazon Glacier created.
Returns:
A reference to this updated object so that method calls can be chained together.

getUploadId

public java.lang.String getUploadId()
The ID of the multipart upload. This value is also included as part of the location.

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

setUploadId

public void setUploadId(java.lang.String uploadId)
The ID of the multipart upload. This value is also included as part of the location.

Parameters:
uploadId - The ID of the multipart upload. This value is also included as part of the location.

withUploadId

public InitiateMultipartUploadResult withUploadId(java.lang.String uploadId)
The ID of the multipart upload. 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:
uploadId - The ID of the multipart upload. 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.