Struct aws_sdk_inspector2::operation::search_vulnerabilities::builders::SearchVulnerabilitiesInputBuilder
source · #[non_exhaustive]pub struct SearchVulnerabilitiesInputBuilder { /* private fields */ }Expand description
A builder for SearchVulnerabilitiesInput.
Implementations§
source§impl SearchVulnerabilitiesInputBuilder
impl SearchVulnerabilitiesInputBuilder
sourcepub fn filter_criteria(self, input: SearchVulnerabilitiesFilterCriteria) -> Self
pub fn filter_criteria(self, input: SearchVulnerabilitiesFilterCriteria) -> Self
The criteria used to filter the results of a vulnerability search.
This field is required.sourcepub fn set_filter_criteria(
self,
input: Option<SearchVulnerabilitiesFilterCriteria>,
) -> Self
pub fn set_filter_criteria( self, input: Option<SearchVulnerabilitiesFilterCriteria>, ) -> Self
The criteria used to filter the results of a vulnerability search.
sourcepub fn get_filter_criteria(
&self,
) -> &Option<SearchVulnerabilitiesFilterCriteria>
pub fn get_filter_criteria( &self, ) -> &Option<SearchVulnerabilitiesFilterCriteria>
The criteria used to filter the results of a vulnerability search.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request to a list action. For subsequent calls, use the NextToken value returned from the previous request to continue listing results after the first page.
sourcepub fn build(self) -> Result<SearchVulnerabilitiesInput, BuildError>
pub fn build(self) -> Result<SearchVulnerabilitiesInput, BuildError>
Consumes the builder and constructs a SearchVulnerabilitiesInput.
source§impl SearchVulnerabilitiesInputBuilder
impl SearchVulnerabilitiesInputBuilder
sourcepub async fn send_with(
self,
client: &Client,
) -> Result<SearchVulnerabilitiesOutput, SdkError<SearchVulnerabilitiesError, HttpResponse>>
pub async fn send_with( self, client: &Client, ) -> Result<SearchVulnerabilitiesOutput, SdkError<SearchVulnerabilitiesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for SearchVulnerabilitiesInputBuilder
impl Clone for SearchVulnerabilitiesInputBuilder
source§fn clone(&self) -> SearchVulnerabilitiesInputBuilder
fn clone(&self) -> SearchVulnerabilitiesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for SearchVulnerabilitiesInputBuilder
impl Default for SearchVulnerabilitiesInputBuilder
source§fn default() -> SearchVulnerabilitiesInputBuilder
fn default() -> SearchVulnerabilitiesInputBuilder
source§impl PartialEq for SearchVulnerabilitiesInputBuilder
impl PartialEq for SearchVulnerabilitiesInputBuilder
source§fn eq(&self, other: &SearchVulnerabilitiesInputBuilder) -> bool
fn eq(&self, other: &SearchVulnerabilitiesInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for SearchVulnerabilitiesInputBuilder
Auto Trait Implementations§
impl Freeze for SearchVulnerabilitiesInputBuilder
impl RefUnwindSafe for SearchVulnerabilitiesInputBuilder
impl Send for SearchVulnerabilitiesInputBuilder
impl Sync for SearchVulnerabilitiesInputBuilder
impl Unpin for SearchVulnerabilitiesInputBuilder
impl UnwindSafe for SearchVulnerabilitiesInputBuilder
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