#[non_exhaustive]pub struct BucketBuilder { /* private fields */ }Expand description
A builder for Bucket.
Implementations§
Source§impl BucketBuilder
impl BucketBuilder
Sourcepub fn creation_date(self, input: DateTime) -> Self
pub fn creation_date(self, input: DateTime) -> Self
Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.
Sourcepub fn set_creation_date(self, input: Option<DateTime>) -> Self
pub fn set_creation_date(self, input: Option<DateTime>) -> Self
Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.
Sourcepub fn get_creation_date(&self) -> &Option<DateTime>
pub fn get_creation_date(&self) -> &Option<DateTime>
Date the bucket was created. This date can change when making changes to your bucket, such as editing its bucket policy.
Sourcepub fn bucket_region(self, input: impl Into<String>) -> Self
pub fn bucket_region(self, input: impl Into<String>) -> Self
BucketRegion indicates the Amazon Web Services region where the bucket is located. If the request contains at least one valid parameter, it is included in the response.
Sourcepub fn set_bucket_region(self, input: Option<String>) -> Self
pub fn set_bucket_region(self, input: Option<String>) -> Self
BucketRegion indicates the Amazon Web Services region where the bucket is located. If the request contains at least one valid parameter, it is included in the response.
Sourcepub fn get_bucket_region(&self) -> &Option<String>
pub fn get_bucket_region(&self) -> &Option<String>
BucketRegion indicates the Amazon Web Services region where the bucket is located. If the request contains at least one valid parameter, it is included in the response.
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.
Trait Implementations§
Source§impl Clone for BucketBuilder
impl Clone for BucketBuilder
Source§fn clone(&self) -> BucketBuilder
fn clone(&self) -> BucketBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for BucketBuilder
impl Debug for BucketBuilder
Source§impl Default for BucketBuilder
impl Default for BucketBuilder
Source§fn default() -> BucketBuilder
fn default() -> BucketBuilder
Source§impl PartialEq for BucketBuilder
impl PartialEq for BucketBuilder
impl StructuralPartialEq for BucketBuilder
Auto Trait Implementations§
impl Freeze for BucketBuilder
impl RefUnwindSafe for BucketBuilder
impl Send for BucketBuilder
impl Sync for BucketBuilder
impl Unpin for BucketBuilder
impl UnwindSafe for BucketBuilder
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