#[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: StringThe 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: StringThe 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 ==.impl StructuralPartialEq for RecommendationSettings
Auto Trait Implementations§
impl Freeze for RecommendationSettings
impl RefUnwindSafe for RecommendationSettings
impl Send for RecommendationSettings
impl Sync for RecommendationSettings
impl Unpin for RecommendationSettings
impl UnwindSafe for RecommendationSettings
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