Struct aws_sdk_ssmsap::types::builders::DatabaseConnectionBuilder
source · #[non_exhaustive]pub struct DatabaseConnectionBuilder { /* private fields */ }Expand description
A builder for DatabaseConnection.
Implementations§
source§impl DatabaseConnectionBuilder
impl DatabaseConnectionBuilder
sourcepub fn database_connection_method(self, input: DatabaseConnectionMethod) -> Self
pub fn database_connection_method(self, input: DatabaseConnectionMethod) -> Self
The method of connection.
sourcepub fn set_database_connection_method(
self,
input: Option<DatabaseConnectionMethod>
) -> Self
pub fn set_database_connection_method( self, input: Option<DatabaseConnectionMethod> ) -> Self
The method of connection.
sourcepub fn get_database_connection_method(
&self
) -> &Option<DatabaseConnectionMethod>
pub fn get_database_connection_method( &self ) -> &Option<DatabaseConnectionMethod>
The method of connection.
sourcepub fn database_arn(self, input: impl Into<String>) -> Self
pub fn database_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name of the connected SAP HANA database.
sourcepub fn set_database_arn(self, input: Option<String>) -> Self
pub fn set_database_arn(self, input: Option<String>) -> Self
The Amazon Resource Name of the connected SAP HANA database.
sourcepub fn get_database_arn(&self) -> &Option<String>
pub fn get_database_arn(&self) -> &Option<String>
The Amazon Resource Name of the connected SAP HANA database.
sourcepub fn connection_ip(self, input: impl Into<String>) -> Self
pub fn connection_ip(self, input: impl Into<String>) -> Self
The IP address for connection.
sourcepub fn set_connection_ip(self, input: Option<String>) -> Self
pub fn set_connection_ip(self, input: Option<String>) -> Self
The IP address for connection.
sourcepub fn get_connection_ip(&self) -> &Option<String>
pub fn get_connection_ip(&self) -> &Option<String>
The IP address for connection.
sourcepub fn build(self) -> DatabaseConnection
pub fn build(self) -> DatabaseConnection
Consumes the builder and constructs a DatabaseConnection.
Trait Implementations§
source§impl Clone for DatabaseConnectionBuilder
impl Clone for DatabaseConnectionBuilder
source§fn clone(&self) -> DatabaseConnectionBuilder
fn clone(&self) -> DatabaseConnectionBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for DatabaseConnectionBuilder
impl Debug for DatabaseConnectionBuilder
source§impl Default for DatabaseConnectionBuilder
impl Default for DatabaseConnectionBuilder
source§fn default() -> DatabaseConnectionBuilder
fn default() -> DatabaseConnectionBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for DatabaseConnectionBuilder
impl PartialEq for DatabaseConnectionBuilder
source§fn eq(&self, other: &DatabaseConnectionBuilder) -> bool
fn eq(&self, other: &DatabaseConnectionBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for DatabaseConnectionBuilder
Auto Trait Implementations§
impl RefUnwindSafe for DatabaseConnectionBuilder
impl Send for DatabaseConnectionBuilder
impl Sync for DatabaseConnectionBuilder
impl Unpin for DatabaseConnectionBuilder
impl UnwindSafe for DatabaseConnectionBuilder
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
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>
Creates a shared type from an unshared type.