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 ==.