Struct aws_sdk_codeguruprofiler::operation::list_profile_times::builders::ListProfileTimesInputBuilder
source · #[non_exhaustive]pub struct ListProfileTimesInputBuilder { /* private fields */ }
Expand description
A builder for ListProfileTimesInput
.
Implementations§
source§impl ListProfileTimesInputBuilder
impl ListProfileTimesInputBuilder
sourcepub fn profiling_group_name(self, input: impl Into<String>) -> Self
pub fn profiling_group_name(self, input: impl Into<String>) -> Self
The name of the profiling group.
sourcepub fn set_profiling_group_name(self, input: Option<String>) -> Self
pub fn set_profiling_group_name(self, input: Option<String>) -> Self
The name of the profiling group.
sourcepub fn get_profiling_group_name(&self) -> &Option<String>
pub fn get_profiling_group_name(&self) -> &Option<String>
The name of the profiling group.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The start time of the time range from which to list the profiles.
sourcepub fn set_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The start time of the time range from which to list the profiles.
sourcepub fn get_start_time(&self) -> &Option<DateTime>
pub fn get_start_time(&self) -> &Option<DateTime>
The start time of the time range from which to list the profiles.
sourcepub fn end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The end time of the time range from which to list the profiles.
sourcepub fn set_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The end time of the time range from which to list the profiles.
sourcepub fn get_end_time(&self) -> &Option<DateTime>
pub fn get_end_time(&self) -> &Option<DateTime>
The end time of the time range from which to list the profiles.
sourcepub fn period(self, input: AggregationPeriod) -> Self
pub fn period(self, input: AggregationPeriod) -> Self
The aggregation period. This specifies the period during which an aggregation profile collects posted agent profiles for a profiling group. There are 3 valid values.
-
P1D
— 1 day -
PT1H
— 1 hour -
PT5M
— 5 minutes
sourcepub fn set_period(self, input: Option<AggregationPeriod>) -> Self
pub fn set_period(self, input: Option<AggregationPeriod>) -> Self
The aggregation period. This specifies the period during which an aggregation profile collects posted agent profiles for a profiling group. There are 3 valid values.
-
P1D
— 1 day -
PT1H
— 1 hour -
PT5M
— 5 minutes
sourcepub fn get_period(&self) -> &Option<AggregationPeriod>
pub fn get_period(&self) -> &Option<AggregationPeriod>
The aggregation period. This specifies the period during which an aggregation profile collects posted agent profiles for a profiling group. There are 3 valid values.
-
P1D
— 1 day -
PT1H
— 1 hour -
PT5M
— 5 minutes
sourcepub fn order_by(self, input: OrderBy) -> Self
pub fn order_by(self, input: OrderBy) -> Self
The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults to TIMESTAMP_DESCENDING
.
sourcepub fn set_order_by(self, input: Option<OrderBy>) -> Self
pub fn set_order_by(self, input: Option<OrderBy>) -> Self
The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults to TIMESTAMP_DESCENDING
.
sourcepub fn get_order_by(&self) -> &Option<OrderBy>
pub fn get_order_by(&self) -> &Option<OrderBy>
The order (ascending or descending by start time of the profile) to use when listing profiles. Defaults to TIMESTAMP_DESCENDING
.
sourcepub fn max_results(self, input: i32) -> Self
pub fn max_results(self, input: i32) -> Self
The maximum number of profile time results returned by ListProfileTimes
in paginated output. When this parameter is used, ListProfileTimes
only returns maxResults
results in a single page with a nextToken
response element. The remaining results of the initial request can be seen by sending another ListProfileTimes
request with the returned nextToken
value.
sourcepub fn set_max_results(self, input: Option<i32>) -> Self
pub fn set_max_results(self, input: Option<i32>) -> Self
The maximum number of profile time results returned by ListProfileTimes
in paginated output. When this parameter is used, ListProfileTimes
only returns maxResults
results in a single page with a nextToken
response element. The remaining results of the initial request can be seen by sending another ListProfileTimes
request with the returned nextToken
value.
sourcepub fn get_max_results(&self) -> &Option<i32>
pub fn get_max_results(&self) -> &Option<i32>
The maximum number of profile time results returned by ListProfileTimes
in paginated output. When this parameter is used, ListProfileTimes
only returns maxResults
results in a single page with a nextToken
response element. The remaining results of the initial request can be seen by sending another ListProfileTimes
request with the returned nextToken
value.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken
value returned from a previous paginated ListProfileTimes
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken
value returned from a previous paginated ListProfileTimes
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken
value returned from a previous paginated ListProfileTimes
request where maxResults
was used and the results exceeded the value of that parameter. Pagination continues from the end of the previous results that returned the nextToken
value.
This token should be treated as an opaque identifier that is only used to retrieve the next items in a list and not for other programmatic purposes.
sourcepub fn build(self) -> Result<ListProfileTimesInput, BuildError>
pub fn build(self) -> Result<ListProfileTimesInput, BuildError>
Consumes the builder and constructs a ListProfileTimesInput
.
source§impl ListProfileTimesInputBuilder
impl ListProfileTimesInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<ListProfileTimesOutput, SdkError<ListProfileTimesError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<ListProfileTimesOutput, SdkError<ListProfileTimesError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for ListProfileTimesInputBuilder
impl Clone for ListProfileTimesInputBuilder
source§fn clone(&self) -> ListProfileTimesInputBuilder
fn clone(&self) -> ListProfileTimesInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for ListProfileTimesInputBuilder
impl Debug for ListProfileTimesInputBuilder
source§impl Default for ListProfileTimesInputBuilder
impl Default for ListProfileTimesInputBuilder
source§fn default() -> ListProfileTimesInputBuilder
fn default() -> ListProfileTimesInputBuilder
source§impl PartialEq<ListProfileTimesInputBuilder> for ListProfileTimesInputBuilder
impl PartialEq<ListProfileTimesInputBuilder> for ListProfileTimesInputBuilder
source§fn eq(&self, other: &ListProfileTimesInputBuilder) -> bool
fn eq(&self, other: &ListProfileTimesInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.