Struct aws_sdk_rds::types::builders::OptionBuilder
source · #[non_exhaustive]pub struct OptionBuilder { /* private fields */ }Expand description
A builder for Option.
Implementations§
source§impl OptionBuilder
impl OptionBuilder
sourcepub fn option_name(self, input: impl Into<String>) -> Self
pub fn option_name(self, input: impl Into<String>) -> Self
The name of the option.
sourcepub fn set_option_name(self, input: Option<String>) -> Self
pub fn set_option_name(self, input: Option<String>) -> Self
The name of the option.
sourcepub fn option_description(self, input: impl Into<String>) -> Self
pub fn option_description(self, input: impl Into<String>) -> Self
The description of the option.
sourcepub fn set_option_description(self, input: Option<String>) -> Self
pub fn set_option_description(self, input: Option<String>) -> Self
The description of the option.
sourcepub fn persistent(self, input: bool) -> Self
pub fn persistent(self, input: bool) -> Self
Indicate if this option is persistent.
sourcepub fn set_persistent(self, input: Option<bool>) -> Self
pub fn set_persistent(self, input: Option<bool>) -> Self
Indicate if this option is persistent.
sourcepub fn set_permanent(self, input: Option<bool>) -> Self
pub fn set_permanent(self, input: Option<bool>) -> Self
Indicate if this option is permanent.
sourcepub fn set_port(self, input: Option<i32>) -> Self
pub fn set_port(self, input: Option<i32>) -> Self
If required, the port configured for this option to use.
sourcepub fn option_version(self, input: impl Into<String>) -> Self
pub fn option_version(self, input: impl Into<String>) -> Self
The version of the option.
sourcepub fn set_option_version(self, input: Option<String>) -> Self
pub fn set_option_version(self, input: Option<String>) -> Self
The version of the option.
sourcepub fn option_settings(self, input: OptionSetting) -> Self
pub fn option_settings(self, input: OptionSetting) -> Self
Appends an item to option_settings.
To override the contents of this collection use set_option_settings.
The option settings for this option.
sourcepub fn set_option_settings(self, input: Option<Vec<OptionSetting>>) -> Self
pub fn set_option_settings(self, input: Option<Vec<OptionSetting>>) -> Self
The option settings for this option.
sourcepub fn db_security_group_memberships(
self,
input: DbSecurityGroupMembership
) -> Self
pub fn db_security_group_memberships( self, input: DbSecurityGroupMembership ) -> Self
Appends an item to db_security_group_memberships.
To override the contents of this collection use set_db_security_group_memberships.
If the option requires access to a port, then this DB security group allows access to the port.
sourcepub fn set_db_security_group_memberships(
self,
input: Option<Vec<DbSecurityGroupMembership>>
) -> Self
pub fn set_db_security_group_memberships( self, input: Option<Vec<DbSecurityGroupMembership>> ) -> Self
If the option requires access to a port, then this DB security group allows access to the port.
sourcepub fn vpc_security_group_memberships(
self,
input: VpcSecurityGroupMembership
) -> Self
pub fn vpc_security_group_memberships( self, input: VpcSecurityGroupMembership ) -> Self
Appends an item to vpc_security_group_memberships.
To override the contents of this collection use set_vpc_security_group_memberships.
If the option requires access to a port, then this VPC security group allows access to the port.
sourcepub fn set_vpc_security_group_memberships(
self,
input: Option<Vec<VpcSecurityGroupMembership>>
) -> Self
pub fn set_vpc_security_group_memberships( self, input: Option<Vec<VpcSecurityGroupMembership>> ) -> Self
If the option requires access to a port, then this VPC security group allows access to the port.
Trait Implementations§
source§impl Clone for OptionBuilder
impl Clone for OptionBuilder
source§fn clone(&self) -> OptionBuilder
fn clone(&self) -> OptionBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for OptionBuilder
impl Debug for OptionBuilder
source§impl Default for OptionBuilder
impl Default for OptionBuilder
source§fn default() -> OptionBuilder
fn default() -> OptionBuilder
source§impl PartialEq<OptionBuilder> for OptionBuilder
impl PartialEq<OptionBuilder> for OptionBuilder
source§fn eq(&self, other: &OptionBuilder) -> bool
fn eq(&self, other: &OptionBuilder) -> bool
self and other values to be equal, and is used
by ==.