Class InitiateMultipartUploadResult

java.lang.Object
com.amazonaws.services.glacier.model.InitiateMultipartUploadResult
All Implemented Interfaces:
Serializable, Cloneable

public class InitiateMultipartUploadResult extends Object implements Serializable, Cloneable

The Amazon Glacier response to your request.

See Also:
  • Constructor Details

    • InitiateMultipartUploadResult

      public InitiateMultipartUploadResult()
  • Method Details

    • setLocation

      public void setLocation(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.
    • getLocation

      public 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.
    • withLocation

      public InitiateMultipartUploadResult withLocation(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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setUploadId

      public void setUploadId(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.
    • getUploadId

      public 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.
    • withUploadId

      public InitiateMultipartUploadResult withUploadId(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.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • toString

      public String toString()
      Returns a string representation of this object; useful for testing and debugging.
      Overrides:
      toString in class Object
      Returns:
      A string representation of this object.
      See Also:
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      Overrides:
      clone in class Object