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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UploadListElement()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description UploadListElement
clone()
boolean
equals(Object obj)
String
getArchiveDescription()
The description of the archive that was specified in the Initiate Multipart Upload request.String
getCreationDate()
The UTC time at which the multipart upload was initiated.String
getMultipartUploadId()
The ID of a multipart upload.Long
getPartSizeInBytes()
The part size, in bytes, specified in the Initiate Multipart Upload request.String
getVaultARN()
The Amazon Resource Name (ARN) of the vault that contains the archive.int
hashCode()
void
setArchiveDescription(String archiveDescription)
The description of the archive that was specified in the Initiate Multipart Upload request.void
setCreationDate(String creationDate)
The UTC time at which the multipart upload was initiated.void
setMultipartUploadId(String multipartUploadId)
The ID of a multipart upload.void
setPartSizeInBytes(Long partSizeInBytes)
The part size, in bytes, specified in the Initiate Multipart Upload request.void
setVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault that contains the archive.String
toString()
Returns a string representation of this object; useful for testing and debugging.UploadListElement
withArchiveDescription(String archiveDescription)
The description of the archive that was specified in the Initiate Multipart Upload request.UploadListElement
withCreationDate(String creationDate)
The UTC time at which the multipart upload was initiated.UploadListElement
withMultipartUploadId(String multipartUploadId)
The ID of a multipart upload.UploadListElement
withPartSizeInBytes(Long partSizeInBytes)
The part size, in bytes, specified in the Initiate Multipart Upload request.UploadListElement
withVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault that contains the archive.
-
-
-
Method Detail
-
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 classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public UploadListElement clone()
-
-