The PutBucketPolicyRequest contains the parameters used for the PutBucketPolicy operation.
Required Parameters: BucketName, Policy
Namespace: Amazon.S3.ModelRequired Parameters: BucketName, Policy
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)
Syntax
Members
| All Members | Constructors | Properties | Methods |
| Member | Description | |
|---|---|---|
| PutBucketPolicyRequest()()()() | Initializes a new instance of the PutBucketPolicyRequest class | |
| 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.
| |
| 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.) | |
| Policy |
Gets and sets the Policy property.
| |
| ToString()()()() | (Inherited from S3Request.) | |
| WithBucketName(String) |
Sets the BucketName property for this request.
This is the S3 Bucket the request will get the location for.
| |
| WithInputStream(Stream) |
Sets the InputStream property.
(Inherited from S3Request.) | |
| WithPolicy(String) |
Sets the Policy property for this request.
This is the JSON string representing the policy that will be applied to the S3 Bucket.
|