#[non_exhaustive]pub struct AuditLogDestinationConfigurationBuilder { /* private fields */ }Expand description
A builder for AuditLogDestinationConfiguration.
Implementations§
source§impl AuditLogDestinationConfigurationBuilder
impl AuditLogDestinationConfigurationBuilder
sourcepub fn destination(self, input: Destination) -> Self
pub fn destination(self, input: Destination) -> Self
Contains information about an audit log destination.
This field is required.sourcepub fn set_destination(self, input: Option<Destination>) -> Self
pub fn set_destination(self, input: Option<Destination>) -> Self
Contains information about an audit log destination.
sourcepub fn get_destination(&self) -> &Option<Destination>
pub fn get_destination(&self) -> &Option<Destination>
Contains information about an audit log destination.
sourcepub fn build(self) -> AuditLogDestinationConfiguration
pub fn build(self) -> AuditLogDestinationConfiguration
Consumes the builder and constructs a AuditLogDestinationConfiguration.
Trait Implementations§
source§impl Clone for AuditLogDestinationConfigurationBuilder
impl Clone for AuditLogDestinationConfigurationBuilder
source§fn clone(&self) -> AuditLogDestinationConfigurationBuilder
fn clone(&self) -> AuditLogDestinationConfigurationBuilder
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 Default for AuditLogDestinationConfigurationBuilder
impl Default for AuditLogDestinationConfigurationBuilder
source§fn default() -> AuditLogDestinationConfigurationBuilder
fn default() -> AuditLogDestinationConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AuditLogDestinationConfigurationBuilder
impl PartialEq for AuditLogDestinationConfigurationBuilder
source§fn eq(&self, other: &AuditLogDestinationConfigurationBuilder) -> bool
fn eq(&self, other: &AuditLogDestinationConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AuditLogDestinationConfigurationBuilder
Auto Trait Implementations§
impl Freeze for AuditLogDestinationConfigurationBuilder
impl RefUnwindSafe for AuditLogDestinationConfigurationBuilder
impl Send for AuditLogDestinationConfigurationBuilder
impl Sync for AuditLogDestinationConfigurationBuilder
impl Unpin for AuditLogDestinationConfigurationBuilder
impl UnwindSafe for AuditLogDestinationConfigurationBuilder
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>
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>
Converts
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>
Converts
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 moreCreates a shared type from an unshared type.