#[non_exhaustive]pub struct S3ConfigurationBuilder { /* private fields */ }
Expand description
A builder for S3Configuration
.
Implementations§
source§impl S3ConfigurationBuilder
impl S3ConfigurationBuilder
sourcepub fn bucket_name(self, input: impl Into<String>) -> Self
pub fn bucket_name(self, input: impl Into<String>) -> Self
Name of the S3 bucket under which error reports will be created.
sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
Name of the S3 bucket under which error reports will be created.
sourcepub fn get_bucket_name(&self) -> &Option<String>
pub fn get_bucket_name(&self) -> &Option<String>
Name of the S3 bucket under which error reports will be created.
sourcepub fn object_key_prefix(self, input: impl Into<String>) -> Self
pub fn object_key_prefix(self, input: impl Into<String>) -> Self
Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
sourcepub fn set_object_key_prefix(self, input: Option<String>) -> Self
pub fn set_object_key_prefix(self, input: Option<String>) -> Self
Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
sourcepub fn get_object_key_prefix(&self) -> &Option<String>
pub fn get_object_key_prefix(&self) -> &Option<String>
Prefix for the error report key. Timestream by default adds the following prefix to the error report path.
sourcepub fn encryption_option(self, input: S3EncryptionOption) -> Self
pub fn encryption_option(self, input: S3EncryptionOption) -> Self
Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
sourcepub fn set_encryption_option(self, input: Option<S3EncryptionOption>) -> Self
pub fn set_encryption_option(self, input: Option<S3EncryptionOption>) -> Self
Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
sourcepub fn get_encryption_option(&self) -> &Option<S3EncryptionOption>
pub fn get_encryption_option(&self) -> &Option<S3EncryptionOption>
Encryption at rest options for the error reports. If no encryption option is specified, Timestream will choose SSE_S3 as default.
sourcepub fn build(self) -> S3Configuration
pub fn build(self) -> S3Configuration
Consumes the builder and constructs a S3Configuration
.
Trait Implementations§
source§impl Clone for S3ConfigurationBuilder
impl Clone for S3ConfigurationBuilder
source§fn clone(&self) -> S3ConfigurationBuilder
fn clone(&self) -> S3ConfigurationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for S3ConfigurationBuilder
impl Debug for S3ConfigurationBuilder
source§impl Default for S3ConfigurationBuilder
impl Default for S3ConfigurationBuilder
source§fn default() -> S3ConfigurationBuilder
fn default() -> S3ConfigurationBuilder
source§impl PartialEq for S3ConfigurationBuilder
impl PartialEq for S3ConfigurationBuilder
source§fn eq(&self, other: &S3ConfigurationBuilder) -> bool
fn eq(&self, other: &S3ConfigurationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.