Struct aws_sdk_securitylake::operation::list_log_sources::builders::ListLogSourcesInputBuilder
source · #[non_exhaustive]pub struct ListLogSourcesInputBuilder { /* private fields */ }Expand description
A builder for ListLogSourcesInput.
Implementations§
source§impl ListLogSourcesInputBuilder
impl ListLogSourcesInputBuilder
sourcepub fn accounts(self, input: impl Into<String>) -> Self
pub fn accounts(self, input: impl Into<String>) -> Self
Appends an item to accounts.
To override the contents of this collection use set_accounts.
The list of Amazon Web Services accounts for which log sources are displayed.
sourcepub fn set_accounts(self, input: Option<Vec<String>>) -> Self
pub fn set_accounts(self, input: Option<Vec<String>>) -> Self
The list of Amazon Web Services accounts for which log sources are displayed.
sourcepub fn get_accounts(&self) -> &Option<Vec<String>>
pub fn get_accounts(&self) -> &Option<Vec<String>>
The list of Amazon Web Services accounts for which log sources are displayed.
sourcepub fn regions(self, input: impl Into<String>) -> Self
pub fn regions(self, input: impl Into<String>) -> Self
Appends an item to regions.
To override the contents of this collection use set_regions.
The list of Regions for which log sources are displayed.
sourcepub fn set_regions(self, input: Option<Vec<String>>) -> Self
pub fn set_regions(self, input: Option<Vec<String>>) -> Self
The list of Regions for which log sources are displayed.
sourcepub fn get_regions(&self) -> &Option<Vec<String>>
pub fn get_regions(&self) -> &Option<Vec<String>>
The list of Regions for which log sources are displayed.
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.
The list of sources for which log sources are displayed.
sourcepub fn set_sources(self, input: Option<Vec<LogSourceResource>>) -> Self
pub fn set_sources(self, input: Option<Vec<LogSourceResource>>) -> Self
The list of sources for which log sources are displayed.
sourcepub fn get_sources(&self) -> &Option<Vec<LogSourceResource>>
pub fn get_sources(&self) -> &Option<Vec<LogSourceResource>>
The list of sources for which log sources are displayed.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of accounts for which the log sources are displayed.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of accounts for which the log sources are displayed.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of accounts for which the log sources are displayed.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If nextToken is returned, there are more results available. You can repeat the call using the returned token to retrieve the next page.
sourcepub fn build(self) -> Result<ListLogSourcesInput, BuildError>
pub fn build(self) -> Result<ListLogSourcesInput, BuildError>
Consumes the builder and constructs a ListLogSourcesInput.
source§impl ListLogSourcesInputBuilder
impl ListLogSourcesInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListLogSourcesOutput, SdkError<ListLogSourcesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListLogSourcesOutput, SdkError<ListLogSourcesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListLogSourcesInputBuilder
impl Clone for ListLogSourcesInputBuilder
source§fn clone(&self) -> ListLogSourcesInputBuilder
fn clone(&self) -> ListLogSourcesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for ListLogSourcesInputBuilder
impl Debug for ListLogSourcesInputBuilder
source§impl Default for ListLogSourcesInputBuilder
impl Default for ListLogSourcesInputBuilder
source§fn default() -> ListLogSourcesInputBuilder
fn default() -> ListLogSourcesInputBuilder
source§impl PartialEq for ListLogSourcesInputBuilder
impl PartialEq for ListLogSourcesInputBuilder
source§fn eq(&self, other: &ListLogSourcesInputBuilder) -> bool
fn eq(&self, other: &ListLogSourcesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ListLogSourcesInputBuilder
Auto Trait Implementations§
impl Freeze for ListLogSourcesInputBuilder
impl RefUnwindSafe for ListLogSourcesInputBuilder
impl Send for ListLogSourcesInputBuilder
impl Sync for ListLogSourcesInputBuilder
impl Unpin for ListLogSourcesInputBuilder
impl UnwindSafe for ListLogSourcesInputBuilder
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
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)
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>
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>
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 more