Struct aws_sdk_glue::operation::list_crawls::builders::ListCrawlsInputBuilder
source · #[non_exhaustive]pub struct ListCrawlsInputBuilder { /* private fields */ }
Expand description
A builder for ListCrawlsInput
.
Implementations§
source§impl ListCrawlsInputBuilder
impl ListCrawlsInputBuilder
sourcepub fn crawler_name(self, input: impl Into<String>) -> Self
pub fn crawler_name(self, input: impl Into<String>) -> Self
The name of the crawler whose runs you want to retrieve.
This field is required.sourcepub fn set_crawler_name(self, input: Option<String>) -> Self
pub fn set_crawler_name(self, input: Option<String>) -> Self
The name of the crawler whose runs you want to retrieve.
sourcepub fn get_crawler_name(&self) -> &Option<String>
pub fn get_crawler_name(&self) -> &Option<String>
The name of the crawler whose runs you want to retrieve.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return. The default is 20, and maximum is 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of results to return. The default is 20, and maximum is 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return. The default is 20, and maximum is 100.
sourcepub fn filters(self, input: CrawlsFilter) -> Self
pub fn filters(self, input: CrawlsFilter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
Filters the crawls by the criteria you specify in a list of CrawlsFilter
objects.
sourcepub fn set_filters(self, input: Option<Vec<CrawlsFilter>>) -> Self
pub fn set_filters(self, input: Option<Vec<CrawlsFilter>>) -> Self
Filters the crawls by the criteria you specify in a list of CrawlsFilter
objects.
sourcepub fn get_filters(&self) -> &Option<Vec<CrawlsFilter>>
pub fn get_filters(&self) -> &Option<Vec<CrawlsFilter>>
Filters the crawls by the criteria you specify in a list of CrawlsFilter
objects.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A continuation token, if this is a continuation call.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A continuation token, if this is a continuation call.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A continuation token, if this is a continuation call.
sourcepub fn build(self) -> Result<ListCrawlsInput, BuildError>
pub fn build(self) -> Result<ListCrawlsInput, BuildError>
Consumes the builder and constructs a ListCrawlsInput
.
source§impl ListCrawlsInputBuilder
impl ListCrawlsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<ListCrawlsOutput, SdkError<ListCrawlsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<ListCrawlsOutput, SdkError<ListCrawlsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListCrawlsInputBuilder
impl Clone for ListCrawlsInputBuilder
source§fn clone(&self) -> ListCrawlsInputBuilder
fn clone(&self) -> ListCrawlsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListCrawlsInputBuilder
impl Debug for ListCrawlsInputBuilder
source§impl Default for ListCrawlsInputBuilder
impl Default for ListCrawlsInputBuilder
source§fn default() -> ListCrawlsInputBuilder
fn default() -> ListCrawlsInputBuilder
source§impl PartialEq for ListCrawlsInputBuilder
impl PartialEq for ListCrawlsInputBuilder
source§fn eq(&self, other: &ListCrawlsInputBuilder) -> bool
fn eq(&self, other: &ListCrawlsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListCrawlsInputBuilder
Auto Trait Implementations§
impl Freeze for ListCrawlsInputBuilder
impl RefUnwindSafe for ListCrawlsInputBuilder
impl Send for ListCrawlsInputBuilder
impl Sync for ListCrawlsInputBuilder
impl Unpin for ListCrawlsInputBuilder
impl UnwindSafe for ListCrawlsInputBuilder
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> 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