Struct aws_sdk_s3::output::create_bucket_output::Builder
source · pub struct Builder { /* private fields */ }
Expand description
A builder for CreateBucketOutput
.
Implementations§
source§impl Builder
impl Builder
sourcepub fn location(self, input: impl Into<String>) -> Self
pub fn location(self, input: impl Into<String>) -> Self
A forward slash followed by the name of the bucket.
sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
A forward slash followed by the name of the bucket.
sourcepub fn build(self) -> CreateBucketOutput
pub fn build(self) -> CreateBucketOutput
Consumes the builder and constructs a CreateBucketOutput
.