Struct aws_sdk_cloudwatchlogs::operation::describe_query_definitions::builders::DescribeQueryDefinitionsInputBuilder
source · #[non_exhaustive]pub struct DescribeQueryDefinitionsInputBuilder { /* private fields */ }
Expand description
A builder for DescribeQueryDefinitionsInput
.
Implementations§
source§impl DescribeQueryDefinitionsInputBuilder
impl DescribeQueryDefinitionsInputBuilder
sourcepub fn query_definition_name_prefix(self, input: impl Into<String>) -> Self
pub fn query_definition_name_prefix(self, input: impl Into<String>) -> Self
Use this parameter to filter your results to only the query definitions that have names that start with the prefix you specify.
sourcepub fn set_query_definition_name_prefix(self, input: Option<String>) -> Self
pub fn set_query_definition_name_prefix(self, input: Option<String>) -> Self
Use this parameter to filter your results to only the query definitions that have names that start with the prefix you specify.
sourcepub fn get_query_definition_name_prefix(&self) -> &Option<String>
pub fn get_query_definition_name_prefix(&self) -> &Option<String>
Use this parameter to filter your results to only the query definitions that have names that start with the prefix you specify.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
Limits the number of returned query definitions to the specified number.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
Limits the number of returned query definitions to the specified number.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
Limits the number of returned query definitions to the specified number.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The token for the next set of items to return. The token expires after 24 hours.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The token for the next set of items to return. The token expires after 24 hours.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of items to return. The token expires after 24 hours.
sourcepub fn build(self) -> Result<DescribeQueryDefinitionsInput, BuildError>
pub fn build(self) -> Result<DescribeQueryDefinitionsInput, BuildError>
Consumes the builder and constructs a DescribeQueryDefinitionsInput
.
source§impl DescribeQueryDefinitionsInputBuilder
impl DescribeQueryDefinitionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<DescribeQueryDefinitionsOutput, SdkError<DescribeQueryDefinitionsError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<DescribeQueryDefinitionsOutput, SdkError<DescribeQueryDefinitionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for DescribeQueryDefinitionsInputBuilder
impl Clone for DescribeQueryDefinitionsInputBuilder
source§fn clone(&self) -> DescribeQueryDefinitionsInputBuilder
fn clone(&self) -> DescribeQueryDefinitionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for DescribeQueryDefinitionsInputBuilder
impl Default for DescribeQueryDefinitionsInputBuilder
source§fn default() -> DescribeQueryDefinitionsInputBuilder
fn default() -> DescribeQueryDefinitionsInputBuilder
source§impl PartialEq for DescribeQueryDefinitionsInputBuilder
impl PartialEq for DescribeQueryDefinitionsInputBuilder
source§fn eq(&self, other: &DescribeQueryDefinitionsInputBuilder) -> bool
fn eq(&self, other: &DescribeQueryDefinitionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DescribeQueryDefinitionsInputBuilder
Auto Trait Implementations§
impl Freeze for DescribeQueryDefinitionsInputBuilder
impl RefUnwindSafe for DescribeQueryDefinitionsInputBuilder
impl Send for DescribeQueryDefinitionsInputBuilder
impl Sync for DescribeQueryDefinitionsInputBuilder
impl Unpin for DescribeQueryDefinitionsInputBuilder
impl UnwindSafe for DescribeQueryDefinitionsInputBuilder
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