#[non_exhaustive]pub struct OracleAsmConfig {
pub hostname: String,
pub port: i32,
pub username: String,
pub password: String,
pub asm_service: String,
pub connection_attributes: HashMap<String, String>,
pub oracle_ssl_config: Option<OracleSslConfig>,
pub secret_manager_stored_password: String,
/* private fields */
}
Expand description
Configuration for Oracle Automatic Storage Management (ASM) connection.
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.hostname: String
Required. Hostname for the Oracle ASM connection.
port: i32
Required. Port for the Oracle ASM connection.
username: String
Required. Username for the Oracle ASM connection.
password: String
Optional. Password for the Oracle ASM connection. Mutually exclusive with
the secret_manager_stored_password
field.
asm_service: String
Required. ASM service name for the Oracle ASM connection.
connection_attributes: HashMap<String, String>
Optional. Connection string attributes
oracle_ssl_config: Option<OracleSslConfig>
Optional. SSL configuration for the Oracle connection.
secret_manager_stored_password: String
Optional. A reference to a Secret Manager resource name storing the Oracle
ASM connection password. Mutually exclusive with the password
field.
Implementations§
Source§impl OracleAsmConfig
impl OracleAsmConfig
pub fn new() -> Self
Sourcepub fn set_hostname<T: Into<String>>(self, v: T) -> Self
pub fn set_hostname<T: Into<String>>(self, v: T) -> Self
Sets the value of hostname.
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_asm_service<T: Into<String>>(self, v: T) -> Self
pub fn set_asm_service<T: Into<String>>(self, v: T) -> Self
Sets the value of asm_service.
Sourcepub fn set_connection_attributes<T, K, V>(self, v: T) -> Self
pub fn set_connection_attributes<T, K, V>(self, v: T) -> Self
Sets the value of connection_attributes.
Sourcepub fn set_oracle_ssl_config<T>(self, v: T) -> Selfwhere
T: Into<OracleSslConfig>,
pub fn set_oracle_ssl_config<T>(self, v: T) -> Selfwhere
T: Into<OracleSslConfig>,
Sets the value of oracle_ssl_config.
Sourcepub fn set_or_clear_oracle_ssl_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<OracleSslConfig>,
pub fn set_or_clear_oracle_ssl_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<OracleSslConfig>,
Sets or clears the value of oracle_ssl_config.
Sourcepub fn set_secret_manager_stored_password<T: Into<String>>(self, v: T) -> Self
pub fn set_secret_manager_stored_password<T: Into<String>>(self, v: T) -> Self
Sets the value of secret_manager_stored_password.
Trait Implementations§
Source§impl Clone for OracleAsmConfig
impl Clone for OracleAsmConfig
Source§fn clone(&self) -> OracleAsmConfig
fn clone(&self) -> OracleAsmConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more