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 ==
.impl StructuralPartialEq for ListProfileTimesOutputBuilder
Auto Trait Implementations§
impl Freeze for ListProfileTimesOutputBuilder
impl RefUnwindSafe for ListProfileTimesOutputBuilder
impl Send for ListProfileTimesOutputBuilder
impl Sync for ListProfileTimesOutputBuilder
impl Unpin for ListProfileTimesOutputBuilder
impl UnwindSafe for ListProfileTimesOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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