Struct aws_sdk_databasemigration::types::DataProvider
source · #[non_exhaustive]pub struct DataProvider {
pub data_provider_name: Option<String>,
pub data_provider_arn: Option<String>,
pub data_provider_creation_time: Option<DateTime>,
pub description: Option<String>,
pub engine: Option<String>,
pub settings: Option<DataProviderSettings>,
}
Expand description
Provides information that defines a data provider.
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>
The name of the data provider.
data_provider_arn: Option<String>
The Amazon Resource Name (ARN) string that uniquely identifies the data provider.
data_provider_creation_time: Option<DateTime>
The time the data provider was created.
description: Option<String>
A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.
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.
Implementations§
source§impl DataProvider
impl DataProvider
sourcepub fn data_provider_name(&self) -> Option<&str>
pub fn data_provider_name(&self) -> Option<&str>
The name of the data provider.
sourcepub fn data_provider_arn(&self) -> Option<&str>
pub fn data_provider_arn(&self) -> Option<&str>
The Amazon Resource Name (ARN) string that uniquely identifies the data provider.
sourcepub fn data_provider_creation_time(&self) -> Option<&DateTime>
pub fn data_provider_creation_time(&self) -> Option<&DateTime>
The time the data provider was created.
sourcepub fn description(&self) -> Option<&str>
pub fn description(&self) -> Option<&str>
A description of the data provider. Descriptions can have up to 31 characters. A description can contain only ASCII letters, digits, and hyphens ('-'). Also, it can't end with a hyphen or contain two consecutive hyphens, and can only begin with a letter.
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.
source§impl DataProvider
impl DataProvider
sourcepub fn builder() -> DataProviderBuilder
pub fn builder() -> DataProviderBuilder
Creates a new builder-style object to manufacture DataProvider
.
Trait Implementations§
source§impl Clone for DataProvider
impl Clone for DataProvider
source§fn clone(&self) -> DataProvider
fn clone(&self) -> DataProvider
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataProvider
impl Debug for DataProvider
source§impl PartialEq for DataProvider
impl PartialEq for DataProvider
source§fn eq(&self, other: &DataProvider) -> bool
fn eq(&self, other: &DataProvider) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataProvider
Auto Trait Implementations§
impl Freeze for DataProvider
impl RefUnwindSafe for DataProvider
impl Send for DataProvider
impl Sync for DataProvider
impl Unpin for DataProvider
impl UnwindSafe for DataProvider
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> 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