|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||
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 | |
---|---|
String |
getBucketName()
Returns the name of the bucket containing the uploaded object. |
String |
getETag()
Returns the entity tag identifying the new object. |
String |
getKey()
Returns the key by which the newly created object is stored. |
String |
getVersionId()
Returns the version ID of the new object. |
void |
setBucketName(String bucketName)
Sets the name of the bucket containing the uploaded object. |
void |
setETag(String etag)
Sets the entity tag identifying the new object. |
void |
setKey(String key)
Sets the key of the newly created object. |
void |
setVersionId(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 String getBucketName()
public void setBucketName(String bucketName)
bucketName
- The name of the bucket containing the uploaded object.public String getKey()
public void setKey(String key)
public String getETag()
public void setETag(String etag)
etag
- The entity tag.public String getVersionId()
public void setVersionId(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 All Classes | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |