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