Struct aws_sdk_redshift::types::Recommendation
source · #[non_exhaustive]pub struct Recommendation {
pub id: Option<String>,
pub cluster_identifier: Option<String>,
pub namespace_arn: Option<String>,
pub created_at: Option<DateTime>,
pub recommendation_type: Option<String>,
pub title: Option<String>,
pub description: Option<String>,
pub observation: Option<String>,
pub impact_ranking: Option<ImpactRankingType>,
pub recommendation_text: Option<String>,
pub recommended_actions: Option<Vec<RecommendedAction>>,
pub reference_links: Option<Vec<ReferenceLink>>,
}
Expand description
An Amazon Redshift Advisor recommended action on the Amazon Redshift cluster.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.id: Option<String>
A unique identifier of the Advisor recommendation.
cluster_identifier: Option<String>
The unique identifier of the cluster for which the recommendation is returned.
namespace_arn: Option<String>
The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
created_at: Option<DateTime>
The date and time (UTC) that the recommendation was created.
recommendation_type: Option<String>
The type of Advisor recommendation.
title: Option<String>
The title of the recommendation.
description: Option<String>
The description of the recommendation.
observation: Option<String>
The description of what was observed about your cluster.
impact_ranking: Option<ImpactRankingType>
The scale of the impact that the Advisor recommendation has to the performance and cost of the cluster.
recommendation_text: Option<String>
The description of the recommendation.
recommended_actions: Option<Vec<RecommendedAction>>
List of Amazon Redshift recommended actions.
reference_links: Option<Vec<ReferenceLink>>
List of helpful links for more information about the Advisor recommendation.
Implementations§
source§impl Recommendation
impl Recommendation
sourcepub fn cluster_identifier(&self) -> Option<&str>
pub fn cluster_identifier(&self) -> Option<&str>
The unique identifier of the cluster for which the recommendation is returned.
sourcepub fn namespace_arn(&self) -> Option<&str>
pub fn namespace_arn(&self) -> Option<&str>
The Amazon Redshift cluster namespace ARN for which the recommendations is returned.
sourcepub fn created_at(&self) -> Option<&DateTime>
pub fn created_at(&self) -> Option<&DateTime>
The date and time (UTC) that the recommendation was created.
sourcepub fn recommendation_type(&self) -> Option<&str>
pub fn recommendation_type(&self) -> Option<&str>
The type of Advisor recommendation.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
The description of the recommendation.
sourcepub fn observation(&self) -> Option<&str>
pub fn observation(&self) -> Option<&str>
The description of what was observed about your cluster.
sourcepub fn impact_ranking(&self) -> Option<&ImpactRankingType>
pub fn 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) -> Option<&str>
pub fn recommendation_text(&self) -> Option<&str>
The description of the recommendation.
sourcepub fn recommended_actions(&self) -> &[RecommendedAction]
pub fn recommended_actions(&self) -> &[RecommendedAction]
List of Amazon Redshift recommended actions.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .recommended_actions.is_none()
.
sourcepub fn reference_links(&self) -> &[ReferenceLink]
pub fn reference_links(&self) -> &[ReferenceLink]
List of helpful links for more information about the Advisor recommendation.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .reference_links.is_none()
.
source§impl Recommendation
impl Recommendation
sourcepub fn builder() -> RecommendationBuilder
pub fn builder() -> RecommendationBuilder
Creates a new builder-style object to manufacture Recommendation
.
Trait Implementations§
source§impl Clone for Recommendation
impl Clone for Recommendation
source§fn clone(&self) -> Recommendation
fn clone(&self) -> Recommendation
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for Recommendation
impl Debug for Recommendation
source§impl PartialEq for Recommendation
impl PartialEq for Recommendation
source§fn eq(&self, other: &Recommendation) -> bool
fn eq(&self, other: &Recommendation) -> bool
self
and other
values to be equal, and is used
by ==
.