|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.transfer.model.UploadResult
public class UploadResult
Contains information returned by Amazon S3 for a completed upload.
See TransferManager
for more information about creating transfers.
TransferManager.upload(String, String, java.io.File)
,
TransferManager.upload(com.amazonaws.services.s3.model.PutObjectRequest)
Constructor Summary | |
---|---|
UploadResult()
|
Method Summary | |
---|---|
java.lang.String |
getBucketName()
Returns the name of the bucket containing the uploaded object. |
java.lang.String |
getETag()
Returns the entity tag identifying the new object. |
java.lang.String |
getKey()
Returns the key by which the newly created object is stored. |
java.lang.String |
getVersionId()
Returns the version ID of the new object. |
void |
setBucketName(java.lang.String bucketName)
Sets the name of the bucket containing the uploaded object. |
void |
setETag(java.lang.String etag)
Sets the entity tag identifying the new object. |
void |
setKey(java.lang.String key)
Sets the key of the newly created object. |
void |
setVersionId(java.lang.String versionId)
Sets the version ID of the new object, only present if versioning has been enabled for the bucket. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public UploadResult()
Method Detail |
---|
public java.lang.String getBucketName()
public void setBucketName(java.lang.String bucketName)
bucketName
- The name of the bucket containing the uploaded object.public java.lang.String getKey()
public void setKey(java.lang.String key)
public java.lang.String getETag()
public void setETag(java.lang.String etag)
etag
- The entity tag.public java.lang.String getVersionId()
public void setVersionId(java.lang.String versionId)
versionId
- The version ID of the new object, only present if versioning
has been enabled for the bucket.
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |