Struct aws_sdk_securitylake::operation::list_log_sources::builders::ListLogSourcesFluentBuilder
source · pub struct ListLogSourcesFluentBuilder { /* private fields */ }Expand description
Fluent builder constructing a request to ListLogSources.
Retrieves the log sources in the current Amazon Web Services Region.
Implementations§
source§impl ListLogSourcesFluentBuilder
impl ListLogSourcesFluentBuilder
sourcepub fn as_input(&self) -> &ListLogSourcesInputBuilder
pub fn as_input(&self) -> &ListLogSourcesInputBuilder
Access the ListLogSources as a reference.
sourcepub async fn send(
self
) -> Result<ListLogSourcesOutput, SdkError<ListLogSourcesError, HttpResponse>>
pub async fn send( self ) -> Result<ListLogSourcesOutput, SdkError<ListLogSourcesError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self
) -> CustomizableOperation<ListLogSourcesOutput, ListLogSourcesError, Self>
pub fn customize( self ) -> CustomizableOperation<ListLogSourcesOutput, ListLogSourcesError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn into_paginator(self) -> ListLogSourcesPaginator
pub fn into_paginator(self) -> ListLogSourcesPaginator
Create a paginator for this request
Paginators are used by calling send().await which returns a PaginationStream.
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.
Trait Implementations§
source§impl Clone for ListLogSourcesFluentBuilder
impl Clone for ListLogSourcesFluentBuilder
source§fn clone(&self) -> ListLogSourcesFluentBuilder
fn clone(&self) -> ListLogSourcesFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more