程序包 | 说明 |
---|---|
com.sinacloud.scs.services.scs | |
com.sinacloud.scs.services.scs.model |
Classes modeling the various types represented by Amazon S3.
|
限定符和类型 | 方法和说明 |
---|---|
void |
SCS.copyObject(CopyObjectRequest copyObjectRequest)
Copies a source object to a new destination in SCS.
|
void |
SCSClient.copyObject(CopyObjectRequest copyObjectRequest) |
限定符和类型 | 方法和说明 |
---|---|
CopyObjectRequest |
CopyObjectRequest.withAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object.
|
CopyObjectRequest |
CopyObjectRequest.withCannedAccessControlList(CannedAccessControlList cannedACL)
Sets the canned ACL to use for the newly copied object, and returns this
CopyObjectRequest , enabling additional method calls to be chained
together. |
CopyObjectRequest |
CopyObjectRequest.withDestinationBucketName(String destinationBucketName)
Sets the name of the destination bucket which will contain the new,
copied object and returns this object, enabling additional method calls
to be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withDestinationKey(String destinationKey)
Sets the destination bucket key under which the new, copied object
will be stored and returns this object, enabling additional method calls
can be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withMatchingETagConstraint(String eTag)
Adds a single ETag constraint to this request and returns this object,
enabling additional method calls to be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withModifiedSinceConstraint(Date date)
Sets the optional modified constraint that restricts this request
to executing only if the source object has been modified
after the specified date.
|
CopyObjectRequest |
CopyObjectRequest.withNewObjectMetadata(ObjectMetadata newObjectMetadata)
Sets the object metadata to use for the new, copied object and returns
this object, enabling additional method calls to be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withNonmatchingETagConstraint(String eTag)
Adds a single ETag constraint to this request and returns this object, enabling
additional method calls to be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withRedirectLocation(String redirectLocation)
Sets the optional redirect location for the newly copied object.Returns this
CopyObjectRequest , enabling additional method calls to be chained
together. |
CopyObjectRequest |
CopyObjectRequest.withSourceBucketName(String sourceBucketName)
Sets the name of the bucket containing the source object to be copied,
and returns this object, enabling additional method calls to be chained
together.
|
CopyObjectRequest |
CopyObjectRequest.withSourceKey(String sourceKey)
Sets the key in the source bucket under which the source object to be
copied is stored and returns this object, enabling additional method calls
to be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withStorageClass(StorageClass storageClass)
Sets the optional Amazon S3 storage class to use when storing the newly
copied object and returns this CopyObjectRequest, enabling additional
method calls to be chained together.
|
CopyObjectRequest |
CopyObjectRequest.withStorageClass(String storageClass)
Sets the optional Amazon S3 storage class to use when storing the newly
copied object and returns this
CopyObjectRequest , enabling additional
method calls to be chained together. |
CopyObjectRequest |
CopyObjectRequest.withUnmodifiedSinceConstraint(Date date)
Sets the optional unmodified constraint that restricts this request
to executing only if the source object has not been
modified after the specified date.
|
Copyright © 2016. All rights reserved.