#[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 ==.impl StructuralPartialEq for S3BucketLogDestinationBuilder
Auto Trait Implementations§
impl Freeze for S3BucketLogDestinationBuilder
impl RefUnwindSafe for S3BucketLogDestinationBuilder
impl Send for S3BucketLogDestinationBuilder
impl Sync for S3BucketLogDestinationBuilder
impl Unpin for S3BucketLogDestinationBuilder
impl UnwindSafe for S3BucketLogDestinationBuilder
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default 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