Struct aws_sdk_codegurusecurity::operation::list_findings_metrics::builders::ListFindingsMetricsInputBuilder
source · #[non_exhaustive]pub struct ListFindingsMetricsInputBuilder { /* private fields */ }
Expand description
A builder for ListFindingsMetricsInput
.
Implementations§
source§impl ListFindingsMetricsInputBuilder
impl ListFindingsMetricsInputBuilder
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. 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. 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. For subsequent calls, use the nextToken
value returned from the previous request to continue listing results after the first page.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken
element is returned in the response. Use nextToken
in a subsequent request to retrieve additional results.
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 in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken
element is returned in the response. Use nextToken
in a subsequent request to retrieve additional results.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of results to return in the response. Use this parameter when paginating results. If additional results exist beyond the number you specify, the nextToken
element is returned in the response. Use nextToken
in a subsequent request to retrieve additional results.
sourcepub fn start_date(self, input: DateTime) -> Self
pub fn start_date(self, input: DateTime) -> Self
The start date of the interval which you want to retrieve metrics from.
sourcepub fn set_start_date(self, input: Option<DateTime>) -> Self
pub fn set_start_date(self, input: Option<DateTime>) -> Self
The start date of the interval which you want to retrieve metrics from.
sourcepub fn get_start_date(&self) -> &Option<DateTime>
pub fn get_start_date(&self) -> &Option<DateTime>
The start date of the interval which you want to retrieve metrics from.
sourcepub fn end_date(self, input: DateTime) -> Self
pub fn end_date(self, input: DateTime) -> Self
The end date of the interval which you want to retrieve metrics from.
sourcepub fn set_end_date(self, input: Option<DateTime>) -> Self
pub fn set_end_date(self, input: Option<DateTime>) -> Self
The end date of the interval which you want to retrieve metrics from.
sourcepub fn get_end_date(&self) -> &Option<DateTime>
pub fn get_end_date(&self) -> &Option<DateTime>
The end date of the interval which you want to retrieve metrics from.
sourcepub fn build(self) -> Result<ListFindingsMetricsInput, BuildError>
pub fn build(self) -> Result<ListFindingsMetricsInput, BuildError>
Consumes the builder and constructs a ListFindingsMetricsInput
.
source§impl ListFindingsMetricsInputBuilder
impl ListFindingsMetricsInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListFindingsMetricsOutput, SdkError<ListFindingsMetricsError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListFindingsMetricsOutput, SdkError<ListFindingsMetricsError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListFindingsMetricsInputBuilder
impl Clone for ListFindingsMetricsInputBuilder
source§fn clone(&self) -> ListFindingsMetricsInputBuilder
fn clone(&self) -> ListFindingsMetricsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for ListFindingsMetricsInputBuilder
impl Default for ListFindingsMetricsInputBuilder
source§fn default() -> ListFindingsMetricsInputBuilder
fn default() -> ListFindingsMetricsInputBuilder
source§impl PartialEq for ListFindingsMetricsInputBuilder
impl PartialEq for ListFindingsMetricsInputBuilder
source§fn eq(&self, other: &ListFindingsMetricsInputBuilder) -> bool
fn eq(&self, other: &ListFindingsMetricsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.