Class ListPartsResult
- All Implemented Interfaces:
Serializable
,Cloneable
Contains the Amazon Glacier response to your request.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()
boolean
The description of the archive that was specified in the Initiate Multipart Upload request.The UTC time at which the multipart upload was initiated.An opaque string that represents where to continue pagination of the results.The ID of the upload to which the parts are associated.getParts()
A list of the part sizes of the multipart upload.The part size in bytes.The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.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
An opaque string that represents where to continue pagination of the results.void
setMultipartUploadId
(String multipartUploadId) The ID of the upload to which the parts are associated.void
setParts
(Collection<PartListElement> parts) A list of the part sizes of the multipart upload.void
setPartSizeInBytes
(Long partSizeInBytes) The part size in bytes.void
setVaultARN
(String vaultARN) The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.toString()
Returns a string representation of this object; useful for testing and debugging.withArchiveDescription
(String archiveDescription) The description of the archive that was specified in the Initiate Multipart Upload request.withCreationDate
(String creationDate) The UTC time at which the multipart upload was initiated.withMarker
(String marker) An opaque string that represents where to continue pagination of the results.withMultipartUploadId
(String multipartUploadId) The ID of the upload to which the parts are associated.withParts
(PartListElement... parts) A list of the part sizes of the multipart upload.withParts
(Collection<PartListElement> parts) A list of the part sizes of the multipart upload.withPartSizeInBytes
(Long partSizeInBytes) The part size in bytes.withVaultARN
(String vaultARN) The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.
-
Constructor Details
-
ListPartsResult
public ListPartsResult()
-
-
Method Details
-
setMultipartUploadId
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
The ID of the upload to which the parts are associated.
- Returns:
- The ID of the upload to which the parts are associated.
-
withMultipartUploadId
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
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
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
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
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
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
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
The part size in bytes.
- Parameters:
partSizeInBytes
- The part size in bytes.
-
getPartSizeInBytes
The part size in bytes.
- Returns:
- The part size in bytes.
-
withPartSizeInBytes
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
The UTC time at which the multipart upload was initiated.
- Parameters:
creationDate
- The UTC time at which the multipart upload was initiated.
-
getCreationDate
The UTC time at which the multipart upload was initiated.
- Returns:
- The UTC time at which the multipart upload was initiated.
-
withCreationDate
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
A list of the part sizes of the multipart upload.
- Returns:
- A list of the part sizes of the multipart upload.
-
setParts
A list of the part sizes of the multipart upload.
- Parameters:
parts
- A list of the part sizes of the multipart upload.
-
withParts
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)
orwithParts(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
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
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 isnull
.
-
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
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 isnull
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-