#[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 ==.