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