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 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
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
Auto Trait Implementations
impl !RefUnwindSafe for ModifyOptionGroup
impl Send for ModifyOptionGroup
impl Sync for ModifyOptionGroup
impl Unpin for ModifyOptionGroup
impl !UnwindSafe for ModifyOptionGroup
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more