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.
Trait Implementations§
source§impl PartialEq for Database
impl PartialEq for Database
impl StructuralPartialEq for Database
Auto Trait Implementations§
impl Freeze for Database
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
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