Struct aws_sdk_rds::model::upgrade_target::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for UpgradeTarget.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn engine(self, input: impl Into<String>) -> Self
pub fn engine(self, input: impl Into<String>) -> Self
The name of the upgrade target database engine.
sourcepub fn set_engine(self, input: Option<String>) -> Self
pub fn set_engine(self, input: Option<String>) -> Self
The name of the upgrade target database engine.
sourcepub fn engine_version(self, input: impl Into<String>) -> Self
pub fn engine_version(self, input: impl Into<String>) -> Self
The version number of the upgrade target database engine.
sourcepub fn set_engine_version(self, input: Option<String>) -> Self
pub fn set_engine_version(self, input: Option<String>) -> Self
The version number of the upgrade target database engine.
sourcepub fn description(self, input: impl Into<String>) -> Self
pub fn description(self, input: impl Into<String>) -> Self
The version of the database engine that a DB instance can be upgraded to.
sourcepub fn set_description(self, input: Option<String>) -> Self
pub fn set_description(self, input: Option<String>) -> Self
The version of the database engine that a DB instance can be upgraded to.
sourcepub fn auto_upgrade(self, input: bool) -> Self
pub fn auto_upgrade(self, input: bool) -> Self
A value that indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
sourcepub fn set_auto_upgrade(self, input: Option<bool>) -> Self
pub fn set_auto_upgrade(self, input: Option<bool>) -> Self
A value that indicates whether the target version is applied to any source DB instances that have AutoMinorVersionUpgrade set to true.
sourcepub fn is_major_version_upgrade(self, input: bool) -> Self
pub fn is_major_version_upgrade(self, input: bool) -> Self
A value that indicates whether upgrading to the target version requires upgrading the major version of the database engine.
sourcepub fn set_is_major_version_upgrade(self, input: Option<bool>) -> Self
pub fn set_is_major_version_upgrade(self, input: Option<bool>) -> Self
A value that indicates whether upgrading to the target version requires upgrading the major version of the database engine.
sourcepub fn supported_engine_modes(self, input: impl Into<String>) -> Self
pub fn supported_engine_modes(self, input: impl Into<String>) -> Self
Appends an item to supported_engine_modes.
To override the contents of this collection use set_supported_engine_modes.
A list of the supported DB engine modes for the target engine version.
sourcepub fn set_supported_engine_modes(self, input: Option<Vec<String>>) -> Self
pub fn set_supported_engine_modes(self, input: Option<Vec<String>>) -> Self
A list of the supported DB engine modes for the target engine version.
sourcepub fn supports_parallel_query(self, input: bool) -> Self
pub fn supports_parallel_query(self, input: bool) -> Self
A value that indicates whether you can use Aurora parallel query with the target engine version.
sourcepub fn set_supports_parallel_query(self, input: Option<bool>) -> Self
pub fn set_supports_parallel_query(self, input: Option<bool>) -> Self
A value that indicates whether you can use Aurora parallel query with the target engine version.
sourcepub fn supports_global_databases(self, input: bool) -> Self
pub fn supports_global_databases(self, input: bool) -> Self
A value that indicates whether you can use Aurora global databases with the target engine version.
sourcepub fn set_supports_global_databases(self, input: Option<bool>) -> Self
pub fn set_supports_global_databases(self, input: Option<bool>) -> Self
A value that indicates whether you can use Aurora global databases with the target engine version.
sourcepub fn supports_babelfish(self, input: bool) -> Self
pub fn supports_babelfish(self, input: bool) -> Self
A value that indicates whether you can use Babelfish for Aurora PostgreSQL with the target engine version.
sourcepub fn set_supports_babelfish(self, input: Option<bool>) -> Self
pub fn set_supports_babelfish(self, input: Option<bool>) -> Self
A value that indicates whether you can use Babelfish for Aurora PostgreSQL with the target engine version.
sourcepub fn build(self) -> UpgradeTarget
pub fn build(self) -> UpgradeTarget
Consumes the builder and constructs a UpgradeTarget.