The CopyPartRequest contains the parameters used for the CopyPart operation.
Required Parameters: SourceBucket, SourceKey, DestinationBucket, DestinationKey, UploadID, PartNumber
Optional Parameters: ETagsToMatch, ETagsToNotMatch, ModifiedSinceDate, UnmodifiedSinceDate, Timeout, SourceVersionId, FirstByte, LastByte
Namespace: Amazon.S3.ModelRequired Parameters: SourceBucket, SourceKey, DestinationBucket, DestinationKey, UploadID, PartNumber
Optional Parameters: ETagsToMatch, ETagsToNotMatch, ModifiedSinceDate, UnmodifiedSinceDate, Timeout, SourceVersionId, FirstByte, LastByte
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
Members
| All Members | Constructors | Properties | Methods |
| 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 key/value pairs from collection into our request header.
(Inherited from S3Request.) | |
| DestinationBucket |
Gets and sets the DestinationBucket property.
| |
| DestinationKey |
Gets and sets the DestinationKey property.
| |
| Equals(Object) | (Inherited from Object.) | |
| ETagsToNotMatch |
Gets and sets the ETagsToNotMatch property.
| |
| ETagToMatch |
Gets and sets the ETagsToMatch property.
| |
| FirstByte |
Gets and sets the firstByte property. This property contains the location of the first
byte in the range if only a portion of the source object is to be copied as the part.
The LastByte property must also be set or this value will be ignored.
| |
| 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 |
Gets and sets the InputStream property.
(Inherited from S3Request.) | |
| LastByte |
Gets and sets the lastByte property. This property contains the location of the last
byte in the range if only a portion of the source object is to be copied as the part.
The FirstByte property must also be set or this value will be ignored.
| |
| ModifiedSinceDate |
Gets and sets the ModifiedSinceDate property.
| |
| PartNumber |
Gets and sets of the PartNumber property.
Valid part numbers are from 1 to 10,000 inclusive and will uniquely identify the part
and determine the relative ordering within the destination object. If a part already
exists with the PartNumber it will be overwritten.
| |
| ReadWriteTimeout |
Gets and sets of the ReadWriteTimeout property (in milliseconds).
The value of this property is assigned to the
ReadWriteTimeout property of the HTTPWebRequest object
used for S3 COPY requests.
| |
| ServerSideEncryptionMethod |
Gets and sets the ServerSideEncryptionMethod property.
Specifies the encryption used on the server to
store the content.
Default is None.
| |
| SourceBucket |
Gets and sets the SourceBucket property.
| |
| SourceKey |
Gets and sets the SourceKey property.
| |
| SourceVersionId |
Gets and sets the SourceVersionId property.
| |
| Timeout |
Gets and sets of the Timeout property (in milliseconds).
The value of this property is assigned to the
Timeout property of the HTTPWebRequest object used
for S3 COPY requests.
| |
| ToString()()()() | (Inherited from S3Request.) | |
| UnmodifiedSinceDate |
Gets and sets the UnmodifiedSinceDate property.
| |
| UploadID |
Gets and sets the UploadID property.
| |
| WithDestinationBucket(String) |
Sets the DestinationBucket property for this request.
This is the S3 Bucket where the copied S3 Object is put.
| |
| WithDestinationKey(String) |
Sets the DestinationKey property for this request.
This is the key for the new S3 Object that is copied.
| |
| WithETagsToMatch(IEnumerable<(Of <<'(String>)>>)) |
Adds the Etags to the ETagsToMatch property for this request.
Copies the object if its entity tag (ETag) matches
one of the specified tag; otherwise return a 412 (precondition failed).
| |
| WithETagsToMatch(array<String>[]()[][]) |
Adds the Etags to the ETagsToMatch property for this request.
Copies the object if its entity tag (ETag) matches
one of the specified tag; otherwise return a 412 (precondition failed).
| |
| WithETagsToNotMatch(IEnumerable<(Of <<'(String>)>>)) |
Adds the Etags to the ETagsToNotMatch property for this request.
Copies the object if its entity tag (ETag) is different
from all the specified Etags; otherwise returns a 412 (failed condition).
| |
| WithETagsToNotMatch(array<String>[]()[][]) |
Adds the Etags to the ETagsToNotMatch property for this request.
Copies the object if its entity tag (ETag) is different
from all the specified Etags; otherwise returns a 412 (failed condition).
| |
| WithFirstByte(Int64) |
Sets the firstByte property. This property contains the location of the first
byte in the range if only a portion of the source object is to be copied as the part.
The LastByte property must also be set or this value will be ignored.
| |
| WithInputStream(Stream) |
Sets the InputStream property.
(Inherited from S3Request.) | |
| WithLastByte(Int64) |
Gets and sets the lastByte property. This property contains the location of the last
byte in the range if only a portion of the source object is to be copied as the part.
The FirstByte property must also be set or this value will be ignored.
| |
| WithModifiedSinceDate(DateTime) |
Sets the ModifiedSinceDate property for this request.
Copies the object if it has been modified since the
specified time; otherwise returns a 412 (failed condition).
| |
| WithPartNumber(Int32) |
Sets of the PartNumber property.
Valid part numbers are from 1 to 10,000 inclusive and will uniquely identify the part
and determine the relative ordering within the destination object. If a part already
exists with the PartNumber it will be overwritten.
| |
| WithReadWriteTimeout(Int32) |
Sets the ReadWriteTimeout property (in milliseconds).
The value of this property is assigned to the
ReadWriteTimeout property of the HttpWebRequest.
| |
| WithServerSideEncryptionMethod(ServerSideEncryptionMethod) |
Sets the ServerSideEncryptionMethod property for this request.
Specifies the encryption used on the server to
store the content.
| |
| WithSourceBucket(String) |
Sets the SourceBucket property for this request.
This is the S3Bucket that contains the S3 Object you
want to copy.
| |
| WithSourceKey(String) |
Sets the SourceKey property for this request.
This is the S3Object you want to copy.
| |
| WithSourceVersionId(String) |
Sets the SourceVersionId property for this request.
This is the SourceVersionId for the S3 Object you want to Get.
| |
| WithTimeout(Int32) |
Sets the Timeout property (in milliseconds).
Please set the timeout only if you are certain that
the file will not be transferred within the default intervals
for an HttpWebRequest.
| |
| WithUnmodifiedSinceDate(DateTime) |
Sets the UnmodifiedSinceDate property for this request.
Copies the object if it hasn't been modified since the
specified time; otherwise returns a 412 (precondition failed).
| |
| WithUploadID(String) |
Sets the UploadID property for this request.
This is the ID of the multipart upload for which we are copying a part.
|