Struct aws_sdk_ssmsap::types::builders::DatabaseBuilder
source · #[non_exhaustive]pub struct DatabaseBuilder { /* private fields */ }Expand description
A builder for Database.
Implementations§
source§impl DatabaseBuilder
impl DatabaseBuilder
sourcepub fn application_id(self, input: impl Into<String>) -> Self
pub fn application_id(self, input: impl Into<String>) -> Self
The ID of the application.
sourcepub fn set_application_id(self, input: Option<String>) -> Self
pub fn set_application_id(self, input: Option<String>) -> Self
The ID of the application.
sourcepub fn get_application_id(&self) -> &Option<String>
pub fn get_application_id(&self) -> &Option<String>
The ID of the application.
sourcepub fn component_id(self, input: impl Into<String>) -> Self
pub fn component_id(self, input: impl Into<String>) -> Self
The ID of the component.
sourcepub fn set_component_id(self, input: Option<String>) -> Self
pub fn set_component_id(self, input: Option<String>) -> Self
The ID of the component.
sourcepub fn get_component_id(&self) -> &Option<String>
pub fn get_component_id(&self) -> &Option<String>
The ID of the component.
sourcepub fn credentials(self, input: ApplicationCredential) -> Self
pub fn credentials(self, input: ApplicationCredential) -> Self
Appends an item to credentials.
To override the contents of this collection use set_credentials.
The credentials of the database.
sourcepub fn set_credentials(self, input: Option<Vec<ApplicationCredential>>) -> Self
pub fn set_credentials(self, input: Option<Vec<ApplicationCredential>>) -> Self
The credentials of the database.
sourcepub fn get_credentials(&self) -> &Option<Vec<ApplicationCredential>>
pub fn get_credentials(&self) -> &Option<Vec<ApplicationCredential>>
The credentials of the database.
sourcepub fn database_id(self, input: impl Into<String>) -> Self
pub fn database_id(self, input: impl Into<String>) -> Self
The ID of the SAP HANA database.
sourcepub fn set_database_id(self, input: Option<String>) -> Self
pub fn set_database_id(self, input: Option<String>) -> Self
The ID of the SAP HANA database.
sourcepub fn get_database_id(&self) -> &Option<String>
pub fn get_database_id(&self) -> &Option<String>
The ID of the SAP HANA database.
sourcepub fn database_name(self, input: impl Into<String>) -> Self
pub fn database_name(self, input: impl Into<String>) -> Self
The name of the database.
sourcepub fn set_database_name(self, input: Option<String>) -> Self
pub fn set_database_name(self, input: Option<String>) -> Self
The name of the database.
sourcepub fn get_database_name(&self) -> &Option<String>
pub fn get_database_name(&self) -> &Option<String>
The name of the database.
sourcepub fn database_type(self, input: DatabaseType) -> Self
pub fn database_type(self, input: DatabaseType) -> Self
The type of the database.
sourcepub fn set_database_type(self, input: Option<DatabaseType>) -> Self
pub fn set_database_type(self, input: Option<DatabaseType>) -> Self
The type of the database.
sourcepub fn get_database_type(&self) -> &Option<DatabaseType>
pub fn get_database_type(&self) -> &Option<DatabaseType>
The type of the database.
sourcepub fn arn(self, input: impl Into<String>) -> Self
pub fn arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the database.
sourcepub fn set_arn(self, input: Option<String>) -> Self
pub fn set_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the database.
sourcepub fn status(self, input: DatabaseStatus) -> Self
pub fn status(self, input: DatabaseStatus) -> Self
The status of the database.
sourcepub fn set_status(self, input: Option<DatabaseStatus>) -> Self
pub fn set_status(self, input: Option<DatabaseStatus>) -> Self
The status of the database.
sourcepub fn get_status(&self) -> &Option<DatabaseStatus>
pub fn get_status(&self) -> &Option<DatabaseStatus>
The status of the database.
sourcepub fn primary_host(self, input: impl Into<String>) -> Self
pub fn primary_host(self, input: impl Into<String>) -> Self
The primary host of the database.
sourcepub fn set_primary_host(self, input: Option<String>) -> Self
pub fn set_primary_host(self, input: Option<String>) -> Self
The primary host of the database.
sourcepub fn get_primary_host(&self) -> &Option<String>
pub fn get_primary_host(&self) -> &Option<String>
The primary host of the database.
sourcepub fn set_sql_port(self, input: Option<i32>) -> Self
pub fn set_sql_port(self, input: Option<i32>) -> Self
The SQL port of the database.
sourcepub fn get_sql_port(&self) -> &Option<i32>
pub fn get_sql_port(&self) -> &Option<i32>
The SQL port of the database.
sourcepub fn last_updated(self, input: DateTime) -> Self
pub fn last_updated(self, input: DateTime) -> Self
The time at which the database was last updated.
sourcepub fn set_last_updated(self, input: Option<DateTime>) -> Self
pub fn set_last_updated(self, input: Option<DateTime>) -> Self
The time at which the database was last updated.
sourcepub fn get_last_updated(&self) -> &Option<DateTime>
pub fn get_last_updated(&self) -> &Option<DateTime>
The time at which the database was last updated.
Trait Implementations§
source§impl Clone for DatabaseBuilder
impl Clone for DatabaseBuilder
source§fn clone(&self) -> DatabaseBuilder
fn clone(&self) -> DatabaseBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Debug for DatabaseBuilder
impl Debug for DatabaseBuilder
source§impl Default for DatabaseBuilder
impl Default for DatabaseBuilder
source§fn default() -> DatabaseBuilder
fn default() -> DatabaseBuilder
source§impl PartialEq for DatabaseBuilder
impl PartialEq for DatabaseBuilder
source§fn eq(&self, other: &DatabaseBuilder) -> bool
fn eq(&self, other: &DatabaseBuilder) -> bool
self and other values to be equal, and is used
by ==.