#[non_exhaustive]pub struct S3BucketLogDestinationBuilder { /* private fields */ }Expand description
A builder for S3BucketLogDestination.
Implementations§
source§impl S3BucketLogDestinationBuilder
impl S3BucketLogDestinationBuilder
sourcepub fn kms_key_arn(self, input: impl Into<String>) -> Self
pub fn kms_key_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
sourcepub fn set_kms_key_arn(self, input: Option<String>) -> Self
pub fn set_kms_key_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
sourcepub fn get_kms_key_arn(&self) -> &Option<String>
pub fn get_kms_key_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an Amazon Web Services Key Management Service (KMS) key for encrypting audio log files stored in an S3 bucket.
sourcepub fn s3_bucket_arn(self, input: impl Into<String>) -> Self
pub fn s3_bucket_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
This field is required.sourcepub fn set_s3_bucket_arn(self, input: Option<String>) -> Self
pub fn set_s3_bucket_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
sourcepub fn get_s3_bucket_arn(&self) -> &Option<String>
pub fn get_s3_bucket_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of an Amazon S3 bucket where audio log files are stored.
sourcepub fn log_prefix(self, input: impl Into<String>) -> Self
pub fn log_prefix(self, input: impl Into<String>) -> Self
The S3 prefix to assign to audio log files.
This field is required.sourcepub fn set_log_prefix(self, input: Option<String>) -> Self
pub fn set_log_prefix(self, input: Option<String>) -> Self
The S3 prefix to assign to audio log files.
sourcepub fn get_log_prefix(&self) -> &Option<String>
pub fn get_log_prefix(&self) -> &Option<String>
The S3 prefix to assign to audio log files.
sourcepub fn build(self) -> Result<S3BucketLogDestination, BuildError>
pub fn build(self) -> Result<S3BucketLogDestination, BuildError>
Consumes the builder and constructs a S3BucketLogDestination.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for S3BucketLogDestinationBuilder
impl Clone for S3BucketLogDestinationBuilder
source§fn clone(&self) -> S3BucketLogDestinationBuilder
fn clone(&self) -> S3BucketLogDestinationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for S3BucketLogDestinationBuilder
impl Default for S3BucketLogDestinationBuilder
source§fn default() -> S3BucketLogDestinationBuilder
fn default() -> S3BucketLogDestinationBuilder
source§impl PartialEq for S3BucketLogDestinationBuilder
impl PartialEq for S3BucketLogDestinationBuilder
source§fn eq(&self, other: &S3BucketLogDestinationBuilder) -> bool
fn eq(&self, other: &S3BucketLogDestinationBuilder) -> bool
self and other values to be equal, and is used
by ==.