Struct aws_sdk_codestarnotifications::operation::list_notification_rules::builders::ListNotificationRulesInputBuilder
source · #[non_exhaustive]pub struct ListNotificationRulesInputBuilder { /* private fields */ }
Expand description
A builder for ListNotificationRulesInput
.
Implementations§
source§impl ListNotificationRulesInputBuilder
impl ListNotificationRulesInputBuilder
sourcepub fn filters(self, input: ListNotificationRulesFilter) -> Self
pub fn filters(self, input: ListNotificationRulesFilter) -> Self
Appends an item to filters
.
To override the contents of this collection use set_filters
.
The filters to use to return information by service or resource type. For valid values, see ListNotificationRulesFilter
.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
sourcepub fn set_filters(
self,
input: Option<Vec<ListNotificationRulesFilter>>
) -> Self
pub fn set_filters( self, input: Option<Vec<ListNotificationRulesFilter>> ) -> Self
The filters to use to return information by service or resource type. For valid values, see ListNotificationRulesFilter
.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
sourcepub fn get_filters(&self) -> &Option<Vec<ListNotificationRulesFilter>>
pub fn get_filters(&self) -> &Option<Vec<ListNotificationRulesFilter>>
The filters to use to return information by service or resource type. For valid values, see ListNotificationRulesFilter
.
A filter with the same name can appear more than once when used with OR statements. Filters with different names should be applied with AND statements.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
An enumeration token that, when provided in a request, returns the next batch of the results.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
An enumeration token that, when provided in a request, returns the next batch of the results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
An enumeration token that, when provided in a request, returns the next batch of the results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
A non-negative integer used to limit the number of returned results. The maximum number of results that can be returned is 100.
sourcepub fn build(self) -> Result<ListNotificationRulesInput, BuildError>
pub fn build(self) -> Result<ListNotificationRulesInput, BuildError>
Consumes the builder and constructs a ListNotificationRulesInput
.
source§impl ListNotificationRulesInputBuilder
impl ListNotificationRulesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListNotificationRulesOutput, SdkError<ListNotificationRulesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListNotificationRulesOutput, SdkError<ListNotificationRulesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListNotificationRulesInputBuilder
impl Clone for ListNotificationRulesInputBuilder
source§fn clone(&self) -> ListNotificationRulesInputBuilder
fn clone(&self) -> ListNotificationRulesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListNotificationRulesInputBuilder
impl Default for ListNotificationRulesInputBuilder
source§fn default() -> ListNotificationRulesInputBuilder
fn default() -> ListNotificationRulesInputBuilder
source§impl PartialEq for ListNotificationRulesInputBuilder
impl PartialEq for ListNotificationRulesInputBuilder
source§fn eq(&self, other: &ListNotificationRulesInputBuilder) -> bool
fn eq(&self, other: &ListNotificationRulesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListNotificationRulesInputBuilder
Auto Trait Implementations§
impl Freeze for ListNotificationRulesInputBuilder
impl RefUnwindSafe for ListNotificationRulesInputBuilder
impl Send for ListNotificationRulesInputBuilder
impl Sync for ListNotificationRulesInputBuilder
impl Unpin for ListNotificationRulesInputBuilder
impl UnwindSafe for ListNotificationRulesInputBuilder
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