C# Class Amazon.S3.Transfer.TransferUtilityUploadRequest

Contains all the parameters that can be set when making a this request with the TransferUtility method.
Inheritance: Amazon.S3.Transfer.BaseUploadRequest
Show file Open project: aws/aws-sdk-net Class Usage Examples

Private Properties

Property Type Description
IsSetBucketName bool
IsSetCannedACL bool
IsSetContentType bool
IsSetFilePath bool
IsSetInputStream bool
IsSetKey bool
IsSetPartSize bool
IsSetServerSideEncryptionKeyManagementServiceKeyId bool
OnRaiseProgressEvent void

Public Methods

Method Description
RemoveCannedACL ( ) : void

Removes the cannned access control list (ACL) for the uploaded object.

WithAutoCloseStream ( bool autoCloseStream ) : TransferUtilityUploadRequest

Sets whether or not the stream used with this request is automatically closed when all of the content is read from the stream and returns this object instance, enabling additional method calls to be chained together.

Private Methods

Method Description
IsSetBucketName ( ) : bool

Checks if BucketName property is set.

IsSetCannedACL ( ) : bool

Checks if the CannedACL property is set.

IsSetContentType ( ) : bool

Checks if ContentType property is set.

IsSetFilePath ( ) : bool

Checks if FilePath property is set.

IsSetInputStream ( ) : bool
IsSetKey ( ) : bool

Checks if Key property is set.

IsSetPartSize ( ) : bool

Checks if PartSize property is set.

IsSetServerSideEncryptionKeyManagementServiceKeyId ( ) : bool

Checks if ServerSideEncryptionKeyManagementServiceKeyId property is set.

OnRaiseProgressEvent ( UploadProgressArgs progressArgs ) : void

Causes the UploadProgressEvent event to be fired.

Method Details

RemoveCannedACL() public method

Removes the cannned access control list (ACL) for the uploaded object.
public RemoveCannedACL ( ) : void
return void

WithAutoCloseStream() public method

Sets whether or not the stream used with this request is automatically closed when all of the content is read from the stream and returns this object instance, enabling additional method calls to be chained together.
public WithAutoCloseStream ( bool autoCloseStream ) : TransferUtilityUploadRequest
autoCloseStream bool /// A value of true if the if the stream is /// automatically closed when all of the content is read from the stream. /// A value of false if otherwise. ///
return TransferUtilityUploadRequest