#[non_exhaustive]pub struct CreateBucketOutputBuilder { /* private fields */ }Expand description
A builder for CreateBucketOutput.
Implementations§
Source§impl CreateBucketOutputBuilder
impl CreateBucketOutputBuilder
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 get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
A forward slash followed by the name of the bucket.
Sourcepub fn bucket_arn(self, input: impl Into<String>) -> Self
pub fn bucket_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all of Amazon Web Services.
This parameter is only supported for S3 directory buckets. For more information, see Using tags with directory buckets.
Sourcepub fn set_bucket_arn(self, input: Option<String>) -> Self
pub fn set_bucket_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all of Amazon Web Services.
This parameter is only supported for S3 directory buckets. For more information, see Using tags with directory buckets.
Sourcepub fn get_bucket_arn(&self) -> &Option<String>
pub fn get_bucket_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the S3 bucket. ARNs uniquely identify Amazon Web Services resources across all of Amazon Web Services.
This parameter is only supported for S3 directory buckets. For more information, see Using tags with directory buckets.
Sourcepub fn build(self) -> CreateBucketOutput
pub fn build(self) -> CreateBucketOutput
Consumes the builder and constructs a CreateBucketOutput.
Trait Implementations§
Source§impl Clone for CreateBucketOutputBuilder
impl Clone for CreateBucketOutputBuilder
Source§fn clone(&self) -> CreateBucketOutputBuilder
fn clone(&self) -> CreateBucketOutputBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for CreateBucketOutputBuilder
impl Debug for CreateBucketOutputBuilder
Source§impl Default for CreateBucketOutputBuilder
impl Default for CreateBucketOutputBuilder
Source§fn default() -> CreateBucketOutputBuilder
fn default() -> CreateBucketOutputBuilder
impl StructuralPartialEq for CreateBucketOutputBuilder
Auto Trait Implementations§
impl Freeze for CreateBucketOutputBuilder
impl RefUnwindSafe for CreateBucketOutputBuilder
impl Send for CreateBucketOutputBuilder
impl Sync for CreateBucketOutputBuilder
impl Unpin for CreateBucketOutputBuilder
impl UnwindSafe for CreateBucketOutputBuilder
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more