#[non_exhaustive]pub struct OracleConnectionProfile {
pub host: String,
pub port: i32,
pub username: String,
pub password: String,
pub password_set: bool,
pub database_service: String,
pub ssl: Option<SslConfig>,
pub connectivity: Option<Connectivity>,
/* private fields */
}Expand description
Specifies connection parameters required specifically for Oracle databases.
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.host: StringRequired. The IP or hostname of the source Oracle database.
port: i32Required. The network port of the source Oracle database.
username: StringRequired. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service.
password: StringRequired. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is encrypted when stored in Database Migration Service.
password_set: boolOutput only. Indicates whether a new password is included in the request.
database_service: StringRequired. Database service for the Oracle connection.
ssl: Option<SslConfig>SSL configuration for the connection to the source Oracle database.
- Only
SERVER_ONLYconfiguration is supported for Oracle SSL. - SSL is supported for Oracle versions 12 and above.
connectivity: Option<Connectivity>Connectivity options used to establish a connection to the database server.
Implementations§
Source§impl OracleConnectionProfile
impl OracleConnectionProfile
pub fn new() -> Self
Sourcepub fn set_username<T: Into<String>>(self, v: T) -> Self
pub fn set_username<T: Into<String>>(self, v: T) -> Self
Sets the value of username.
Sourcepub fn set_password<T: Into<String>>(self, v: T) -> Self
pub fn set_password<T: Into<String>>(self, v: T) -> Self
Sets the value of password.
Sourcepub fn set_password_set<T: Into<bool>>(self, v: T) -> Self
pub fn set_password_set<T: Into<bool>>(self, v: T) -> Self
Sets the value of password_set.
Sourcepub fn set_database_service<T: Into<String>>(self, v: T) -> Self
pub fn set_database_service<T: Into<String>>(self, v: T) -> Self
Sets the value of database_service.
Sourcepub fn set_or_clear_ssl<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_ssl<T>(self, v: Option<T>) -> Self
Sets or clears the value of ssl.
Sourcepub fn set_connectivity<T: Into<Option<Connectivity>>>(self, v: T) -> Self
pub fn set_connectivity<T: Into<Option<Connectivity>>>(self, v: T) -> Self
Sets the value of connectivity.
Note that all the setters affecting connectivity are mutually
exclusive.
Sourcepub fn static_service_ip_connectivity(
&self,
) -> Option<&Box<StaticServiceIpConnectivity>>
pub fn static_service_ip_connectivity( &self, ) -> Option<&Box<StaticServiceIpConnectivity>>
The value of connectivity
if it holds a StaticServiceIpConnectivity, None if the field is not set or
holds a different branch.
Sourcepub fn set_static_service_ip_connectivity<T: Into<Box<StaticServiceIpConnectivity>>>(
self,
v: T,
) -> Self
pub fn set_static_service_ip_connectivity<T: Into<Box<StaticServiceIpConnectivity>>>( self, v: T, ) -> Self
Sets the value of connectivity
to hold a StaticServiceIpConnectivity.
Note that all the setters affecting connectivity are
mutually exclusive.
Sourcepub fn forward_ssh_connectivity(
&self,
) -> Option<&Box<ForwardSshTunnelConnectivity>>
pub fn forward_ssh_connectivity( &self, ) -> Option<&Box<ForwardSshTunnelConnectivity>>
The value of connectivity
if it holds a ForwardSshConnectivity, None if the field is not set or
holds a different branch.
Sourcepub fn set_forward_ssh_connectivity<T: Into<Box<ForwardSshTunnelConnectivity>>>(
self,
v: T,
) -> Self
pub fn set_forward_ssh_connectivity<T: Into<Box<ForwardSshTunnelConnectivity>>>( self, v: T, ) -> Self
Sets the value of connectivity
to hold a ForwardSshConnectivity.
Note that all the setters affecting connectivity are
mutually exclusive.
Sourcepub fn private_connectivity(&self) -> Option<&Box<PrivateConnectivity>>
pub fn private_connectivity(&self) -> Option<&Box<PrivateConnectivity>>
The value of connectivity
if it holds a PrivateConnectivity, None if the field is not set or
holds a different branch.
Sourcepub fn set_private_connectivity<T: Into<Box<PrivateConnectivity>>>(
self,
v: T,
) -> Self
pub fn set_private_connectivity<T: Into<Box<PrivateConnectivity>>>( self, v: T, ) -> Self
Sets the value of connectivity
to hold a PrivateConnectivity.
Note that all the setters affecting connectivity are
mutually exclusive.
Trait Implementations§
Source§impl Clone for OracleConnectionProfile
impl Clone for OracleConnectionProfile
Source§fn clone(&self) -> OracleConnectionProfile
fn clone(&self) -> OracleConnectionProfile
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more