Struct aws_sdk_securitylake::operation::get_data_lake_sources::builders::GetDataLakeSourcesInputBuilder
source · #[non_exhaustive]pub struct GetDataLakeSourcesInputBuilder { /* private fields */ }Expand description
A builder for GetDataLakeSourcesInput.
Implementations§
source§impl GetDataLakeSourcesInputBuilder
impl GetDataLakeSourcesInputBuilder
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 Amazon Web Services account ID for which a static snapshot of the current Amazon Web Services Region, including enabled accounts and log sources, is retrieved.
sourcepub fn set_accounts(self, input: Option<Vec<String>>) -> Self
pub fn set_accounts(self, input: Option<Vec<String>>) -> Self
The Amazon Web Services account ID for which a static snapshot of the current Amazon Web Services Region, including enabled accounts and log sources, is retrieved.
sourcepub fn get_accounts(&self) -> &Option<Vec<String>>
pub fn get_accounts(&self) -> &Option<Vec<String>>
The Amazon Web Services account ID for which a static snapshot of the current Amazon Web Services Region, including enabled accounts and log sources, is retrieved.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum limit of accounts for which the static snapshot of the current Region, including enabled accounts and log sources, is retrieved.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum limit of accounts for which the static snapshot of the current Region, including enabled accounts and log sources, is retrieved.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum limit of accounts for which the static snapshot of the current Region, including enabled accounts and log sources, is retrieved.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
Lists if there are more results available. The value of nextToken is a unique pagination token for each page. Repeat the call using the returned token to retrieve the next page. Keep all other arguments unchanged.
Each pagination token expires after 24 hours. Using an expired pagination token will return an HTTP 400 InvalidToken error.
sourcepub fn build(self) -> Result<GetDataLakeSourcesInput, BuildError>
pub fn build(self) -> Result<GetDataLakeSourcesInput, BuildError>
Consumes the builder and constructs a GetDataLakeSourcesInput.
source§impl GetDataLakeSourcesInputBuilder
impl GetDataLakeSourcesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<GetDataLakeSourcesOutput, SdkError<GetDataLakeSourcesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<GetDataLakeSourcesOutput, SdkError<GetDataLakeSourcesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for GetDataLakeSourcesInputBuilder
impl Clone for GetDataLakeSourcesInputBuilder
source§fn clone(&self) -> GetDataLakeSourcesInputBuilder
fn clone(&self) -> GetDataLakeSourcesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for GetDataLakeSourcesInputBuilder
impl Default for GetDataLakeSourcesInputBuilder
source§fn default() -> GetDataLakeSourcesInputBuilder
fn default() -> GetDataLakeSourcesInputBuilder
source§impl PartialEq<GetDataLakeSourcesInputBuilder> for GetDataLakeSourcesInputBuilder
impl PartialEq<GetDataLakeSourcesInputBuilder> for GetDataLakeSourcesInputBuilder
source§fn eq(&self, other: &GetDataLakeSourcesInputBuilder) -> bool
fn eq(&self, other: &GetDataLakeSourcesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.