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 ==.