The SetACLRequest contains the parameters used for the SetACL operation.
The BucketName is always required, the Key is optional and is to be set
if you want the ACL for an object instead of a bucket.
You can either set ACLs using CannedACLs or by providing an S3AccessControlList.
Required Parameters: BucketName
Optional Parameters: Key, CannedACL, ACL
Namespace: Amazon.S3.ModelRequired Parameters: BucketName
Optional Parameters: Key, CannedACL, ACL
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| SetACLRequest()()()() | Initializes a new instance of the SetACLRequest class | |
| ACL |
Gets and sets the ACL property.
| |
| AddHeader(String, String) |
Adds the header to the collection of headers for the request.
(Inherited from S3Request.) | |
| AddHeaders(NameValueCollection) |
Adds all of the key/value pairs from collection into our request header.
(Inherited from S3Request.) | |
| BucketName |
Gets and sets the BucketName property.
| |
| CannedACL |
Gets and sets the CannedACL property.
| |
| Equals(Object) | (Inherited from Object.) | |
| GetHashCode()()()() |
Serves as a hash function for a particular type.
(Inherited from Object.) | |
| GetType()()()() |
Gets the Type of the current instance.
(Inherited from Object.) | |
| InputStream |
Gets and sets the InputStream property.
(Inherited from S3Request.) | |
| Key |
Gets and sets the Key property.
| |
| RemoveCannedACL()()()() |
Resets the S3CannedACL associated with this request
| |
| ToString()()()() | (Inherited from S3Request.) | |
| VersionId |
Gets and sets the VersionId property.
This is the Version Id of the S3 Object for
which the ACL will be set. This property
is ignored if the ACL is to be set on a Bucket.
| |
| WithACL(S3AccessControlList) |
Sets the ACL property for this request.
The S3 Object or S3 Bucket will be set to this
S3AccessControlList.
| |
| WithBucketName(String) |
Sets the BucketName property for this request.
This is either the S3 Bucket whose ACL you want to set,
or the S3 Bucket that has the S3 Object whose ACL
you want to set.
| |
| WithCannedACL(S3CannedACL) |
Sets the CannedACL property for this request.
The S3 Object or S3 Bucket will be set to this
CannedACL.
| |
| WithInputStream(Stream) |
Sets the InputStream property.
(Inherited from S3Request.) | |
| WithKey(String) |
Sets the Key property for this request.
This is the Key for the S3 Object whose ACL you
want to set.
| |
| WithVersionId(String) |
Sets the VersionId property for this request.
This is the Version Id of the S3 Object for
which the ACL will be set. This property
is ignored if the ACL is to be set on a Bucket.
|