The UploadPartRequest contains the parameters used for the UploadPart method.

If PartSize is not specified then the rest of the content from the file or stream will be sent to Amazon S3.

You must set either the FilePath or InputStream. If FilePath is set then the FilePosition property must be set.


Required Parameters: BucketName, Key, UploadId, PartNumber

Namespace: Amazon.S3.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class UploadPartRequest : S3Request
Public Class UploadPartRequest _
	Inherits S3Request
public ref class UploadPartRequest : public S3Request

Members

               
 All Members  Constructors   Properties   Methods   Events  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
UploadPartRequest()()()()
Initializes a new instance of the UploadPartRequest 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.)
BucketName
Gets and sets the BucketName property.
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
FilePath
Gets and sets the FilePath property.
FilePosition
Gets and sets the FilePosition property. This field is required when a file path is specified. It is ignored when using the InputStream property.
GenerateMD5Digest
Gets and Sets the property that governs whether a md5Digest is generated for the part being PUT into S3.
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.)
Key
Gets and sets the Key property.
MD5Digest
Gets and sets the MD5Digest property.
PartNumber
Gets and sets the PartNumber property.
PartSize
Gets and sets the PartSize property.
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 PUT Object requests.
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 PUT Object requests.
ToString()()()() (Inherited from S3Request.)
UploadId
Gets and sets the UploadId property. This is the upload id for the multipart upload in process.
UploadPartProgressEvent
The event for Put Object progress notifications. All subscribers will be notified when a new progress event is raised.
WithBucketName(String)
Sets the BucketName property for this request. This is the S3 Bucket where the S3 Object you are creating gets put.
WithFilePath(String)
Sets the FilePath property for this request.
WithFilePosition(Int64)
Sets the FilePosition property for this request.
WithGenerateChecksum(Boolean)
Sets the GenerateMD5Digest property. If this property is set, the MD5 md5Digest of the part to be uploaded is generated prior to the data being sent to S3.
WithInputStream(Stream)
Sets the InputStream property.
(Inherited from S3Request.)
WithKey(String)
Sets the Key property for this request. This is the Key for the S3 Object you create.
WithMD5Digest(String)
Sets the MD5Digest property for this request.
WithPartNumber(Int32)
Sets the PartNumber property for this request.
WithPartSize(Int64)
Sets the PartSize property for this request.
WithReadWriteTimeout(Int32)
Sets the ReadWriteTimeout property (in milliseconds). The value of this property is assigned to the ReadWriteTimeout property of the HttpWebRequest.
WithSubscriber(EventHandler<(Of <<'(UploadPartProgressArgs>)>>))
The "handler" will be notified every time a put object progress event is raised.
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.
WithUploadId(String)
Sets the UploadId property for this request. This is the upload id for the multipart upload in process.

Inheritance Hierarchy

System..::..Object
  Amazon.S3.Model..::..S3Request
    Amazon.S3.Model..::..UploadPartRequest

See Also