#[non_exhaustive]pub struct AudioLogDestinationBuilder { /* private fields */ }
Expand description
A builder for AudioLogDestination
.
Implementations§
source§impl AudioLogDestinationBuilder
impl AudioLogDestinationBuilder
sourcepub fn s3_bucket(self, input: S3BucketLogDestination) -> Self
pub fn s3_bucket(self, input: S3BucketLogDestination) -> Self
The Amazon S3 bucket where the audio log files are stored. The IAM role specified in the roleArn
parameter of the CreateBot operation must have permission to write to this bucket.
sourcepub fn set_s3_bucket(self, input: Option<S3BucketLogDestination>) -> Self
pub fn set_s3_bucket(self, input: Option<S3BucketLogDestination>) -> Self
The Amazon S3 bucket where the audio log files are stored. The IAM role specified in the roleArn
parameter of the CreateBot operation must have permission to write to this bucket.
sourcepub fn get_s3_bucket(&self) -> &Option<S3BucketLogDestination>
pub fn get_s3_bucket(&self) -> &Option<S3BucketLogDestination>
The Amazon S3 bucket where the audio log files are stored. The IAM role specified in the roleArn
parameter of the CreateBot operation must have permission to write to this bucket.
sourcepub fn build(self) -> AudioLogDestination
pub fn build(self) -> AudioLogDestination
Consumes the builder and constructs a AudioLogDestination
.
Trait Implementations§
source§impl Clone for AudioLogDestinationBuilder
impl Clone for AudioLogDestinationBuilder
source§fn clone(&self) -> AudioLogDestinationBuilder
fn clone(&self) -> AudioLogDestinationBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for AudioLogDestinationBuilder
impl Debug for AudioLogDestinationBuilder
source§impl Default for AudioLogDestinationBuilder
impl Default for AudioLogDestinationBuilder
source§fn default() -> AudioLogDestinationBuilder
fn default() -> AudioLogDestinationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AudioLogDestinationBuilder
impl PartialEq for AudioLogDestinationBuilder
source§fn eq(&self, other: &AudioLogDestinationBuilder) -> bool
fn eq(&self, other: &AudioLogDestinationBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for AudioLogDestinationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AudioLogDestinationBuilder
impl Send for AudioLogDestinationBuilder
impl Sync for AudioLogDestinationBuilder
impl Unpin for AudioLogDestinationBuilder
impl UnwindSafe for AudioLogDestinationBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.