Struct aws_sdk_securitylake::types::builders::LogSourceBuilder
source · #[non_exhaustive]pub struct LogSourceBuilder { /* private fields */ }Expand description
A builder for LogSource.
Implementations§
source§impl LogSourceBuilder
impl LogSourceBuilder
sourcepub fn account(self, input: impl Into<String>) -> Self
pub fn account(self, input: impl Into<String>) -> Self
Specify the account from which you want to collect logs.
sourcepub fn set_account(self, input: Option<String>) -> Self
pub fn set_account(self, input: Option<String>) -> Self
Specify the account from which you want to collect logs.
sourcepub fn get_account(&self) -> &Option<String>
pub fn get_account(&self) -> &Option<String>
Specify the account from which you want to collect logs.
sourcepub fn region(self, input: impl Into<String>) -> Self
pub fn region(self, input: impl Into<String>) -> Self
Specify the Regions from which you want to collect logs.
sourcepub fn set_region(self, input: Option<String>) -> Self
pub fn set_region(self, input: Option<String>) -> Self
Specify the Regions from which you want to collect logs.
sourcepub fn get_region(&self) -> &Option<String>
pub fn get_region(&self) -> &Option<String>
Specify the Regions from which you want to collect logs.
sourcepub fn sources(self, input: LogSourceResource) -> Self
pub fn sources(self, input: LogSourceResource) -> Self
Appends an item to sources.
To override the contents of this collection use set_sources.
Specify the sources from which you want to collect logs.
sourcepub fn set_sources(self, input: Option<Vec<LogSourceResource>>) -> Self
pub fn set_sources(self, input: Option<Vec<LogSourceResource>>) -> Self
Specify the sources from which you want to collect logs.
sourcepub fn get_sources(&self) -> &Option<Vec<LogSourceResource>>
pub fn get_sources(&self) -> &Option<Vec<LogSourceResource>>
Specify the sources from which you want to collect logs.
Trait Implementations§
source§impl Clone for LogSourceBuilder
impl Clone for LogSourceBuilder
source§fn clone(&self) -> LogSourceBuilder
fn clone(&self) -> LogSourceBuilder
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 LogSourceBuilder
impl Debug for LogSourceBuilder
source§impl Default for LogSourceBuilder
impl Default for LogSourceBuilder
source§fn default() -> LogSourceBuilder
fn default() -> LogSourceBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for LogSourceBuilder
impl PartialEq for LogSourceBuilder
source§fn eq(&self, other: &LogSourceBuilder) -> bool
fn eq(&self, other: &LogSourceBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for LogSourceBuilder
Auto Trait Implementations§
impl Freeze for LogSourceBuilder
impl RefUnwindSafe for LogSourceBuilder
impl Send for LogSourceBuilder
impl Sync for LogSourceBuilder
impl Unpin for LogSourceBuilder
impl UnwindSafe for LogSourceBuilder
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> 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)
🔬This is a nightly-only experimental API. (
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>
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.