pub struct Builder { /* private fields */ }Expand description
A builder for Option.
Implementations
sourceimpl Builder
impl Builder
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.