Package | Description |
---|---|
com.netease.cloud.services.nos | |
com.netease.cloud.services.nos.model |
Classes modeling the various types represented by Nos.
|
Modifier and Type | Method and Description |
---|---|
void |
Nos.copyObject(CopyObjectRequest copyObjectRequest)
Copies a source object to a new destination in NOS.
|
void |
NosClient.copyObject(CopyObjectRequest copyObjectRequest) |
Modifier and Type | Method and Description |
---|---|
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.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 Nos 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 Nos 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 © 2017. All Rights Reserved.