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
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) -> &[ApplicationCredential]
pub fn credentials(&self) -> &[ApplicationCredential]
The credentials of the database.
If no value was sent for this field, a default will be set. If you want to determine if no value was sent, use .credentials.is_none().
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.