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 String getMultipartUploadId()
public void setMultipartUploadId(String multipartUploadId)
multipartUploadId - The ID of the upload to which the parts are associated.public ListPartsResult withMultipartUploadId(String multipartUploadId)
Returns a reference to this object so that method calls can be chained together.
multipartUploadId - The ID of the upload to which the parts are associated.public String getVaultARN()
public void setVaultARN(String vaultARN)
vaultARN - The Amazon Resource Name (ARN) of the vault to which the multipart
upload was initiated.public ListPartsResult withVaultARN(String vaultARN)
Returns a reference to this object so that method calls can be chained together.
vaultARN - The Amazon Resource Name (ARN) of the vault to which the multipart
upload was initiated.public String getArchiveDescription()
public void setArchiveDescription(String archiveDescription)
archiveDescription - The description of the archive that was specified in the Initiate
Multipart Upload request.public ListPartsResult withArchiveDescription(String archiveDescription)
Returns a reference to this object so that method calls can be chained together.
archiveDescription - The description of the archive that was specified in the Initiate
Multipart Upload request.public Long getPartSizeInBytes()
public void setPartSizeInBytes(Long partSizeInBytes)
partSizeInBytes - The part size in bytes.public ListPartsResult withPartSizeInBytes(Long partSizeInBytes)
Returns a reference to this object so that method calls can be chained together.
partSizeInBytes - The part size in bytes.public String getCreationDate()
public void setCreationDate(String creationDate)
creationDate - The UTC time at which the multipart upload was initiated.public ListPartsResult withCreationDate(String creationDate)
Returns a reference to this object so that method calls can be chained together.
creationDate - The UTC time at which the multipart upload was initiated.public List<PartListElement> getParts()
public void setParts(Collection<PartListElement> parts)
parts - A list of the part sizes of the multipart upload.public ListPartsResult withParts(PartListElement... parts)
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.
Returns a reference to this object so that method calls can be chained together.
parts - A list of the part sizes of the multipart upload.public ListPartsResult withParts(Collection<PartListElement> parts)
Returns a reference to this object so that method calls can be chained together.
parts - A list of the part sizes of the multipart upload.public String getMarker()
null.null.public void setMarker(String marker)
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 ListPartsResult withMarker(String marker)
null.
Returns a reference to this object so that method calls can be chained together.
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 ObjectObject.toString()public ListPartsResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.