Class ListPartsResult
- java.lang.Object
-
- com.amazonaws.services.glacier.model.ListPartsResult
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ListPartsResult extends Object implements Serializable, Cloneable
Contains the Amazon Glacier response to your request.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ListPartsResult()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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(PartListElement... parts)
A list of the part sizes of the multipart upload.ListPartsResult
withParts(Collection<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.
-
-
-
Method Detail
-
setMultipartUploadId
public void setMultipartUploadId(String multipartUploadId)
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
public String 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
public ListPartsResult withMultipartUploadId(String multipartUploadId)
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
public void setVaultARN(String vaultARN)
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
public String 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
public ListPartsResult withVaultARN(String vaultARN)
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
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 ListPartsResult 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.
- Parameters:
partSizeInBytes
- The part size in bytes.
-
getPartSizeInBytes
public Long getPartSizeInBytes()
The part size in bytes.
- Returns:
- The part size in bytes.
-
withPartSizeInBytes
public ListPartsResult withPartSizeInBytes(Long partSizeInBytes)
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
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 ListPartsResult 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.
-
getParts
public List<PartListElement> getParts()
A list of the part sizes of the multipart upload.
- Returns:
- A list of the part sizes of the multipart upload.
-
setParts
public void setParts(Collection<PartListElement> parts)
A list of the part sizes of the multipart upload.
- Parameters:
parts
- A list of the part sizes of the multipart upload.
-
withParts
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)
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
public ListPartsResult withParts(Collection<PartListElement> parts)
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
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
.- 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
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
.- 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
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
.- 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
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 ListPartsResult clone()
-
-