Struct aws_sdk_pi::types::builders::RecommendationBuilder
source · #[non_exhaustive]pub struct RecommendationBuilder { /* private fields */ }
Expand description
A builder for Recommendation
.
Implementations§
source§impl RecommendationBuilder
impl RecommendationBuilder
sourcepub fn recommendation_id(self, input: impl Into<String>) -> Self
pub fn recommendation_id(self, input: impl Into<String>) -> Self
The unique identifier for the recommendation.
sourcepub fn set_recommendation_id(self, input: Option<String>) -> Self
pub fn set_recommendation_id(self, input: Option<String>) -> Self
The unique identifier for the recommendation.
sourcepub fn get_recommendation_id(&self) -> &Option<String>
pub fn get_recommendation_id(&self) -> &Option<String>
The unique identifier for the recommendation.
sourcepub fn recommendation_description(self, input: impl Into<String>) -> Self
pub fn recommendation_description(self, input: impl Into<String>) -> Self
The recommendation details to help resolve the performance issue. For example, Investigate the following SQLs that contributed to 100% of the total DBLoad during that time period: sql-id
sourcepub fn set_recommendation_description(self, input: Option<String>) -> Self
pub fn set_recommendation_description(self, input: Option<String>) -> Self
The recommendation details to help resolve the performance issue. For example, Investigate the following SQLs that contributed to 100% of the total DBLoad during that time period: sql-id
sourcepub fn get_recommendation_description(&self) -> &Option<String>
pub fn get_recommendation_description(&self) -> &Option<String>
The recommendation details to help resolve the performance issue. For example, Investigate the following SQLs that contributed to 100% of the total DBLoad during that time period: sql-id
sourcepub fn build(self) -> Recommendation
pub fn build(self) -> Recommendation
Consumes the builder and constructs a Recommendation
.
Trait Implementations§
source§impl Clone for RecommendationBuilder
impl Clone for RecommendationBuilder
source§fn clone(&self) -> RecommendationBuilder
fn clone(&self) -> RecommendationBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RecommendationBuilder
impl Debug for RecommendationBuilder
source§impl Default for RecommendationBuilder
impl Default for RecommendationBuilder
source§fn default() -> RecommendationBuilder
fn default() -> RecommendationBuilder
source§impl PartialEq for RecommendationBuilder
impl PartialEq for RecommendationBuilder
source§fn eq(&self, other: &RecommendationBuilder) -> bool
fn eq(&self, other: &RecommendationBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for RecommendationBuilder
Auto Trait Implementations§
impl Freeze for RecommendationBuilder
impl RefUnwindSafe for RecommendationBuilder
impl Send for RecommendationBuilder
impl Sync for RecommendationBuilder
impl Unpin for RecommendationBuilder
impl UnwindSafe for RecommendationBuilder
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> 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