#[non_exhaustive]pub struct CreateOptionGroupInput {
pub option_group_name: Option<String>,
pub engine_name: Option<String>,
pub major_engine_version: Option<String>,
pub option_group_description: Option<String>,
pub tags: Option<Vec<Tag>>,
}Expand description
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.option_group_name: Option<String>Specifies the name of the option group to be created.
Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
Example: myoptiongroup
engine_name: Option<String>The name of the engine to associate this option group with.
Valid Values:
-
db2-ae -
db2-se -
mariadb -
mysql -
oracle-ee -
oracle-ee-cdb -
oracle-se2 -
oracle-se2-cdb -
postgres -
sqlserver-ee -
sqlserver-se -
sqlserver-ex -
sqlserver-web
major_engine_version: Option<String>Specifies the major version of the engine that this option group should be associated with.
option_group_description: Option<String>The description of the option group.
Tags to assign to the option group.
Implementations§
source§impl CreateOptionGroupInput
impl CreateOptionGroupInput
sourcepub fn option_group_name(&self) -> Option<&str>
pub fn option_group_name(&self) -> Option<&str>
Specifies the name of the option group to be created.
Constraints:
-
Must be 1 to 255 letters, numbers, or hyphens
-
First character must be a letter
-
Can't end with a hyphen or contain two consecutive hyphens
Example: myoptiongroup
sourcepub fn engine_name(&self) -> Option<&str>
pub fn engine_name(&self) -> Option<&str>
The name of the engine to associate this option group with.
Valid Values:
-
db2-ae -
db2-se -
mariadb -
mysql -
oracle-ee -
oracle-ee-cdb -
oracle-se2 -
oracle-se2-cdb -
postgres -
sqlserver-ee -
sqlserver-se -
sqlserver-ex -
sqlserver-web
sourcepub fn major_engine_version(&self) -> Option<&str>
pub fn major_engine_version(&self) -> Option<&str>
Specifies the major version of the engine that this option group should be associated with.
sourcepub fn option_group_description(&self) -> Option<&str>
pub fn option_group_description(&self) -> Option<&str>
The description of the option group.
Tags to assign to the option group.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .tags.is_none().
source§impl CreateOptionGroupInput
impl CreateOptionGroupInput
sourcepub fn builder() -> CreateOptionGroupInputBuilder
pub fn builder() -> CreateOptionGroupInputBuilder
Creates a new builder-style object to manufacture CreateOptionGroupInput.
Trait Implementations§
source§impl Clone for CreateOptionGroupInput
impl Clone for CreateOptionGroupInput
source§fn clone(&self) -> CreateOptionGroupInput
fn clone(&self) -> CreateOptionGroupInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for CreateOptionGroupInput
impl Debug for CreateOptionGroupInput
source§impl PartialEq for CreateOptionGroupInput
impl PartialEq for CreateOptionGroupInput
source§fn eq(&self, other: &CreateOptionGroupInput) -> bool
fn eq(&self, other: &CreateOptionGroupInput) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateOptionGroupInput
Auto Trait Implementations§
impl Freeze for CreateOptionGroupInput
impl RefUnwindSafe for CreateOptionGroupInput
impl Send for CreateOptionGroupInput
impl Sync for CreateOptionGroupInput
impl Unpin for CreateOptionGroupInput
impl UnwindSafe for CreateOptionGroupInput
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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