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<LogSourceBuilder> for LogSourceBuilder
impl PartialEq<LogSourceBuilder> 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 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