#[non_exhaustive]pub struct RecommendationSettingsBuilder { /* private fields */ }
Expand description
A builder for RecommendationSettings
.
Implementations§
source§impl RecommendationSettingsBuilder
impl RecommendationSettingsBuilder
sourcepub fn instance_sizing_type(self, input: impl Into<String>) -> Self
pub fn instance_sizing_type(self, input: impl Into<String>) -> Self
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 set_instance_sizing_type(self, input: Option<String>) -> Self
pub fn set_instance_sizing_type(self, input: Option<String>) -> Self
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 get_instance_sizing_type(&self) -> &Option<String>
pub fn get_instance_sizing_type(&self) -> &Option<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"
.
sourcepub fn workload_type(self, input: impl Into<String>) -> Self
pub fn workload_type(self, input: impl Into<String>) -> Self
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"
.
sourcepub fn set_workload_type(self, input: Option<String>) -> Self
pub fn set_workload_type(self, input: Option<String>) -> Self
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"
.
sourcepub fn get_workload_type(&self) -> &Option<String>
pub fn get_workload_type(&self) -> &Option<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"
.
sourcepub fn build(self) -> RecommendationSettings
pub fn build(self) -> RecommendationSettings
Consumes the builder and constructs a RecommendationSettings
.
Trait Implementations§
source§impl Clone for RecommendationSettingsBuilder
impl Clone for RecommendationSettingsBuilder
source§fn clone(&self) -> RecommendationSettingsBuilder
fn clone(&self) -> RecommendationSettingsBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for RecommendationSettingsBuilder
impl Default for RecommendationSettingsBuilder
source§fn default() -> RecommendationSettingsBuilder
fn default() -> RecommendationSettingsBuilder
source§impl PartialEq<RecommendationSettingsBuilder> for RecommendationSettingsBuilder
impl PartialEq<RecommendationSettingsBuilder> for RecommendationSettingsBuilder
source§fn eq(&self, other: &RecommendationSettingsBuilder) -> bool
fn eq(&self, other: &RecommendationSettingsBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.