Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.glacier.model
Class ListPartsResult

java.lang.Object
  extended by com.amazonaws.services.glacier.model.ListPartsResult
All Implemented Interfaces:
java.io.Serializable

public class ListPartsResult
extends java.lang.Object
implements java.io.Serializable

Contains the Amazon Glacier response to your request.

See Also:
Serialized Form

Constructor Summary
ListPartsResult()
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ListPartsResult

public ListPartsResult()
Method Detail

getMultipartUploadId

public java.lang.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.

setMultipartUploadId

public void setMultipartUploadId(java.lang.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.

withMultipartUploadId

public ListPartsResult withMultipartUploadId(java.lang.String multipartUploadId)
The ID of the upload to which the parts are associated.

Returns a reference to this object so that method calls can be chained together.

Parameters:
multipartUploadId - The ID of the upload to which the parts are associated.
Returns:
A reference to this updated object so that method calls can be chained together.

getVaultARN

public java.lang.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.

setVaultARN

public void setVaultARN(java.lang.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.

withVaultARN

public ListPartsResult withVaultARN(java.lang.String vaultARN)
The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.

Returns a reference to this object so that method calls can be chained together.

Parameters:
vaultARN - The Amazon Resource Name (ARN) of the vault to which the multipart upload was initiated.
Returns:
A reference to this updated object so that method calls can be chained together.

getArchiveDescription

public java.lang.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.

setArchiveDescription

public void setArchiveDescription(java.lang.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.

withArchiveDescription

public ListPartsResult withArchiveDescription(java.lang.String archiveDescription)
The description of the archive that was specified in the Initiate Multipart Upload request.

Returns a reference to this object so that method calls can be chained together.

Parameters:
archiveDescription - The description of the archive that was specified in the Initiate Multipart Upload request.
Returns:
A reference to this updated object so that method calls can be chained together.

getPartSizeInBytes

public java.lang.Long getPartSizeInBytes()
The part size in bytes.

Returns:
The part size in bytes.

setPartSizeInBytes

public void setPartSizeInBytes(java.lang.Long partSizeInBytes)
The part size in bytes.

Parameters:
partSizeInBytes - The part size in bytes.

withPartSizeInBytes

public ListPartsResult withPartSizeInBytes(java.lang.Long partSizeInBytes)
The part size in bytes.

Returns a reference to this object so that method calls can be chained together.

Parameters:
partSizeInBytes - The part size in bytes.
Returns:
A reference to this updated object so that method calls can be chained together.

getCreationDate

public java.lang.String getCreationDate()
The UTC time at which the multipart upload was initiated.

Returns:
The UTC time at which the multipart upload was initiated.

setCreationDate

public void setCreationDate(java.lang.String creationDate)
The UTC time at which the multipart upload was initiated.

Parameters:
creationDate - The UTC time at which the multipart upload was initiated.

withCreationDate

public ListPartsResult withCreationDate(java.lang.String creationDate)
The UTC time at which the multipart upload was initiated.

Returns a reference to this object so that method calls can be chained together.

Parameters:
creationDate - The UTC time at which the multipart upload was initiated.
Returns:
A reference to this updated object so that method calls can be chained together.

getParts

public java.util.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(java.util.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.

Returns a reference to this object so that method calls can be chained together.

Parameters:
parts - A list of the part sizes of the multipart upload.
Returns:
A reference to this updated object so that method calls can be chained together.

withParts

public ListPartsResult withParts(java.util.Collection<PartListElement> parts)
A list of the part sizes of the multipart upload.

Returns a reference to this object so that method calls can be chained together.

Parameters:
parts - A list of the part sizes of the multipart upload.
Returns:
A reference to this updated object so that method calls can be chained together.

getMarker

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.

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.

setMarker

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.

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 is null.

withMarker

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.

Returns a reference to this object so that method calls can be chained together.

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 is null.
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.