public class InitiateMultipartUploadResult extends com.amazonaws.services.s3.internal.SSEResultBase implements com.amazonaws.services.s3.internal.S3RequesterChargedResult, Serializable
| Constructor and Description |
|---|
InitiateMultipartUploadResult() |
| Modifier and Type | Method and Description |
|---|---|
Date |
getAbortDate()
Date when multipart upload will become eligible for abort operation by lifecycle.
|
String |
getAbortRuleId()
Id of the lifecycle rule that makes a multipart upload eligible for abort operation.
|
String |
getBucketName()
Returns the name of the bucket in which the new multipart upload was
initiated.
|
String |
getKey()
Returns the object key for which the multipart upload was initiated.
|
String |
getUploadId()
Returns the initiated multipart upload ID.
|
boolean |
isRequesterCharged()
Returns true if the user has enabled Requester Pays option when
conducting this operation from Requester Pays Bucket; else false.
|
void |
setAbortDate(Date abortDate)
Date when multipart upload will become eligible for abort operation by lifecycle.
|
void |
setAbortRuleId(String abortRuleId)
Id of the lifecycle rule that makes a multipart upload eligible for abort operation.
|
void |
setBucketName(String bucketName)
Sets the name of the bucket in which the new multipart upload was
initiated.
|
void |
setKey(String key)
Sets the object key for which the multipart upload was initiated.
|
void |
setRequesterCharged(boolean isRequesterCharged)
Used for conducting this operation from a Requester Pays Bucket.
|
void |
setUploadId(String uploadId)
Sets the initiated multipart upload ID.
|
getServerSideEncryption, getSSEAlgorithm, getSSECustomerAlgorithm, getSSECustomerKeyMd5, setSSEAlgorithm, setSSECustomerAlgorithm, setSSECustomerKeyMd5public String getBucketName()
public void setBucketName(String bucketName)
bucketName - The name of the bucket in which the new multipart upload was
initiated.public String getKey()
public void setKey(String key)
key - The object key for which the multipart upload was initiated.public String getUploadId()
public void setUploadId(String uploadId)
uploadId - The initiated multipart upload ID.public Date getAbortDate()
public void setAbortDate(Date abortDate)
abortDate - The date when the upload will be eligible for abort.public String getAbortRuleId()
public void setAbortRuleId(String abortRuleId)
abortRuleId - Rule IDpublic boolean isRequesterCharged()
com.amazonaws.services.s3.internal.S3RequesterChargedResultIf a bucket is enabled for Requester Pays, then any attempt of operation from it without Requester Pays enabled will result in a 403 error and the bucket owner will be charged for the request.
Enabling Requester Pays disables the ability to have anonymous access to this bucket
isRequesterCharged in interface com.amazonaws.services.s3.internal.S3RequesterChargedResultpublic void setRequesterCharged(boolean isRequesterCharged)
com.amazonaws.services.s3.internal.S3RequesterChargedResultIf a bucket is enabled for Requester Pays, then any attempt of operation from it without Requester Pays enabled will result in a 403 error and the bucket owner will be charged for the request.
setRequesterCharged in interface com.amazonaws.services.s3.internal.S3RequesterChargedResultisRequesterCharged - Indicates requester is charged for this operation.Copyright © 2017. All rights reserved.