#[non_exhaustive]pub struct RecommendationSettings {
pub instance_sizing_type: String,
pub workload_type: String,
}
Expand description
Provides information about the required target engine settings.
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.instance_sizing_type: String
The size of your target instance. Fleet Advisor calculates this value based on your data collection type, such as total capacity and resource utilization. Valid values include "total-capacity"
and "utilization"
.
workload_type: String
The deployment option for your target engine. For production databases, Fleet Advisor chooses Multi-AZ deployment. For development or test databases, Fleet Advisor chooses Single-AZ deployment. Valid values include "development"
and "production"
.
Implementations§
source§impl RecommendationSettings
impl RecommendationSettings
sourcepub fn instance_sizing_type(&self) -> &str
pub fn instance_sizing_type(&self) -> &str
The size of your target instance. Fleet Advisor calculates this value based on your data collection type, such as total capacity and resource utilization. Valid values include "total-capacity"
and "utilization"
.
sourcepub fn workload_type(&self) -> &str
pub fn workload_type(&self) -> &str
The deployment option for your target engine. For production databases, Fleet Advisor chooses Multi-AZ deployment. For development or test databases, Fleet Advisor chooses Single-AZ deployment. Valid values include "development"
and "production"
.
source§impl RecommendationSettings
impl RecommendationSettings
sourcepub fn builder() -> RecommendationSettingsBuilder
pub fn builder() -> RecommendationSettingsBuilder
Creates a new builder-style object to manufacture RecommendationSettings
.
Trait Implementations§
source§impl Clone for RecommendationSettings
impl Clone for RecommendationSettings
source§fn clone(&self) -> RecommendationSettings
fn clone(&self) -> RecommendationSettings
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RecommendationSettings
impl Debug for RecommendationSettings
source§impl PartialEq for RecommendationSettings
impl PartialEq for RecommendationSettings
source§fn eq(&self, other: &RecommendationSettings) -> bool
fn eq(&self, other: &RecommendationSettings) -> bool
self
and other
values to be equal, and is used
by ==
.