#[non_exhaustive]pub struct S3BucketConfigurationBuilder { /* private fields */ }Expand description
A builder for S3BucketConfiguration.
Implementations§
source§impl S3BucketConfigurationBuilder
impl S3BucketConfigurationBuilder
sourcepub fn bucket_name(self, input: impl Into<String>) -> Self
pub fn bucket_name(self, input: impl Into<String>) -> Self
The name of an existing Amazon S3 bucket where the generated snapshot artifacts are sent.
This field is required.sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
The name of an existing Amazon S3 bucket where the generated snapshot artifacts are sent.
sourcepub fn get_bucket_name(&self) -> &Option<String>
pub fn get_bucket_name(&self) -> &Option<String>
The name of an existing Amazon S3 bucket where the generated snapshot artifacts are sent.
sourcepub fn bucket_prefix(self, input: impl Into<String>) -> Self
pub fn bucket_prefix(self, input: impl Into<String>) -> Self
The prefix of the Amazon S3 bucket that the generated snapshots are stored in.
This field is required.sourcepub fn set_bucket_prefix(self, input: Option<String>) -> Self
pub fn set_bucket_prefix(self, input: Option<String>) -> Self
The prefix of the Amazon S3 bucket that the generated snapshots are stored in.
sourcepub fn get_bucket_prefix(&self) -> &Option<String>
pub fn get_bucket_prefix(&self) -> &Option<String>
The prefix of the Amazon S3 bucket that the generated snapshots are stored in.
sourcepub fn bucket_region(self, input: impl Into<String>) -> Self
pub fn bucket_region(self, input: impl Into<String>) -> Self
The region that the Amazon S3 bucket is located in. The bucket must be located in the same region that the StartDashboardSnapshotJob API call is made.
sourcepub fn set_bucket_region(self, input: Option<String>) -> Self
pub fn set_bucket_region(self, input: Option<String>) -> Self
The region that the Amazon S3 bucket is located in. The bucket must be located in the same region that the StartDashboardSnapshotJob API call is made.
sourcepub fn get_bucket_region(&self) -> &Option<String>
pub fn get_bucket_region(&self) -> &Option<String>
The region that the Amazon S3 bucket is located in. The bucket must be located in the same region that the StartDashboardSnapshotJob API call is made.
sourcepub fn build(self) -> Result<S3BucketConfiguration, BuildError>
pub fn build(self) -> Result<S3BucketConfiguration, BuildError>
Consumes the builder and constructs a S3BucketConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for S3BucketConfigurationBuilder
impl Clone for S3BucketConfigurationBuilder
source§fn clone(&self) -> S3BucketConfigurationBuilder
fn clone(&self) -> S3BucketConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for S3BucketConfigurationBuilder
impl Debug for S3BucketConfigurationBuilder
source§impl Default for S3BucketConfigurationBuilder
impl Default for S3BucketConfigurationBuilder
source§fn default() -> S3BucketConfigurationBuilder
fn default() -> S3BucketConfigurationBuilder
source§impl PartialEq for S3BucketConfigurationBuilder
impl PartialEq for S3BucketConfigurationBuilder
source§fn eq(&self, other: &S3BucketConfigurationBuilder) -> bool
fn eq(&self, other: &S3BucketConfigurationBuilder) -> bool
self and other values to be equal, and is used by ==.impl StructuralPartialEq for S3BucketConfigurationBuilder
Auto Trait Implementations§
impl Freeze for S3BucketConfigurationBuilder
impl RefUnwindSafe for S3BucketConfigurationBuilder
impl Send for S3BucketConfigurationBuilder
impl Sync for S3BucketConfigurationBuilder
impl Unpin for S3BucketConfigurationBuilder
impl UnwindSafe for S3BucketConfigurationBuilder
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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