public class ListPartsResult extends Object implements Serializable, Cloneable
Contains the Amazon Glacier response to your request.
Constructor and Description |
---|
ListPartsResult() |
Modifier and Type | Method and Description |
---|---|
ListPartsResult |
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 |
getMarker()
An opaque string that represents where to continue pagination of the
results.
|
String |
getMultipartUploadId()
The ID of the upload to which the parts are associated.
|
List<PartListElement> |
getParts()
A list of the part sizes of the multipart upload.
|
Long |
getPartSizeInBytes()
The part size in bytes.
|
String |
getVaultARN()
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 |
setMarker(String marker)
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.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListPartsResult |
withArchiveDescription(String archiveDescription)
The description of the archive that was specified in the Initiate
Multipart Upload request.
|
ListPartsResult |
withCreationDate(String creationDate)
The UTC time at which the multipart upload was initiated.
|
ListPartsResult |
withMarker(String marker)
An opaque string that represents where to continue pagination of the
results.
|
ListPartsResult |
withMultipartUploadId(String multipartUploadId)
The ID of the upload to which the parts are associated.
|
ListPartsResult |
withParts(Collection<PartListElement> parts)
A list of the part sizes of the multipart upload.
|
ListPartsResult |
withParts(PartListElement... parts)
A list of the part sizes of the multipart upload.
|
ListPartsResult |
withPartSizeInBytes(Long partSizeInBytes)
The part size in bytes.
|
ListPartsResult |
withVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault to which the multipart upload
was initiated.
|
public void setMultipartUploadId(String multipartUploadId)
The ID of the upload to which the parts are associated.
multipartUploadId
- The ID of the upload to which the parts are associated.public String getMultipartUploadId()
The ID of the upload to which the parts are associated.
public ListPartsResult withMultipartUploadId(String multipartUploadId)
The ID of the upload to which the parts are associated.
multipartUploadId
- The ID of the upload to which the parts are associated.public void setVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.
vaultARN
- The Amazon Resource Name (ARN) of the vault to which the multipart
upload was initiated.public String getVaultARN()
The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.
public ListPartsResult withVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.
vaultARN
- The Amazon Resource Name (ARN) of the vault to which the multipart
upload was initiated.public void setArchiveDescription(String archiveDescription)
The description of the archive that was specified in the Initiate Multipart Upload request.
archiveDescription
- The description of the archive that was specified in the Initiate
Multipart Upload request.public String getArchiveDescription()
The description of the archive that was specified in the Initiate Multipart Upload request.
public ListPartsResult withArchiveDescription(String archiveDescription)
The description of the archive that was specified in the Initiate Multipart Upload request.
archiveDescription
- The description of the archive that was specified in the Initiate
Multipart Upload request.public void setPartSizeInBytes(Long partSizeInBytes)
The part size in bytes.
partSizeInBytes
- The part size in bytes.public Long getPartSizeInBytes()
The part size in bytes.
public ListPartsResult withPartSizeInBytes(Long partSizeInBytes)
The part size in bytes.
partSizeInBytes
- The part size in bytes.public void setCreationDate(String creationDate)
The UTC time at which the multipart upload was initiated.
creationDate
- The UTC time at which the multipart upload was initiated.public String getCreationDate()
The UTC time at which the multipart upload was initiated.
public ListPartsResult withCreationDate(String creationDate)
The UTC time at which the multipart upload was initiated.
creationDate
- The UTC time at which the multipart upload was initiated.public List<PartListElement> getParts()
A list of the part sizes of the multipart upload.
public void setParts(Collection<PartListElement> parts)
A list of the part sizes of the multipart upload.
parts
- A list of the part sizes of the multipart upload.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.
parts
- A list of the part sizes of the multipart upload.public ListPartsResult withParts(Collection<PartListElement> parts)
A list of the part sizes of the multipart upload.
parts
- A list of the part sizes of the multipart upload.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
.
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
.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
.
null
.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
.
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
.public String toString()
toString
in class Object
Object.toString()
public ListPartsResult clone()
Copyright © 2018. All rights reserved.