The parameters to upload a part by copying data from an existing object as data source.
| C# |
public class CopyPartRequest : S3Request
| All Members | Constructors | Methods | Properties | ||
| Icon | Member | Description |
|---|---|---|
| CopyPartRequest()()()() | Initializes a new instance of the CopyPartRequest class | |
| AddHeader(String, String) |
Adds the header to the collection of headers for the request.
(Inherited from S3Request.) | |
| AddHeaders(NameValueCollection) |
Adds all of the specified key/value pairs into the request headers collection.
(Inherited from S3Request.) | |
| DestinationBucket |
The name of the bucket to contain the copy of the source object.
| |
| DestinationKey |
The key to be given to the copy of the source object.
| |
| Equals(Object) | (Inherited from Object.) | |
| ETagsToNotMatch |
Collection of ETags that must not be matched as a pre-condition for copying the source object
otherwise returns a PreconditionFailed.
| |
| ETagToMatch |
Collection of ETags to be matched as a pre-condition for copying the source object
otherwise returns a PreconditionFailed.
| |
| FirstByte |
The location of the first byte in the range if only a portion of the
source object is to be copied as the part.
| |
| GetHashCode()()()() | Serves as a hash function for a particular type. (Inherited from Object.) | |
| GetType()()()() | Gets the type of the current instance. (Inherited from Object.) | |
| InputStream |
Input stream for the request; content for the request will be read from the stream.
(Inherited from S3Request.) | |
| LastByte |
The location of the last byte in the range if only a portion of the
source object is to be copied as the part.
| |
| ModifiedSinceDate |
Copies the object if it has been modified since the specified time, otherwise returns a PreconditionFailed.
| |
| PartNumber |
The number of the part to be copied.
| |
| ReadWriteTimeout |
Overrides the default HttpWebRequest ReadWriteTimeout value.
(Inherited from S3Request.) | |
| ServerSideEncryptionMethod | Specifies the encryption to be used on the server for the new object. Default: None | |
| SourceBucket |
The name of the bucket containing the object to copy.
| |
| SourceKey |
The key of the object to copy.
| |
| SourceVersionId |
Specifies a particular version of the source object to copy. By default the latest version is copied.
| |
| Timeout |
Overrides the default HttpWebRequest timeout value.
(Inherited from S3Request.) | |
| ToString()()()() | (Inherited from S3Request.) | |
| UnmodifiedSinceDate |
Copies the object if it has not been modified since the specified time, otherwise returns a PreconditionFailed.
| |
| UploadID |
The ID identifying multipart upload for which we are copying a part.
| |
| WithDestinationBucket(String) |
Sets the name of the bucket to contain the copy of the source object.
| |
| WithDestinationKey(String) |
Sets the key to be given to the copy of the source object.
| |
| WithETagsToMatch(array<String>[]()[][]) |
Adds the specified Etags to the ETagsToMatch property for this request.
| |
| WithETagsToMatch(IEnumerable<(Of <<'(String>)>>)) |
Adds the specified Etags to the ETagsToMatch property for this request.
| |
| WithETagsToNotMatch(array<String>[]()[][]) |
Adds the specified Etags to the ETagsToNotMatch property for this request.
| |
| WithETagsToNotMatch(IEnumerable<(Of <<'(String>)>>)) |
Adds the Etags to the ETagsToNotMatch property for this request.
| |
| WithFirstByte(Int64) |
Sets the location of the first byte in the range if only a portion of the
source object is to be copied as the part.
| |
| WithInputStream(Stream) |
Sets an input stream for the request; content for the request will be read from the stream.
(Inherited from S3Request.) | |
| WithLastByte(Int64) |
The location of the last byte in the range if only a portion of the
source object is to be copied as the part.
| |
| WithModifiedSinceDate(DateTime) |
Copies the object if it has been modified since the specified time, otherwise returns a PreconditionFailed.
| |
| WithPartNumber(Int32) |
Sets the number of the part to be copied.
| |
| WithReadWriteTimeout(Int32) |
Custom read-write timeout value (in milliseconds) to set in the HttpWebRequest object used for the request.
| |
| WithServerSideEncryptionMethod(ServerSideEncryptionMethod) | Specifies the encryption to be used on the server for the new object. Default: None | |
| WithSourceBucket(String) |
Sets the name of the bucket containing the object to copy.
| |
| WithSourceKey(String) |
Sets the key of the object to copy.
| |
| WithSourceVersionId(String) |
Specifies a particular version of the source object to copy. By default the latest version is copied.
| |
| WithTimeout(Int32) |
Custom timeout value (in milliseconds) to set in the HttpWebRequest object used for the request.
| |
| WithUnmodifiedSinceDate(DateTime) |
Copies the object if it has not been modified since the specified time, otherwise returns a PreconditionFailed.
| |
| WithUploadID(String) |
Sets the ID identifying multipart upload for which we are copying a part.
|