Struct aws_sdk_databasemigration::types::DatabaseResponse
source · #[non_exhaustive]pub struct DatabaseResponse {
pub database_id: Option<String>,
pub database_name: Option<String>,
pub ip_address: Option<String>,
pub number_of_schemas: Option<i64>,
pub server: Option<ServerShortInfoResponse>,
pub software_details: Option<DatabaseInstanceSoftwareDetailsResponse>,
pub collectors: Option<Vec<CollectorShortInfoResponse>>,
}Expand description
Describes a database in a Fleet Advisor collector inventory.
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.database_id: Option<String>The ID of a database in a Fleet Advisor collector inventory.
database_name: Option<String>The name of a database in a Fleet Advisor collector inventory.
ip_address: Option<String>The IP address of a database in a Fleet Advisor collector inventory.
number_of_schemas: Option<i64>The number of schemas in a Fleet Advisor collector inventory database.
server: Option<ServerShortInfoResponse>The server name of a database in a Fleet Advisor collector inventory.
software_details: Option<DatabaseInstanceSoftwareDetailsResponse>The software details of a database in a Fleet Advisor collector inventory, such as database engine and version.
collectors: Option<Vec<CollectorShortInfoResponse>>A list of collectors associated with the database.
Implementations§
source§impl DatabaseResponse
impl DatabaseResponse
sourcepub fn database_id(&self) -> Option<&str>
pub fn database_id(&self) -> Option<&str>
The ID of a database in a Fleet Advisor collector inventory.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of a database in a Fleet Advisor collector inventory.
sourcepub fn ip_address(&self) -> Option<&str>
pub fn ip_address(&self) -> Option<&str>
The IP address of a database in a Fleet Advisor collector inventory.
sourcepub fn number_of_schemas(&self) -> Option<i64>
pub fn number_of_schemas(&self) -> Option<i64>
The number of schemas in a Fleet Advisor collector inventory database.
sourcepub fn server(&self) -> Option<&ServerShortInfoResponse>
pub fn server(&self) -> Option<&ServerShortInfoResponse>
The server name of a database in a Fleet Advisor collector inventory.
sourcepub fn software_details(
&self
) -> Option<&DatabaseInstanceSoftwareDetailsResponse>
pub fn software_details( &self ) -> Option<&DatabaseInstanceSoftwareDetailsResponse>
The software details of a database in a Fleet Advisor collector inventory, such as database engine and version.
sourcepub fn collectors(&self) -> Option<&[CollectorShortInfoResponse]>
pub fn collectors(&self) -> Option<&[CollectorShortInfoResponse]>
A list of collectors associated with the database.
source§impl DatabaseResponse
impl DatabaseResponse
sourcepub fn builder() -> DatabaseResponseBuilder
pub fn builder() -> DatabaseResponseBuilder
Creates a new builder-style object to manufacture DatabaseResponse.
Trait Implementations§
source§impl Clone for DatabaseResponse
impl Clone for DatabaseResponse
source§fn clone(&self) -> DatabaseResponse
fn clone(&self) -> DatabaseResponse
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DatabaseResponse
impl Debug for DatabaseResponse
source§impl PartialEq for DatabaseResponse
impl PartialEq for DatabaseResponse
source§fn eq(&self, other: &DatabaseResponse) -> bool
fn eq(&self, other: &DatabaseResponse) -> bool
self and other values to be equal, and is used
by ==.