The PutBucketPolicyRequest contains the parameters used for the PutBucketPolicy operation.
Required Parameters: BucketName, Policy

Namespace: Amazon.S3.Model
Assembly: AWSSDK (in AWSSDK.dll) Version: 1.4.10.0 (1.4.10.0)

Syntax

         
 C#  Visual Basic  Visual C++ 
public class PutBucketPolicyRequest : S3Request
Public Class PutBucketPolicyRequest _
	Inherits S3Request
public ref class PutBucketPolicyRequest : public S3Request

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
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)
Determines whether the specified Object is equal to the current 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.

Inheritance Hierarchy

System..::..Object
  Amazon.S3.Model..::..S3Request
    Amazon.S3.Model..::..PutBucketPolicyRequest

See Also