Struct aws_sdk_rds::types::builders::OptionGroupBuilder
source · #[non_exhaustive]pub struct OptionGroupBuilder { /* private fields */ }Expand description
A builder for OptionGroup.
Implementations§
source§impl OptionGroupBuilder
impl OptionGroupBuilder
sourcepub fn option_group_name(self, input: impl Into<String>) -> Self
pub fn option_group_name(self, input: impl Into<String>) -> Self
Specifies the name of the option group.
sourcepub fn set_option_group_name(self, input: Option<String>) -> Self
pub fn set_option_group_name(self, input: Option<String>) -> Self
Specifies the name of the option group.
sourcepub fn get_option_group_name(&self) -> &Option<String>
pub fn get_option_group_name(&self) -> &Option<String>
Specifies the name of the option group.
sourcepub fn option_group_description(self, input: impl Into<String>) -> Self
pub fn option_group_description(self, input: impl Into<String>) -> Self
Provides a description of the option group.
sourcepub fn set_option_group_description(self, input: Option<String>) -> Self
pub fn set_option_group_description(self, input: Option<String>) -> Self
Provides a description of the option group.
sourcepub fn get_option_group_description(&self) -> &Option<String>
pub fn get_option_group_description(&self) -> &Option<String>
Provides a description of the option group.
sourcepub fn engine_name(self, input: impl Into<String>) -> Self
pub fn engine_name(self, input: impl Into<String>) -> Self
Indicates the name of the engine that this option group can be applied to.
sourcepub fn set_engine_name(self, input: Option<String>) -> Self
pub fn set_engine_name(self, input: Option<String>) -> Self
Indicates the name of the engine that this option group can be applied to.
sourcepub fn get_engine_name(&self) -> &Option<String>
pub fn get_engine_name(&self) -> &Option<String>
Indicates the name of the engine that this option group can be applied to.
sourcepub fn major_engine_version(self, input: impl Into<String>) -> Self
pub fn major_engine_version(self, input: impl Into<String>) -> Self
Indicates the major engine version associated with this option group.
sourcepub fn set_major_engine_version(self, input: Option<String>) -> Self
pub fn set_major_engine_version(self, input: Option<String>) -> Self
Indicates the major engine version associated with this option group.
sourcepub fn get_major_engine_version(&self) -> &Option<String>
pub fn get_major_engine_version(&self) -> &Option<String>
Indicates the major engine version associated with this option group.
sourcepub fn options(self, input: Option) -> Self
pub fn options(self, input: Option) -> Self
Appends an item to options.
To override the contents of this collection use set_options.
Indicates what options are available in the option group.
sourcepub fn set_options(self, input: Option<Vec<Option>>) -> Self
pub fn set_options(self, input: Option<Vec<Option>>) -> Self
Indicates what options are available in the option group.
sourcepub fn get_options(&self) -> &Option<Vec<Option>>
pub fn get_options(&self) -> &Option<Vec<Option>>
Indicates what options are available in the option group.
sourcepub fn allows_vpc_and_non_vpc_instance_memberships(self, input: bool) -> Self
pub fn allows_vpc_and_non_vpc_instance_memberships(self, input: bool) -> Self
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value true indicates the option group can be applied to both VPC and non-VPC instances.
sourcepub fn set_allows_vpc_and_non_vpc_instance_memberships(
self,
input: Option<bool>
) -> Self
pub fn set_allows_vpc_and_non_vpc_instance_memberships( self, input: Option<bool> ) -> Self
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value true indicates the option group can be applied to both VPC and non-VPC instances.
sourcepub fn get_allows_vpc_and_non_vpc_instance_memberships(&self) -> &Option<bool>
pub fn get_allows_vpc_and_non_vpc_instance_memberships(&self) -> &Option<bool>
Indicates whether this option group can be applied to both VPC and non-VPC instances. The value true indicates the option group can be applied to both VPC and non-VPC instances.
sourcepub fn vpc_id(self, input: impl Into<String>) -> Self
pub fn vpc_id(self, input: impl Into<String>) -> Self
If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is true and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.
sourcepub fn set_vpc_id(self, input: Option<String>) -> Self
pub fn set_vpc_id(self, input: Option<String>) -> Self
If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is true and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.
sourcepub fn get_vpc_id(&self) -> &Option<String>
pub fn get_vpc_id(&self) -> &Option<String>
If AllowsVpcAndNonVpcInstanceMemberships is false, this field is blank. If AllowsVpcAndNonVpcInstanceMemberships is true and this field is blank, then this option group can be applied to both VPC and non-VPC instances. If this field contains a value, then this option group can only be applied to instances that are in the VPC indicated by this field.
sourcepub fn option_group_arn(self, input: impl Into<String>) -> Self
pub fn option_group_arn(self, input: impl Into<String>) -> Self
Specifies the Amazon Resource Name (ARN) for the option group.
sourcepub fn set_option_group_arn(self, input: Option<String>) -> Self
pub fn set_option_group_arn(self, input: Option<String>) -> Self
Specifies the Amazon Resource Name (ARN) for the option group.
sourcepub fn get_option_group_arn(&self) -> &Option<String>
pub fn get_option_group_arn(&self) -> &Option<String>
Specifies the Amazon Resource Name (ARN) for the option group.
sourcepub fn source_option_group(self, input: impl Into<String>) -> Self
pub fn source_option_group(self, input: impl Into<String>) -> Self
Specifies the name of the option group from which this option group is copied.
sourcepub fn set_source_option_group(self, input: Option<String>) -> Self
pub fn set_source_option_group(self, input: Option<String>) -> Self
Specifies the name of the option group from which this option group is copied.
sourcepub fn get_source_option_group(&self) -> &Option<String>
pub fn get_source_option_group(&self) -> &Option<String>
Specifies the name of the option group from which this option group is copied.
sourcepub fn source_account_id(self, input: impl Into<String>) -> Self
pub fn source_account_id(self, input: impl Into<String>) -> Self
Specifies the Amazon Web Services account ID for the option group from which this option group is copied.
sourcepub fn set_source_account_id(self, input: Option<String>) -> Self
pub fn set_source_account_id(self, input: Option<String>) -> Self
Specifies the Amazon Web Services account ID for the option group from which this option group is copied.
sourcepub fn get_source_account_id(&self) -> &Option<String>
pub fn get_source_account_id(&self) -> &Option<String>
Specifies the Amazon Web Services account ID for the option group from which this option group is copied.
sourcepub fn copy_timestamp(self, input: DateTime) -> Self
pub fn copy_timestamp(self, input: DateTime) -> Self
Indicates when the option group was copied.
sourcepub fn set_copy_timestamp(self, input: Option<DateTime>) -> Self
pub fn set_copy_timestamp(self, input: Option<DateTime>) -> Self
Indicates when the option group was copied.
sourcepub fn get_copy_timestamp(&self) -> &Option<DateTime>
pub fn get_copy_timestamp(&self) -> &Option<DateTime>
Indicates when the option group was copied.
sourcepub fn build(self) -> OptionGroup
pub fn build(self) -> OptionGroup
Consumes the builder and constructs a OptionGroup.
Trait Implementations§
source§impl Clone for OptionGroupBuilder
impl Clone for OptionGroupBuilder
source§fn clone(&self) -> OptionGroupBuilder
fn clone(&self) -> OptionGroupBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for OptionGroupBuilder
impl Debug for OptionGroupBuilder
source§impl Default for OptionGroupBuilder
impl Default for OptionGroupBuilder
source§fn default() -> OptionGroupBuilder
fn default() -> OptionGroupBuilder
source§impl PartialEq for OptionGroupBuilder
impl PartialEq for OptionGroupBuilder
source§fn eq(&self, other: &OptionGroupBuilder) -> bool
fn eq(&self, other: &OptionGroupBuilder) -> bool
self and other values to be equal, and is used
by ==.