Class CreateBucketRequest
Inheritance
CreateBucketRequest
Assembly: Glitch9.AIDevKit.Provider.AmazonAws.dll
Syntax
public class CreateBucketRequest : BucketRequestBase, IValidatable, IRequestParameterProvider
Properties
|
Edit this page
View Source
Bucket
Required. The name of the bucket to create.
Declaration
public string Bucket { get; set; }
Property Value
|
Edit this page
View Source
Configuration
Declaration
public CreateBucketConfiguration Configuration { get; set; }
Property Value
|
Edit this page
View Source
ObjectOwnership
Optional. The container element for object ownership for a bucket's ownership controls.
Valid values: BucketOwnerPreferred | ObjectWriter | BucketOwnerEnforced
(Not supported for directory buckets.)
Declaration
public ObjectOwnership? ObjectOwnership { get; set; }
Property Value
Methods
|
Edit this page
View Source
Create(string, string)
Declaration
public static CreateBucketRequest Create(string bucketName, string region = null)
Parameters
Returns
|
Edit this page
View Source
GetRegion()
Declaration
public string GetRegion()
Returns
|
Edit this page
View Source
GetRequestParameters()
Declaration
public override IEnumerable<RequestParameter> GetRequestParameters()
Returns
Overrides
|
Edit this page
View Source
Validate()
Validates the object's parameters and throws if invalid.
Declaration
public override void Validate()
Overrides
Implements
Extension Methods