Struct aws_sdk_redshift::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 id(self, input: impl Into<String>) -> Self
pub fn id(self, input: impl Into<String>) -> Self
A unique identifier of the Advisor recommendation.
sourcepub fn set_id(self, input: Option<String>) -> Self
pub fn set_id(self, input: Option<String>) -> Self
A unique identifier of the Advisor recommendation.
sourcepub fn cluster_identifier(self, input: impl Into<String>) -> Self
pub fn cluster_identifier(self, input: impl Into<String>) -> Self
The unique identifier of the cluster for which the recommendation is returned.
sourcepub fn set_cluster_identifier(self, input: Option<String>) -> Self
pub fn set_cluster_identifier(self, input: Option<String>) -> Self
The unique identifier of the cluster for which the recommendation is returned.
sourcepub fn get_cluster_identifier(&self) -> &Option<String>
pub fn get_cluster_identifier(&self) -> &Option<String>
The unique identifier of the cluster for which the recommendation is returned.
sourcepub fn namespace_arn(self, input: impl Into<String>) -> Self
pub fn namespace_arn(self, input: impl Into<String>) -> Self
The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
sourcepub fn set_namespace_arn(self, input: Option<String>) -> Self
pub fn set_namespace_arn(self, input: Option<String>) -> Self
The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
sourcepub fn get_namespace_arn(&self) -> &Option<String>
pub fn get_namespace_arn(&self) -> &Option<String>
The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
sourcepub fn created_at(self, input: DateTime) -> Self
pub fn created_at(self, input: DateTime) -> Self
The date and time (UTC) that the recommendation was created.
sourcepub fn set_created_at(self, input: Option<DateTime>) -> Self
pub fn set_created_at(self, input: Option<DateTime>) -> Self
The date and time (UTC) that the recommendation was created.
sourcepub fn get_created_at(&self) -> &Option<DateTime>
pub fn get_created_at(&self) -> &Option<DateTime>
The date and time (UTC) that the recommendation was created.
sourcepub fn recommendation_type(self, input: impl Into<String>) -> Self
pub fn recommendation_type(self, input: impl Into<String>) -> Self
The type of Advisor recommendation.
sourcepub fn set_recommendation_type(self, input: Option<String>) -> Self
pub fn set_recommendation_type(self, input: Option<String>) -> Self
The type of Advisor recommendation.
sourcepub fn get_recommendation_type(&self) -> &Option<String>
pub fn get_recommendation_type(&self) -> &Option<String>
The type of Advisor recommendation.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The description of the recommendation.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The description of the recommendation.
sourcepub fn get_description(&self) -> &Option<String>
pub fn get_description(&self) -> &Option<String>
The description of the recommendation.
sourcepub fn observation(self, input: impl Into<String>) -> Self
pub fn observation(self, input: impl Into<String>) -> Self
The description of what was observed about your cluster.
sourcepub fn set_observation(self, input: Option<String>) -> Self
pub fn set_observation(self, input: Option<String>) -> Self
The description of what was observed about your cluster.
sourcepub fn get_observation(&self) -> &Option<String>
pub fn get_observation(&self) -> &Option<String>
The description of what was observed about your cluster.
sourcepub fn impact_ranking(self, input: ImpactRankingType) -> Self
pub fn impact_ranking(self, input: ImpactRankingType) -> Self
The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
sourcepub fn set_impact_ranking(self, input: Option<ImpactRankingType>) -> Self
pub fn set_impact_ranking(self, input: Option<ImpactRankingType>) -> Self
The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
sourcepub fn get_impact_ranking(&self) -> &Option<ImpactRankingType>
pub fn get_impact_ranking(&self) -> &Option<ImpactRankingType>
The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
sourcepub fn recommendation_text(self, input: impl Into<String>) -> Self
pub fn recommendation_text(self, input: impl Into<String>) -> Self
The description of the recommendation.
sourcepub fn set_recommendation_text(self, input: Option<String>) -> Self
pub fn set_recommendation_text(self, input: Option<String>) -> Self
The description of the recommendation.
sourcepub fn get_recommendation_text(&self) -> &Option<String>
pub fn get_recommendation_text(&self) -> &Option<String>
The description of the recommendation.
sourcepub fn recommended_actions(self, input: RecommendedAction) -> Self
pub fn recommended_actions(self, input: RecommendedAction) -> Self
Appends an item to recommended_actions
.
To override the contents of this collection use set_recommended_actions
.
List of Amazon Redshift recommended actions.
sourcepub fn set_recommended_actions(
self,
input: Option<Vec<RecommendedAction>>
) -> Self
pub fn set_recommended_actions( self, input: Option<Vec<RecommendedAction>> ) -> Self
List of Amazon Redshift recommended actions.
sourcepub fn get_recommended_actions(&self) -> &Option<Vec<RecommendedAction>>
pub fn get_recommended_actions(&self) -> &Option<Vec<RecommendedAction>>
List of Amazon Redshift recommended actions.
sourcepub fn reference_links(self, input: ReferenceLink) -> Self
pub fn reference_links(self, input: ReferenceLink) -> Self
Appends an item to reference_links
.
To override the contents of this collection use set_reference_links
.
List of helpful links for more information about the Advisor recommendation.
sourcepub fn set_reference_links(self, input: Option<Vec<ReferenceLink>>) -> Self
pub fn set_reference_links(self, input: Option<Vec<ReferenceLink>>) -> Self
List of helpful links for more information about the Advisor recommendation.
sourcepub fn get_reference_links(&self) -> &Option<Vec<ReferenceLink>>
pub fn get_reference_links(&self) -> &Option<Vec<ReferenceLink>>
List of helpful links for more information about the Advisor recommendation.
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 ==
.