Struct aws_sdk_codeguruprofiler::operation::list_profile_times::builders::ListProfileTimesOutputBuilder
source · #[non_exhaustive]pub struct ListProfileTimesOutputBuilder { /* private fields */ }Expand description
A builder for ListProfileTimesOutput.
Implementations§
source§impl ListProfileTimesOutputBuilder
impl ListProfileTimesOutputBuilder
sourcepub fn profile_times(self, input: ProfileTime) -> Self
pub fn profile_times(self, input: ProfileTime) -> Self
Appends an item to profile_times.
To override the contents of this collection use set_profile_times.
The list of start times of the available profiles for the aggregation period in the specified time range.
sourcepub fn set_profile_times(self, input: Option<Vec<ProfileTime>>) -> Self
pub fn set_profile_times(self, input: Option<Vec<ProfileTime>>) -> Self
The list of start times of the available profiles for the aggregation period in the specified time range.
sourcepub fn get_profile_times(&self) -> &Option<Vec<ProfileTime>>
pub fn get_profile_times(&self) -> &Option<Vec<ProfileTime>>
The list of start times of the available profiles for the aggregation period in the specified time range.
sourcepub fn next_token(self, input: impl Into<String>) -> Self
pub fn next_token(self, input: impl Into<String>) -> Self
The nextToken value to include in a future ListProfileTimes request. When the results of a ListProfileTimes request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn set_next_token(self, input: Option<String>) -> Self
pub fn set_next_token(self, input: Option<String>) -> Self
The nextToken value to include in a future ListProfileTimes request. When the results of a ListProfileTimes request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn get_next_token(&self) -> &Option<String>
pub fn get_next_token(&self) -> &Option<String>
The nextToken value to include in a future ListProfileTimes request. When the results of a ListProfileTimes request exceed maxResults, this value can be used to retrieve the next page of results. This value is null when there are no more results to return.
sourcepub fn build(self) -> Result<ListProfileTimesOutput, BuildError>
pub fn build(self) -> Result<ListProfileTimesOutput, BuildError>
Consumes the builder and constructs a ListProfileTimesOutput.
This method will fail if any of the following fields are not set:
Trait Implementations§
source§impl Clone for ListProfileTimesOutputBuilder
impl Clone for ListProfileTimesOutputBuilder
source§fn clone(&self) -> ListProfileTimesOutputBuilder
fn clone(&self) -> ListProfileTimesOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ListProfileTimesOutputBuilder
impl Default for ListProfileTimesOutputBuilder
source§fn default() -> ListProfileTimesOutputBuilder
fn default() -> ListProfileTimesOutputBuilder
source§impl PartialEq for ListProfileTimesOutputBuilder
impl PartialEq for ListProfileTimesOutputBuilder
source§fn eq(&self, other: &ListProfileTimesOutputBuilder) -> bool
fn eq(&self, other: &ListProfileTimesOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.