Struct aws_sdk_codeguruprofiler::operation::get_recommendations::builders::GetRecommendationsOutputBuilder
source · #[non_exhaustive]pub struct GetRecommendationsOutputBuilder { /* private fields */ }
Expand description
A builder for GetRecommendationsOutput
.
Implementations§
source§impl GetRecommendationsOutputBuilder
impl GetRecommendationsOutputBuilder
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 the analysis data is about.
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 the analysis data is about.
sourcepub fn get_profiling_group_name(&self) -> &Option<String>
pub fn get_profiling_group_name(&self) -> &Option<String>
The name of the profiling group the analysis data is about.
sourcepub fn profile_start_time(self, input: DateTime) -> Self
pub fn profile_start_time(self, input: DateTime) -> Self
The start time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn set_profile_start_time(self, input: Option<DateTime>) -> Self
pub fn set_profile_start_time(self, input: Option<DateTime>) -> Self
The start time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn get_profile_start_time(&self) -> &Option<DateTime>
pub fn get_profile_start_time(&self) -> &Option<DateTime>
The start time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn profile_end_time(self, input: DateTime) -> Self
pub fn profile_end_time(self, input: DateTime) -> Self
The end time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn set_profile_end_time(self, input: Option<DateTime>) -> Self
pub fn set_profile_end_time(self, input: Option<DateTime>) -> Self
The end time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn get_profile_end_time(&self) -> &Option<DateTime>
pub fn get_profile_end_time(&self) -> &Option<DateTime>
The end time of the profile the analysis data is about. This is specified using the ISO 8601 format. For example, 2020-06-01T13:15:02.001Z represents 1 millisecond past June 1, 2020 1:15:02 PM UTC.
sourcepub fn recommendations(self, input: Recommendation) -> Self
pub fn recommendations(self, input: Recommendation) -> Self
Appends an item to recommendations
.
To override the contents of this collection use set_recommendations
.
The list of recommendations that the analysis found for this profile.
sourcepub fn set_recommendations(self, input: Option<Vec<Recommendation>>) -> Self
pub fn set_recommendations(self, input: Option<Vec<Recommendation>>) -> Self
The list of recommendations that the analysis found for this profile.
sourcepub fn get_recommendations(&self) -> &Option<Vec<Recommendation>>
pub fn get_recommendations(&self) -> &Option<Vec<Recommendation>>
The list of recommendations that the analysis found for this profile.
sourcepub fn anomalies(self, input: Anomaly) -> Self
pub fn anomalies(self, input: Anomaly) -> Self
Appends an item to anomalies
.
To override the contents of this collection use set_anomalies
.
The list of anomalies that the analysis has found for this profile.
sourcepub fn set_anomalies(self, input: Option<Vec<Anomaly>>) -> Self
pub fn set_anomalies(self, input: Option<Vec<Anomaly>>) -> Self
The list of anomalies that the analysis has found for this profile.
sourcepub fn get_anomalies(&self) -> &Option<Vec<Anomaly>>
pub fn get_anomalies(&self) -> &Option<Vec<Anomaly>>
The list of anomalies that the analysis has found for this profile.
sourcepub fn build(self) -> GetRecommendationsOutput
pub fn build(self) -> GetRecommendationsOutput
Consumes the builder and constructs a GetRecommendationsOutput
.
Trait Implementations§
source§impl Clone for GetRecommendationsOutputBuilder
impl Clone for GetRecommendationsOutputBuilder
source§fn clone(&self) -> GetRecommendationsOutputBuilder
fn clone(&self) -> GetRecommendationsOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetRecommendationsOutputBuilder
impl Default for GetRecommendationsOutputBuilder
source§fn default() -> GetRecommendationsOutputBuilder
fn default() -> GetRecommendationsOutputBuilder
source§impl PartialEq<GetRecommendationsOutputBuilder> for GetRecommendationsOutputBuilder
impl PartialEq<GetRecommendationsOutputBuilder> for GetRecommendationsOutputBuilder
source§fn eq(&self, other: &GetRecommendationsOutputBuilder) -> bool
fn eq(&self, other: &GetRecommendationsOutputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.