Struct aws_sdk_s3::model::create_bucket_configuration::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateBucketConfiguration
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn location_constraint(self, input: BucketLocationConstraint) -> Self
pub fn location_constraint(self, input: BucketLocationConstraint) -> Self
Specifies the Region where the bucket will be created. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).
sourcepub fn set_location_constraint(
self,
input: Option<BucketLocationConstraint>
) -> Self
pub fn set_location_constraint(
self,
input: Option<BucketLocationConstraint>
) -> Self
Specifies the Region where the bucket will be created. If you don't specify a Region, the bucket is created in the US East (N. Virginia) Region (us-east-1).
sourcepub fn build(self) -> CreateBucketConfiguration
pub fn build(self) -> CreateBucketConfiguration
Consumes the builder and constructs a CreateBucketConfiguration
.