#[non_exhaustive]pub struct CustomLogSourceResource {
pub source_name: Option<String>,
pub source_version: Option<String>,
pub provider: Option<CustomLogSourceProvider>,
pub attributes: Option<CustomLogSourceAttributes>,
}
Expand description
Amazon Security Lake can collect logs and events from third-party custom sources.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.source_name: Option<String>
The name for a third-party custom source. This must be a Regionally unique value.
source_version: Option<String>
The version for a third-party custom source. This must be a Regionally unique value.
provider: Option<CustomLogSourceProvider>
The details of the log provider for a third-party custom source.
attributes: Option<CustomLogSourceAttributes>
The attributes of a third-party custom source.
Implementations§
source§impl CustomLogSourceResource
impl CustomLogSourceResource
sourcepub fn source_name(&self) -> Option<&str>
pub fn source_name(&self) -> Option<&str>
The name for a third-party custom source. This must be a Regionally unique value.
sourcepub fn source_version(&self) -> Option<&str>
pub fn source_version(&self) -> Option<&str>
The version for a third-party custom source. This must be a Regionally unique value.
sourcepub fn provider(&self) -> Option<&CustomLogSourceProvider>
pub fn provider(&self) -> Option<&CustomLogSourceProvider>
The details of the log provider for a third-party custom source.
sourcepub fn attributes(&self) -> Option<&CustomLogSourceAttributes>
pub fn attributes(&self) -> Option<&CustomLogSourceAttributes>
The attributes of a third-party custom source.
source§impl CustomLogSourceResource
impl CustomLogSourceResource
sourcepub fn builder() -> CustomLogSourceResourceBuilder
pub fn builder() -> CustomLogSourceResourceBuilder
Creates a new builder-style object to manufacture CustomLogSourceResource
.
Trait Implementations§
source§impl Clone for CustomLogSourceResource
impl Clone for CustomLogSourceResource
source§fn clone(&self) -> CustomLogSourceResource
fn clone(&self) -> CustomLogSourceResource
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 CustomLogSourceResource
impl Debug for CustomLogSourceResource
source§impl PartialEq for CustomLogSourceResource
impl PartialEq for CustomLogSourceResource
source§fn eq(&self, other: &CustomLogSourceResource) -> bool
fn eq(&self, other: &CustomLogSourceResource) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CustomLogSourceResource
Auto Trait Implementations§
impl RefUnwindSafe for CustomLogSourceResource
impl Send for CustomLogSourceResource
impl Sync for CustomLogSourceResource
impl Unpin for CustomLogSourceResource
impl UnwindSafe for CustomLogSourceResource
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.