Class UploadListElement

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

public class UploadListElement extends Object implements Serializable, Cloneable

A list of in-progress multipart uploads for a vault.

See Also:
  • Constructor Details

    • UploadListElement

      public UploadListElement()
  • Method Details

    • setMultipartUploadId

      public void setMultipartUploadId(String multipartUploadId)

      The ID of a multipart upload.

      Parameters:
      multipartUploadId - The ID of a multipart upload.
    • getMultipartUploadId

      public String getMultipartUploadId()

      The ID of a multipart upload.

      Returns:
      The ID of a multipart upload.
    • withMultipartUploadId

      public UploadListElement withMultipartUploadId(String multipartUploadId)

      The ID of a multipart upload.

      Parameters:
      multipartUploadId - The ID of a multipart upload.
      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 that contains the archive.

      Parameters:
      vaultARN - The Amazon Resource Name (ARN) of the vault that contains the archive.
    • getVaultARN

      public String getVaultARN()

      The Amazon Resource Name (ARN) of the vault that contains the archive.

      Returns:
      The Amazon Resource Name (ARN) of the vault that contains the archive.
    • withVaultARN

      public UploadListElement withVaultARN(String vaultARN)

      The Amazon Resource Name (ARN) of the vault that contains the archive.

      Parameters:
      vaultARN - The Amazon Resource Name (ARN) of the vault that contains the archive.
      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 UploadListElement 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, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.

      Parameters:
      partSizeInBytes - The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.
    • getPartSizeInBytes

      public Long getPartSizeInBytes()

      The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.

      Returns:
      The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.
    • withPartSizeInBytes

      public UploadListElement withPartSizeInBytes(Long partSizeInBytes)

      The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.

      Parameters:
      partSizeInBytes - The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.
      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 UploadListElement 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.
    • 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 UploadListElement clone()
      Overrides:
      clone in class Object