The PutBucketRequest contains the parameters used for the PutBucket operation. The BucketRegion parameter is used if you wish to specify the bucket locality.
Required Parameters: BucketName
Optional Parameters: BucketRegion, Default - S3Region.US

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 PutBucketRequest : S3Request
Public Class PutBucketRequest _
	Inherits S3Request
public ref class PutBucketRequest : public S3Request

Members

            
 All Members  Constructors   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
PutBucketRequest()()()()
Initializes a new instance of the PutBucketRequest 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.
BucketRegion
Gets and sets the BucketRegion property. Refer S3Region for a list of possible values. Default: S3Region.US S3Region
BucketRegionName
Alternative to setting bucket region by using the region's name. When set, this will determine where your data will reside in S3. Valid values: us-east-1, us-west-1, us-west-2, eu-west-1, ap-southeast-1, ap-northeast-1, sa-east-1
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.)
ToString()()()() (Inherited from S3Request.)
WithBucketName(String)
Sets the BucketName property for this request. This is the S3 Bucket that will be created by this request.
WithBucketRegion(S3Region)
Sets the BucketRegion property for this request. When set, this will determine where your data will reside in S3. Refer S3Region for a list of possible values.
WithBucketRegionName(String)
Alternative to setting bucket region by using the region's name. When set, this will determine where your data will reside in S3. Valid values: us-east-1, us-west-1, us-west-2, eu-west-1, ap-southeast-1, ap-northeast-1, sa-east-1
WithInputStream(Stream)
Sets the InputStream property.
(Inherited from S3Request.)

Inheritance Hierarchy

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

See Also