Struct aws_sdk_health::operation::describe_event_types::builders::DescribeEventTypesInputBuilder
source · #[non_exhaustive]pub struct DescribeEventTypesInputBuilder { /* private fields */ }
Expand description
A builder for DescribeEventTypesInput
.
Implementations§
source§impl DescribeEventTypesInputBuilder
impl DescribeEventTypesInputBuilder
sourcepub fn filter(self, input: EventTypeFilter) -> Self
pub fn filter(self, input: EventTypeFilter) -> Self
Values to narrow the results returned.
sourcepub fn set_filter(self, input: Option<EventTypeFilter>) -> Self
pub fn set_filter(self, input: Option<EventTypeFilter>) -> Self
Values to narrow the results returned.
sourcepub fn get_filter(&self) -> &Option<EventTypeFilter>
pub fn get_filter(&self) -> &Option<EventTypeFilter>
Values to narrow the results returned.
sourcepub fn locale(self, input: impl Into<String>) -> Self
pub fn locale(self, input: impl Into<String>) -> Self
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
sourcepub fn set_locale(self, input: Option<String>) -> Self
pub fn set_locale(self, input: Option<String>) -> Self
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
sourcepub fn get_locale(&self) -> &Option<String>
pub fn get_locale(&self) -> &Option<String>
The locale (language) to return information in. English (en) is the default and the only supported value at this time.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
If the results of a search are large, only a portion of the results are returned, and a nextToken
pagination token is returned in the response. To retrieve the next batch of results, reissue the search request and include the returned token. When all results have been returned, the response does not contain a pagination token value.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of items to return in one batch, between 10 and 100, inclusive.
If you don't specify the maxResults
parameter, this operation returns a maximum of 30 items by default.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of items to return in one batch, between 10 and 100, inclusive.
If you don't specify the maxResults
parameter, this operation returns a maximum of 30 items by default.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of items to return in one batch, between 10 and 100, inclusive.
If you don't specify the maxResults
parameter, this operation returns a maximum of 30 items by default.
sourcepub fn build(self) -> Result<DescribeEventTypesInput, BuildError>
pub fn build(self) -> Result<DescribeEventTypesInput, BuildError>
Consumes the builder and constructs a DescribeEventTypesInput
.
source§impl DescribeEventTypesInputBuilder
impl DescribeEventTypesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<DescribeEventTypesOutput, SdkError<DescribeEventTypesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<DescribeEventTypesOutput, SdkError<DescribeEventTypesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeEventTypesInputBuilder
impl Clone for DescribeEventTypesInputBuilder
source§fn clone(&self) -> DescribeEventTypesInputBuilder
fn clone(&self) -> DescribeEventTypesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeEventTypesInputBuilder
impl Default for DescribeEventTypesInputBuilder
source§fn default() -> DescribeEventTypesInputBuilder
fn default() -> DescribeEventTypesInputBuilder
source§impl PartialEq for DescribeEventTypesInputBuilder
impl PartialEq for DescribeEventTypesInputBuilder
source§fn eq(&self, other: &DescribeEventTypesInputBuilder) -> bool
fn eq(&self, other: &DescribeEventTypesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeEventTypesInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeEventTypesInputBuilder
impl RefUnwindSafe for DescribeEventTypesInputBuilder
impl Send for DescribeEventTypesInputBuilder
impl Sync for DescribeEventTypesInputBuilder
impl Unpin for DescribeEventTypesInputBuilder
impl UnwindSafe for DescribeEventTypesInputBuilder
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