Struct aws_sdk_ssmsap::types::Database
source · #[non_exhaustive]pub struct Database {
pub application_id: Option<String>,
pub component_id: Option<String>,
pub credentials: Option<Vec<ApplicationCredential>>,
pub database_id: Option<String>,
pub database_name: Option<String>,
pub database_type: Option<DatabaseType>,
pub arn: Option<String>,
pub status: Option<DatabaseStatus>,
pub primary_host: Option<String>,
pub sql_port: Option<i32>,
pub last_updated: Option<DateTime>,
}Expand description
The SAP HANA database of the application registered with AWS Systems Manager for SAP.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.application_id: Option<String>The ID of the application.
component_id: Option<String>The ID of the component.
credentials: Option<Vec<ApplicationCredential>>The credentials of the database.
database_id: Option<String>The ID of the SAP HANA database.
database_name: Option<String>The name of the database.
database_type: Option<DatabaseType>The type of the database.
arn: Option<String>The Amazon Resource Name (ARN) of the database.
status: Option<DatabaseStatus>The status of the database.
primary_host: Option<String>The primary host of the database.
sql_port: Option<i32>The SQL port of the database.
last_updated: Option<DateTime>The time at which the database was last updated.
Implementations§
source§impl Database
impl Database
sourcepub fn application_id(&self) -> Option<&str>
pub fn application_id(&self) -> Option<&str>
The ID of the application.
sourcepub fn component_id(&self) -> Option<&str>
pub fn component_id(&self) -> Option<&str>
The ID of the component.
sourcepub fn credentials(&self) -> Option<&[ApplicationCredential]>
pub fn credentials(&self) -> Option<&[ApplicationCredential]>
The credentials of the database.
sourcepub fn database_id(&self) -> Option<&str>
pub fn database_id(&self) -> Option<&str>
The ID of the SAP HANA database.
sourcepub fn database_name(&self) -> Option<&str>
pub fn database_name(&self) -> Option<&str>
The name of the database.
sourcepub fn database_type(&self) -> Option<&DatabaseType>
pub fn database_type(&self) -> Option<&DatabaseType>
The type of the database.
sourcepub fn status(&self) -> Option<&DatabaseStatus>
pub fn status(&self) -> Option<&DatabaseStatus>
The status of the database.
sourcepub fn primary_host(&self) -> Option<&str>
pub fn primary_host(&self) -> Option<&str>
The primary host of the database.
sourcepub fn last_updated(&self) -> Option<&DateTime>
pub fn last_updated(&self) -> Option<&DateTime>
The time at which the database was last updated.
Trait Implementations§
source§impl PartialEq for Database
impl PartialEq for Database
impl StructuralPartialEq for Database
Auto Trait Implementations§
impl RefUnwindSafe for Database
impl Send for Database
impl Sync for Database
impl Unpin for Database
impl UnwindSafe for Database
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
Mutably borrows from an owned value. Read more