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