Struct aws_sdk_rds::client::fluent_builders::ModifyOptionGroup
source · [−]pub struct ModifyOptionGroup { /* private fields */ }Expand description
Fluent builder constructing a request to ModifyOptionGroup.
Modifies an existing option group.
Implementations
sourceimpl ModifyOptionGroup
impl ModifyOptionGroup
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<ModifyOptionGroup, AwsResponseRetryClassifier>, SdkError<ModifyOptionGroupError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<ModifyOptionGroup, AwsResponseRetryClassifier>, SdkError<ModifyOptionGroupError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<ModifyOptionGroupOutput, SdkError<ModifyOptionGroupError>>
pub async fn send(
self
) -> Result<ModifyOptionGroupOutput, SdkError<ModifyOptionGroupError>>
Sends the request and returns the response.
If an error occurs, an SdkError will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn option_group_name(self, input: impl Into<String>) -> Self
pub fn option_group_name(self, input: impl Into<String>) -> Self
The name of the option group to be modified.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group, and that option group can't be removed from a DB instance once it is associated with a DB instance
sourcepub fn set_option_group_name(self, input: Option<String>) -> Self
pub fn set_option_group_name(self, input: Option<String>) -> Self
The name of the option group to be modified.
Permanent options, such as the TDE option for Oracle Advanced Security TDE, can't be removed from an option group, and that option group can't be removed from a DB instance once it is associated with a DB instance
sourcepub fn options_to_include(self, input: OptionConfiguration) -> Self
pub fn options_to_include(self, input: OptionConfiguration) -> Self
Appends an item to OptionsToInclude.
To override the contents of this collection use set_options_to_include.
Options in this list are added to the option group or, if already present, the specified configuration is used to update the existing configuration.
sourcepub fn set_options_to_include(
self,
input: Option<Vec<OptionConfiguration>>
) -> Self
pub fn set_options_to_include(
self,
input: Option<Vec<OptionConfiguration>>
) -> Self
Options in this list are added to the option group or, if already present, the specified configuration is used to update the existing configuration.
sourcepub fn options_to_remove(self, input: impl Into<String>) -> Self
pub fn options_to_remove(self, input: impl Into<String>) -> Self
Appends an item to OptionsToRemove.
To override the contents of this collection use set_options_to_remove.
Options in this list are removed from the option group.
sourcepub fn set_options_to_remove(self, input: Option<Vec<String>>) -> Self
pub fn set_options_to_remove(self, input: Option<Vec<String>>) -> Self
Options in this list are removed from the option group.
sourcepub fn apply_immediately(self, input: bool) -> Self
pub fn apply_immediately(self, input: bool) -> Self
A value that indicates whether to apply the change immediately or during the next maintenance window for each instance associated with the option group.
sourcepub fn set_apply_immediately(self, input: Option<bool>) -> Self
pub fn set_apply_immediately(self, input: Option<bool>) -> Self
A value that indicates whether to apply the change immediately or during the next maintenance window for each instance associated with the option group.
Trait Implementations
sourceimpl Clone for ModifyOptionGroup
impl Clone for ModifyOptionGroup
sourcefn clone(&self) -> ModifyOptionGroup
fn clone(&self) -> ModifyOptionGroup
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more