#[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
The bucket name of the customer S3 bucket.
sourcepub fn set_bucket_name(self, input: Option<String>) -> Self
pub fn set_bucket_name(self, input: Option<String>) -> Self
The bucket name of the customer S3 bucket.
sourcepub fn get_bucket_name(&self) -> &Option<String>
pub fn get_bucket_name(&self) -> &Option<String>
The bucket name of the customer S3 bucket.
sourcepub fn object_key_prefix(self, input: impl Into<String>) -> Self
pub fn object_key_prefix(self, input: impl Into<String>) -> Self
The object key preview for the customer S3 location.
sourcepub fn set_object_key_prefix(self, input: Option<String>) -> Self
pub fn set_object_key_prefix(self, input: Option<String>) -> Self
The object key preview for the customer S3 location.
sourcepub fn get_object_key_prefix(&self) -> &Option<String>
pub fn get_object_key_prefix(&self) -> &Option<String>
The object key preview for the customer S3 location.
sourcepub fn encryption_option(self, input: S3EncryptionOption) -> Self
pub fn encryption_option(self, input: S3EncryptionOption) -> Self
The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or Amazon Web Services managed key.
sourcepub fn set_encryption_option(self, input: Option<S3EncryptionOption>) -> Self
pub fn set_encryption_option(self, input: Option<S3EncryptionOption>) -> Self
The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or Amazon Web Services managed key.
sourcepub fn get_encryption_option(&self) -> &Option<S3EncryptionOption>
pub fn get_encryption_option(&self) -> &Option<S3EncryptionOption>
The encryption option for the customer S3 location. Options are S3 server-side encryption with an S3 managed key or Amazon Web Services managed key.
sourcepub fn kms_key_id(self, input: impl Into<String>) -> Self
pub fn kms_key_id(self, input: impl Into<String>) -> Self
The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
sourcepub fn set_kms_key_id(self, input: Option<String>) -> Self
pub fn set_kms_key_id(self, input: Option<String>) -> Self
The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
sourcepub fn get_kms_key_id(&self) -> &Option<String>
pub fn get_kms_key_id(&self) -> &Option<String>
The KMS key ID for the customer S3 location when encrypting with an Amazon Web Services managed key.
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<S3ConfigurationBuilder> for S3ConfigurationBuilder
impl PartialEq<S3ConfigurationBuilder> 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 ==
.