#[non_exhaustive]pub struct AuditLogProcessingConfigurationBuilder { /* private fields */ }Expand description
A builder for AuditLogProcessingConfiguration.
Implementations§
source§impl AuditLogProcessingConfigurationBuilder
impl AuditLogProcessingConfigurationBuilder
sourcepub fn schema(self, input: Schema) -> Self
pub fn schema(self, input: Schema) -> Self
The event schema in which the audit logs need to be formatted.
This field is required.sourcepub fn set_schema(self, input: Option<Schema>) -> Self
pub fn set_schema(self, input: Option<Schema>) -> Self
The event schema in which the audit logs need to be formatted.
sourcepub fn get_schema(&self) -> &Option<Schema>
pub fn get_schema(&self) -> &Option<Schema>
The event schema in which the audit logs need to be formatted.
sourcepub fn format(self, input: Format) -> Self
pub fn format(self, input: Format) -> Self
The format in which the audit logs need to be formatted.
This field is required.sourcepub fn set_format(self, input: Option<Format>) -> Self
pub fn set_format(self, input: Option<Format>) -> Self
The format in which the audit logs need to be formatted.
sourcepub fn get_format(&self) -> &Option<Format>
pub fn get_format(&self) -> &Option<Format>
The format in which the audit logs need to be formatted.
sourcepub fn build(self) -> Result<AuditLogProcessingConfiguration, BuildError>
pub fn build(self) -> Result<AuditLogProcessingConfiguration, BuildError>
Consumes the builder and constructs a AuditLogProcessingConfiguration.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for AuditLogProcessingConfigurationBuilder
impl Clone for AuditLogProcessingConfigurationBuilder
source§fn clone(&self) -> AuditLogProcessingConfigurationBuilder
fn clone(&self) -> AuditLogProcessingConfigurationBuilder
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 AuditLogProcessingConfigurationBuilder
impl Default for AuditLogProcessingConfigurationBuilder
source§fn default() -> AuditLogProcessingConfigurationBuilder
fn default() -> AuditLogProcessingConfigurationBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AuditLogProcessingConfigurationBuilder
impl PartialEq for AuditLogProcessingConfigurationBuilder
source§fn eq(&self, other: &AuditLogProcessingConfigurationBuilder) -> bool
fn eq(&self, other: &AuditLogProcessingConfigurationBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AuditLogProcessingConfigurationBuilder
Auto Trait Implementations§
impl RefUnwindSafe for AuditLogProcessingConfigurationBuilder
impl Send for AuditLogProcessingConfigurationBuilder
impl Sync for AuditLogProcessingConfigurationBuilder
impl Unpin for AuditLogProcessingConfigurationBuilder
impl UnwindSafe for AuditLogProcessingConfigurationBuilder
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.