public class CompleteMultipartUploadResult extends SSEResultBase implements ObjectExpirationResult
Constructor and Description |
---|
CompleteMultipartUploadResult() |
Modifier and Type | Method and Description |
---|---|
String |
getBucketName()
Returns the name of the bucket containing the completed multipart object.
|
String |
getETag()
Returns the entity tag identifying the new object.
|
Date |
getExpirationTime()
Returns the expiration time for this object, or null if it doesn't expire.
|
String |
getExpirationTimeRuleId()
Returns the
BucketLifecycleConfiguration rule ID for this
object's expiration, or null if it doesn't expire. |
String |
getKey()
Gets the key by which the newly created object is stored.
|
String |
getLocation()
Returns the URL identifying the new multipart object.
|
String |
getVersionId()
Returns the version ID of the new object, only present if versioning has
been enabled for the bucket.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket containing the completed multipart object.
|
void |
setETag(String etag)
Sets the entity tag identifying the new object.
|
void |
setExpirationTime(Date expirationTime)
Sets the expiration time for the object.
|
void |
setExpirationTimeRuleId(String expirationTimeRuleId)
Sets the
BucketLifecycleConfiguration rule ID for this object's
expiration |
void |
setKey(String key)
Sets the key of the newly created object.
|
void |
setLocation(String location)
Sets the URL identifying the new multipart object.
|
void |
setVersionId(String versionId)
Sets the version ID of the new object, only present if versioning has
been enabled for the bucket.
|
getServerSideEncryption, getSSEAlgorithm, getSSECustomerAlgorithm, getSSECustomerKeyMd5, setSSEAlgorithm, setSSECustomerAlgorithm, setSSECustomerKeyMd5
public String getLocation()
public void setLocation(String location)
location
- The URL identifying the new multipart object.public String getBucketName()
public void setBucketName(String bucketName)
bucketName
- The name of the bucket containing the completed multipart
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.public Date getExpirationTime()
getExpirationTime
in interface ObjectExpirationResult
public void setExpirationTime(Date expirationTime)
setExpirationTime
in interface ObjectExpirationResult
expirationTime
- The expiration time for the object.public String getExpirationTimeRuleId()
BucketLifecycleConfiguration
rule ID for this
object's expiration, or null if it doesn't expire.getExpirationTimeRuleId
in interface ObjectExpirationResult
BucketLifecycleConfiguration.Rule.getId()
public void setExpirationTimeRuleId(String expirationTimeRuleId)
BucketLifecycleConfiguration
rule ID for this object's
expirationsetExpirationTimeRuleId
in interface ObjectExpirationResult
expirationTimeRuleId
- The rule ID for this object's expirationCopyright © 2014. All rights reserved.