AWS SDK for .NET Documentation
WithContentBody Method (contentBody)
AmazonAmazon.S3.ModelPutObjectRequestWithContentBody(String) Did this page help you?   Yes   No    Tell us about it...
Text content to be uploaded. Use this property if you want to upload plaintext to S3. The content type will be set to 'text/plain'.
Declaration Syntax
C#
[ObsoleteAttribute("The With methods are obsolete and will be removed in version 2 of the AWS SDK for .NET. See http://aws.amazon.com/sdkfornet/#version2 for more information.")]
public PutObjectRequest WithContentBody(
	string contentBody
)
Parameters
contentBody (String)
The content to upload
Return Value
The request with the ContentBody set

Assembly: AWSSDK (Module: AWSSDK) Version: 1.5.60.0 (1.5.60.0)