Adds custom access control lists (ACLs) to the object.
Please refer to S3Grant for information on
S3 Grants.
| 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 WithGrants( params S3Grant[] grants )
- grants (array<S3Grant>[]()[][])
- One or more S3 Grants.
The request with the Grants set.