Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.glacier.model
Class UploadListElement

java.lang.Object
  extended by com.amazonaws.services.glacier.model.UploadListElement

public class UploadListElement
extends Object

A list of in-progress multipart uploads for a vault.


Constructor Summary
UploadListElement()
          Default constructor for a new UploadListElement object.
 
Method Summary
 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 getMultipartUploadId()
          The ID of a multipart upload.
 Long getPartSizeInBytes()
          The part size, in bytes, specified in the Initiate Multipart Upload request.
 String getVaultARN()
          The Amazon Resource Name (ARN) of the vault that contains the archive.
 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 setMultipartUploadId(String multipartUploadId)
          The ID of a multipart upload.
 void setPartSizeInBytes(Long partSizeInBytes)
          The part size, in bytes, specified in the Initiate Multipart Upload request.
 void setVaultARN(String vaultARN)
          The Amazon Resource Name (ARN) of the vault that contains the archive.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 UploadListElement withArchiveDescription(String archiveDescription)
          The description of the archive that was specified in the Initiate Multipart Upload request.
 UploadListElement withCreationDate(String creationDate)
          The UTC time at which the multipart upload was initiated.
 UploadListElement withMultipartUploadId(String multipartUploadId)
          The ID of a multipart upload.
 UploadListElement withPartSizeInBytes(Long partSizeInBytes)
          The part size, in bytes, specified in the Initiate Multipart Upload request.
 UploadListElement withVaultARN(String vaultARN)
          The Amazon Resource Name (ARN) of the vault that contains the archive.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UploadListElement

public UploadListElement()
Default constructor for a new UploadListElement object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.

Method Detail

getMultipartUploadId

public String getMultipartUploadId()
The ID of a multipart upload.

Returns:
The ID of a multipart upload.

setMultipartUploadId

public void setMultipartUploadId(String multipartUploadId)
The ID of a multipart upload.

Parameters:
multipartUploadId - The ID of a multipart upload.

withMultipartUploadId

public UploadListElement withMultipartUploadId(String multipartUploadId)
The ID of a multipart upload.

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

Parameters:
multipartUploadId - The ID of a multipart upload.
Returns:
A reference to this updated object so that method calls can be chained together.

getVaultARN

public String getVaultARN()
The Amazon Resource Name (ARN) of the vault that contains the archive.

Returns:
The Amazon Resource Name (ARN) of the vault that contains the archive.

setVaultARN

public void setVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault that contains the archive.

Parameters:
vaultARN - The Amazon Resource Name (ARN) of the vault that contains the archive.

withVaultARN

public UploadListElement withVaultARN(String vaultARN)
The Amazon Resource Name (ARN) of the vault that contains the archive.

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

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

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.

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.

withArchiveDescription

public UploadListElement withArchiveDescription(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 Long getPartSizeInBytes()
The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.

Returns:
The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.

setPartSizeInBytes

public void setPartSizeInBytes(Long partSizeInBytes)
The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.

Parameters:
partSizeInBytes - The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.

withPartSizeInBytes

public UploadListElement withPartSizeInBytes(Long partSizeInBytes)
The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.

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

Parameters:
partSizeInBytes - The part size, in bytes, specified in the Initiate Multipart Upload request. This is the size of all the parts in the upload except the last part, which may be smaller than this size.
Returns:
A reference to this updated object so that method calls can be chained together.

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.

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.

withCreationDate

public UploadListElement withCreationDate(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.

toString

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

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

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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