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 get_option_name(&self) -> &Option<String>
pub fn get_option_name(&self) -> &Option<String>
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 get_option_description(&self) -> &Option<String>
pub fn get_option_description(&self) -> &Option<String>
The description of the option.
sourcepub fn persistent(self, input: bool) -> Self
pub fn persistent(self, input: bool) -> Self
Indicates whether this option is persistent.
sourcepub fn set_persistent(self, input: Option<bool>) -> Self
pub fn set_persistent(self, input: Option<bool>) -> Self
Indicates whether this option is persistent.
sourcepub fn get_persistent(&self) -> &Option<bool>
pub fn get_persistent(&self) -> &Option<bool>
Indicates whether this option is persistent.
sourcepub fn set_permanent(self, input: Option<bool>) -> Self
pub fn set_permanent(self, input: Option<bool>) -> Self
Indicates whether this option is permanent.
sourcepub fn get_permanent(&self) -> &Option<bool>
pub fn get_permanent(&self) -> &Option<bool>
Indicates whether 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 get_port(&self) -> &Option<i32>
pub fn get_port(&self) -> &Option<i32>
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 get_option_version(&self) -> &Option<String>
pub fn get_option_version(&self) -> &Option<String>
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 get_option_settings(&self) -> &Option<Vec<OptionSetting>>
pub fn get_option_settings(&self) -> &Option<Vec<OptionSetting>>
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 get_db_security_group_memberships(
&self,
) -> &Option<Vec<DbSecurityGroupMembership>>
pub fn get_db_security_group_memberships( &self, ) -> &Option<Vec<DbSecurityGroupMembership>>
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.
sourcepub fn get_vpc_security_group_memberships(
&self,
) -> &Option<Vec<VpcSecurityGroupMembership>>
pub fn get_vpc_security_group_memberships( &self, ) -> &Option<Vec<VpcSecurityGroupMembership>>
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 for OptionBuilder
impl PartialEq 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 ==.impl StructuralPartialEq for OptionBuilder
Auto Trait Implementations§
impl Freeze for OptionBuilder
impl RefUnwindSafe for OptionBuilder
impl Send for OptionBuilder
impl Sync for OptionBuilder
impl Unpin for OptionBuilder
impl UnwindSafe for OptionBuilder
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