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 ==.