#[non_exhaustive]pub struct CreateDataProviderInput {
pub data_provider_name: Option<String>,
pub description: Option<String>,
pub engine: Option<String>,
pub settings: Option<DataProviderSettings>,
pub tags: Option<Vec<Tag>>,
}
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.data_provider_name: Option<String>
A user-friendly name for the data provider.
description: Option<String>
A user-friendly description of the data provider.
engine: Option<String>
The type of database engine for the data provider. Valid values include "aurora"
, "aurora-postgresql"
, "mysql"
, "oracle"
, "postgres"
, "sqlserver"
, redshift
, mariadb
, mongodb
, and docdb
. A value of "aurora"
represents Amazon Aurora MySQL-Compatible Edition.
settings: Option<DataProviderSettings>
The settings in JSON format for a data provider.
One or more tags to be assigned to the data provider.
Implementations§
source§impl CreateDataProviderInput
impl CreateDataProviderInput
sourcepub fn data_provider_name(&self) -> Option<&str>
pub fn data_provider_name(&self) -> Option<&str>
A user-friendly name for the data provider.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A user-friendly description of the data provider.
sourcepub fn engine(&self) -> Option<&str>
pub fn engine(&self) -> Option<&str>
The type of database engine for the data provider. Valid values include "aurora"
, "aurora-postgresql"
, "mysql"
, "oracle"
, "postgres"
, "sqlserver"
, redshift
, mariadb
, mongodb
, and docdb
. A value of "aurora"
represents Amazon Aurora MySQL-Compatible Edition.
sourcepub fn settings(&self) -> Option<&DataProviderSettings>
pub fn settings(&self) -> Option<&DataProviderSettings>
The settings in JSON format for a data provider.
One or more tags to be assigned to the data provider.
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 CreateDataProviderInput
impl CreateDataProviderInput
sourcepub fn builder() -> CreateDataProviderInputBuilder
pub fn builder() -> CreateDataProviderInputBuilder
Creates a new builder-style object to manufacture CreateDataProviderInput
.
Trait Implementations§
source§impl Clone for CreateDataProviderInput
impl Clone for CreateDataProviderInput
source§fn clone(&self) -> CreateDataProviderInput
fn clone(&self) -> CreateDataProviderInput
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for CreateDataProviderInput
impl Debug for CreateDataProviderInput
source§impl PartialEq for CreateDataProviderInput
impl PartialEq for CreateDataProviderInput
impl StructuralPartialEq for CreateDataProviderInput
Auto Trait Implementations§
impl Freeze for CreateDataProviderInput
impl RefUnwindSafe for CreateDataProviderInput
impl Send for CreateDataProviderInput
impl Sync for CreateDataProviderInput
impl Unpin for CreateDataProviderInput
impl UnwindSafe for CreateDataProviderInput
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§unsafe fn clone_to_uninit(&self, dst: *mut T)
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