|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.s3.model.PutObjectResult
public class PutObjectResult
Contains the data returned by Amazon S3 from the putObject
operation.
Use this request to access information about the new object created from the
putObject
request, such as its ETag and optional version ID.
AmazonS3#putObject(String, String, java.io.File)
,
AmazonS3#putObject(String, String, java.io.InputStream, S3ObjectMetadata)
,
AmazonS3.putObject(PutObjectRequest)
Constructor Summary | |
---|---|
PutObjectResult()
|
Method Summary | |
---|---|
String |
getETag()
Gets the ETag value for the newly created object. |
String |
getVersionId()
Gets the optional version ID of the newly uploaded object. |
void |
setETag(String eTag)
Sets the ETag value for the new object that was created from the associated putObject request. |
void |
setVersionId(String versionId)
Sets the optional version ID of the newly uploaded object. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PutObjectResult()
Method Detail |
---|
public String getVersionId()
setVersionId(String)
public void setVersionId(String versionId)
versionId
- The optional version ID of the newly uploaded object.getVersionId()
public String getETag()
setETag(String)
public void setETag(String eTag)
putObject
request.
eTag
- The ETag value for the new object.getETag()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |