Twoorb Plugins  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Amazon.S3.Model.CopyPartRequest Class Reference

Container for the parameters to the CopyPart operation. More...

Inheritance diagram for Amazon.S3.Model.CopyPartRequest:

Properties

TimeSpan Timeout [get, set]
 Overrides the default request timeout value. More...
 
TimeSpan ReadWriteTimeout [get, set]
 Overrides the default ReadWriteTimeout value. More...
 
string SourceBucket [get, set]
 The name of the bucket containing the object to copy. More...
 
string SourceKey [get, set]
 The key of the object to copy. More...
 
string SourceVersionId [get, set]
 Specifies a particular version of the source object to copy. By default the latest version is copied. More...
 
string DestinationBucket [get, set]
 The name of the bucket to contain the copy of the source object. More...
 
string DestinationKey [get, set]
 The key to be given to the copy of the source object. More...
 
string UploadId [get, set]
 The ID identifying multipart upload for which we are copying a part. More...
 
List< string > ETagToMatch [get, set]
 Collection of ETags to be matched as a pre-condition for copying the source object otherwise returns a PreconditionFailed. More...
 
List< string > ETagsToNotMatch [get, set]
 Collection of ETags that must not be matched as a pre-condition for copying the source object otherwise returns a PreconditionFailed. More...
 
DateTime ModifiedSinceDate [get, set]
 Copies the object if it has been modified since the specified time, otherwise returns a PreconditionFailed. More...
 
DateTime UnmodifiedSinceDate [get, set]
 Copies the object if it has not been modified since the specified time, otherwise returns a PreconditionFailed. More...
 
int PartNumber [get, set]
 The number of the part to be copied. More...
 
long FirstByte [get, set]
 The location of the first byte in the range if only a portion of the source object is to be copied as the part. More...
 
long LastByte [get, set]
 The location of the last byte in the range if only a portion of the source object is to be copied as the part. More...
 
ServerSideEncryptionMethod ServerSideEncryptionMethod [get, set]
 

Detailed Description

Container for the parameters to the CopyPart operation.

Uploads a part by copying data from an existing object as data source.

Property Documentation

string Amazon.S3.Model.CopyPartRequest.DestinationBucket
getset

The name of the bucket to contain the copy of the source object.

string Amazon.S3.Model.CopyPartRequest.DestinationKey
getset

The key to be given to the copy of the source object.

List<string> Amazon.S3.Model.CopyPartRequest.ETagsToNotMatch
getset

Collection of ETags that must not be matched as a pre-condition for copying the source object otherwise returns a PreconditionFailed.

Copies the object if its entity tag (ETag) does not match any of the specified tags; otherwise returns a 412 (failed condition). Constraints: This header can be used with IfModifiedSince, but cannot be used with other conditional copy properties.

List<string> Amazon.S3.Model.CopyPartRequest.ETagToMatch
getset

Collection of ETags to be matched as a pre-condition for copying the source object otherwise returns a PreconditionFailed.

Copies the object if its entity tag (ETag) matches one of the specified tags; otherwise return a 412 (precondition failed). Constraints: This property can be used with IfUnmodifiedSince, but cannot be used with other conditional copy properties.

long Amazon.S3.Model.CopyPartRequest.FirstByte
getset

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.

long Amazon.S3.Model.CopyPartRequest.LastByte
getset

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.

DateTime Amazon.S3.Model.CopyPartRequest.ModifiedSinceDate
getset

Copies the object if it has been modified since the specified time, otherwise returns a PreconditionFailed.

Copies the object if it has been modified since the specified time; otherwise returns a 412 (failed condition). Constraints: This property can be used with ETagToNotMatch, but cannot be used with other conditional copy properties.

int Amazon.S3.Model.CopyPartRequest.PartNumber
getset

The number of the part to be copied.

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.

TimeSpan Amazon.S3.Model.CopyPartRequest.ReadWriteTimeout
getset

Overrides the default ReadWriteTimeout value.

If the value is set, the value is assigned to the ReadWriteTimeout property of the HTTPWebRequest/WebRequestHandler object used to send requests.

Exceptions
System.ArgumentNullExceptionThe timeout specified is null.
System.ArgumentOutOfRangeExceptionThe timeout specified is less than or equal to zero and is not Infinite.
See Also
P:System.Net.HttpWebRequest.ReadWriteTimeout, P:System.Net.Http.WebRequestHandler.ReadWriteTimeout
ServerSideEncryptionMethod Amazon.S3.Model.CopyPartRequest.ServerSideEncryptionMethod
getset

Specifies the encryption to be used on the server for the new object.

Default: None

string Amazon.S3.Model.CopyPartRequest.SourceBucket
getset

The name of the bucket containing the object to copy.

string Amazon.S3.Model.CopyPartRequest.SourceKey
getset

The key of the object to copy.

string Amazon.S3.Model.CopyPartRequest.SourceVersionId
getset

Specifies a particular version of the source object to copy. By default the latest version is copied.

TimeSpan Amazon.S3.Model.CopyPartRequest.Timeout
getset

Overrides the default request timeout value.

If the value is set, the value is assigned to the Timeout property of the HTTPWebRequest/HttpClient object used to send requests.

Please specify a timeout value only if the operation will not complete within the default intervals specified for an HttpWebRequest/HttpClient.

Exceptions
System.ArgumentNullExceptionThe timeout specified is null.
System.ArgumentOutOfRangeExceptionThe timeout specified is less than or equal to zero and is not Infinite.
See Also
P:System.Net.HttpWebRequest.Timeout, P:System.Net.Http.HttpClient.Timeout
DateTime Amazon.S3.Model.CopyPartRequest.UnmodifiedSinceDate
getset

Copies the object if it has not been modified since the specified time, otherwise returns a PreconditionFailed.

Copies the object if it hasn't been modified since the specified time; otherwise returns a 412 (precondition failed). Constraints: This property can be used with ETagToMatch, but cannot be used with other conditional copy properties.

string Amazon.S3.Model.CopyPartRequest.UploadId
getset

The ID identifying multipart upload for which we are copying a part.


The documentation for this class was generated from the following files: