#[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
source§fn eq(&self, other: &CreateDataProviderInput) -> bool
fn eq(&self, other: &CreateDataProviderInput) -> bool
self
and other
values to be equal, and is used
by ==
.