Struct aws_sdk_codeguruprofiler::operation::get_recommendations::builders::GetRecommendationsInputBuilder
source · #[non_exhaustive]pub struct GetRecommendationsInputBuilder { /* private fields */ }
Expand description
A builder for GetRecommendationsInput
.
Implementations§
source§impl GetRecommendationsInputBuilder
impl GetRecommendationsInputBuilder
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 to get analysis data 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 to get analysis data about.
sourcepub fn start_time(self, input: DateTime) -> Self
pub fn start_time(self, input: DateTime) -> Self
The end time of the profile to get analysis data about. You must specify startTime
and endTime
. 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_start_time(self, input: Option<DateTime>) -> Self
pub fn set_start_time(self, input: Option<DateTime>) -> Self
The end time of the profile to get analysis data about. You must specify startTime
and endTime
. 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 end_time(self, input: DateTime) -> Self
pub fn end_time(self, input: DateTime) -> Self
The start time of the profile to get analysis data about. You must specify startTime
and endTime
. 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_end_time(self, input: Option<DateTime>) -> Self
pub fn set_end_time(self, input: Option<DateTime>) -> Self
The start time of the profile to get analysis data about. You must specify startTime
and endTime
. 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 locale(self, input: impl Into<String>) -> Self
pub fn locale(self, input: impl Into<String>) -> Self
The language used to provide analysis. Specify using a string that is one of the following BCP 47
language codes.
-
de-DE
- German, Germany -
en-GB
- English, United Kingdom -
en-US
- English, United States -
es-ES
- Spanish, Spain -
fr-FR
- French, France -
it-IT
- Italian, Italy -
ja-JP
- Japanese, Japan -
ko-KR
- Korean, Republic of Korea -
pt-BR
- Portugese, Brazil -
zh-CN
- Chinese, China -
zh-TW
- Chinese, Taiwan
sourcepub fn set_locale(self, input: Option<String>) -> Self
pub fn set_locale(self, input: Option<String>) -> Self
The language used to provide analysis. Specify using a string that is one of the following BCP 47
language codes.
-
de-DE
- German, Germany -
en-GB
- English, United Kingdom -
en-US
- English, United States -
es-ES
- Spanish, Spain -
fr-FR
- French, France -
it-IT
- Italian, Italy -
ja-JP
- Japanese, Japan -
ko-KR
- Korean, Republic of Korea -
pt-BR
- Portugese, Brazil -
zh-CN
- Chinese, China -
zh-TW
- Chinese, Taiwan
sourcepub fn build(self) -> Result<GetRecommendationsInput, BuildError>
pub fn build(self) -> Result<GetRecommendationsInput, BuildError>
Consumes the builder and constructs a GetRecommendationsInput
.
Trait Implementations§
source§impl Clone for GetRecommendationsInputBuilder
impl Clone for GetRecommendationsInputBuilder
source§fn clone(&self) -> GetRecommendationsInputBuilder
fn clone(&self) -> GetRecommendationsInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for GetRecommendationsInputBuilder
impl Default for GetRecommendationsInputBuilder
source§fn default() -> GetRecommendationsInputBuilder
fn default() -> GetRecommendationsInputBuilder
source§impl PartialEq<GetRecommendationsInputBuilder> for GetRecommendationsInputBuilder
impl PartialEq<GetRecommendationsInputBuilder> for GetRecommendationsInputBuilder
source§fn eq(&self, other: &GetRecommendationsInputBuilder) -> bool
fn eq(&self, other: &GetRecommendationsInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.