Struct aws_sdk_iot::operation::list_audit_suppressions::builders::ListAuditSuppressionsInputBuilder
source · #[non_exhaustive]pub struct ListAuditSuppressionsInputBuilder { /* private fields */ }
Expand description
A builder for ListAuditSuppressionsInput
.
Implementations§
source§impl ListAuditSuppressionsInputBuilder
impl ListAuditSuppressionsInputBuilder
sourcepub fn check_name(self, input: impl Into<String>) -> Self
pub fn check_name(self, input: impl Into<String>) -> Self
An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
to select which checks are enabled.)
sourcepub fn set_check_name(self, input: Option<String>) -> Self
pub fn set_check_name(self, input: Option<String>) -> Self
An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
to select which checks are enabled.)
sourcepub fn get_check_name(&self) -> &Option<String>
pub fn get_check_name(&self) -> &Option<String>
An audit check name. Checks must be enabled for your account. (Use DescribeAccountAuditConfiguration
to see the list of all checks, including those that are enabled or use UpdateAccountAuditConfiguration
to select which checks are enabled.)
sourcepub fn resource_identifier(self, input: ResourceIdentifier) -> Self
pub fn resource_identifier(self, input: ResourceIdentifier) -> Self
Information that identifies the noncompliant resource.
sourcepub fn set_resource_identifier(self, input: Option<ResourceIdentifier>) -> Self
pub fn set_resource_identifier(self, input: Option<ResourceIdentifier>) -> Self
Information that identifies the noncompliant resource.
sourcepub fn get_resource_identifier(&self) -> &Option<ResourceIdentifier>
pub fn get_resource_identifier(&self) -> &Option<ResourceIdentifier>
Information that identifies the noncompliant resource.
sourcepub fn ascending_order(self, input: bool) -> Self
pub fn ascending_order(self, input: bool) -> Self
Determines whether suppressions are listed in ascending order by expiration date or not. If parameter isn't provided, ascendingOrder=true
.
sourcepub fn set_ascending_order(self, input: Option<bool>) -> Self
pub fn set_ascending_order(self, input: Option<bool>) -> Self
Determines whether suppressions are listed in ascending order by expiration date or not. If parameter isn't provided, ascendingOrder=true
.
sourcepub fn get_ascending_order(&self) -> &Option<bool>
pub fn get_ascending_order(&self) -> &Option<bool>
Determines whether suppressions are listed in ascending order by expiration date or not. If parameter isn't provided, ascendingOrder=true
.
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 results.
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 results.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The token for the next set of results.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return at one time. The default is 25.
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 at one time. The default is 25.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return at one time. The default is 25.
sourcepub fn build(self) -> Result<ListAuditSuppressionsInput, BuildError>
pub fn build(self) -> Result<ListAuditSuppressionsInput, BuildError>
Consumes the builder and constructs a ListAuditSuppressionsInput
.
source§impl ListAuditSuppressionsInputBuilder
impl ListAuditSuppressionsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListAuditSuppressionsOutput, SdkError<ListAuditSuppressionsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListAuditSuppressionsOutput, SdkError<ListAuditSuppressionsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListAuditSuppressionsInputBuilder
impl Clone for ListAuditSuppressionsInputBuilder
source§fn clone(&self) -> ListAuditSuppressionsInputBuilder
fn clone(&self) -> ListAuditSuppressionsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListAuditSuppressionsInputBuilder
impl Default for ListAuditSuppressionsInputBuilder
source§fn default() -> ListAuditSuppressionsInputBuilder
fn default() -> ListAuditSuppressionsInputBuilder
source§impl PartialEq for ListAuditSuppressionsInputBuilder
impl PartialEq for ListAuditSuppressionsInputBuilder
source§fn eq(&self, other: &ListAuditSuppressionsInputBuilder) -> bool
fn eq(&self, other: &ListAuditSuppressionsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ListAuditSuppressionsInputBuilder
Auto Trait Implementations§
impl Freeze for ListAuditSuppressionsInputBuilder
impl RefUnwindSafe for ListAuditSuppressionsInputBuilder
impl Send for ListAuditSuppressionsInputBuilder
impl Sync for ListAuditSuppressionsInputBuilder
impl Unpin for ListAuditSuppressionsInputBuilder
impl UnwindSafe for ListAuditSuppressionsInputBuilder
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