Class ListPartsResult

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

public class ListPartsResult extends Object implements Serializable, Cloneable

Contains the Amazon Glacier response to your request.

See Also:
  • Constructor Details

    • ListPartsResult

      public ListPartsResult()
  • Method Details

    • setMultipartUploadId

      public void setMultipartUploadId(String multipartUploadId)

      The ID of the upload to which the parts are associated.

      Parameters:
      multipartUploadId - The ID of the upload to which the parts are associated.
    • getMultipartUploadId

      public String getMultipartUploadId()

      The ID of the upload to which the parts are associated.

      Returns:
      The ID of the upload to which the parts are associated.
    • withMultipartUploadId

      public ListPartsResult withMultipartUploadId(String multipartUploadId)

      The ID of the upload to which the parts are associated.

      Parameters:
      multipartUploadId - The ID of the upload to which the parts are associated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setVaultARN

      public void setVaultARN(String vaultARN)

      The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.

      Parameters:
      vaultARN - The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.
    • getVaultARN

      public String getVaultARN()

      The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.

      Returns:
      The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.
    • withVaultARN

      public ListPartsResult withVaultARN(String vaultARN)

      The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.

      Parameters:
      vaultARN - The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setArchiveDescription

      public void setArchiveDescription(String archiveDescription)

      The description of the archive that was specified in the Initiate Multipart Upload request.

      Parameters:
      archiveDescription - The description of the archive that was specified in the Initiate Multipart Upload request.
    • getArchiveDescription

      public String getArchiveDescription()

      The description of the archive that was specified in the Initiate Multipart Upload request.

      Returns:
      The description of the archive that was specified in the Initiate Multipart Upload request.
    • withArchiveDescription

      public ListPartsResult withArchiveDescription(String archiveDescription)

      The description of the archive that was specified in the Initiate Multipart Upload request.

      Parameters:
      archiveDescription - The description of the archive that was specified in the Initiate Multipart Upload request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setPartSizeInBytes

      public void setPartSizeInBytes(Long partSizeInBytes)

      The part size in bytes.

      Parameters:
      partSizeInBytes - The part size in bytes.
    • getPartSizeInBytes

      public Long getPartSizeInBytes()

      The part size in bytes.

      Returns:
      The part size in bytes.
    • withPartSizeInBytes

      public ListPartsResult withPartSizeInBytes(Long partSizeInBytes)

      The part size in bytes.

      Parameters:
      partSizeInBytes - The part size in bytes.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setCreationDate

      public void setCreationDate(String creationDate)

      The UTC time at which the multipart upload was initiated.

      Parameters:
      creationDate - The UTC time at which the multipart upload was initiated.
    • getCreationDate

      public String getCreationDate()

      The UTC time at which the multipart upload was initiated.

      Returns:
      The UTC time at which the multipart upload was initiated.
    • withCreationDate

      public ListPartsResult withCreationDate(String creationDate)

      The UTC time at which the multipart upload was initiated.

      Parameters:
      creationDate - The UTC time at which the multipart upload was initiated.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • getParts

      public List<PartListElement> getParts()

      A list of the part sizes of the multipart upload.

      Returns:
      A list of the part sizes of the multipart upload.
    • setParts

      public void setParts(Collection<PartListElement> parts)

      A list of the part sizes of the multipart upload.

      Parameters:
      parts - A list of the part sizes of the multipart upload.
    • withParts

      public ListPartsResult withParts(PartListElement... parts)

      A list of the part sizes of the multipart upload.

      NOTE: This method appends the values to the existing list (if any). Use setParts(java.util.Collection) or withParts(java.util.Collection) if you want to override the existing values.

      Parameters:
      parts - A list of the part sizes of the multipart upload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • withParts

      public ListPartsResult withParts(Collection<PartListElement> parts)

      A list of the part sizes of the multipart upload.

      Parameters:
      parts - A list of the part sizes of the multipart upload.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • setMarker

      public void setMarker(String marker)

      An opaque string that represents where to continue pagination of the results. You use the marker in a new List Parts request to obtain more jobs in the list. If there are no more parts, this value is null.

      Parameters:
      marker - An opaque string that represents where to continue pagination of the results. You use the marker in a new List Parts request to obtain more jobs in the list. If there are no more parts, this value is null.
    • getMarker

      public String getMarker()

      An opaque string that represents where to continue pagination of the results. You use the marker in a new List Parts request to obtain more jobs in the list. If there are no more parts, this value is null.

      Returns:
      An opaque string that represents where to continue pagination of the results. You use the marker in a new List Parts request to obtain more jobs in the list. If there are no more parts, this value is null.
    • withMarker

      public ListPartsResult withMarker(String marker)

      An opaque string that represents where to continue pagination of the results. You use the marker in a new List Parts request to obtain more jobs in the list. If there are no more parts, this value is null.

      Parameters:
      marker - An opaque string that represents where to continue pagination of the results. You use the marker in a new List Parts request to obtain more jobs in the list. If there are no more parts, this value is null.
      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

      public ListPartsResult clone()
      Overrides:
      clone in class Object