#[non_exhaustive]pub struct ConnectionProfile {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: HashMap<String, String>,
pub display_name: String,
pub satisfies_pzs: Option<bool>,
pub satisfies_pzi: Option<bool>,
pub profile: Option<Profile>,
pub connectivity: Option<Connectivity>,
/* private fields */
}Expand description
A set of reusable connection configurations to be used as a source or destination for a stream.
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.name: StringOutput only. Identifier. The resource’s name.
create_time: Option<Timestamp>Output only. The create time of the resource.
update_time: Option<Timestamp>Output only. The update time of the resource.
labels: HashMap<String, String>Labels.
display_name: StringRequired. Display name.
satisfies_pzs: Option<bool>Output only. Reserved for future use.
satisfies_pzi: Option<bool>Output only. Reserved for future use.
profile: Option<Profile>Connection configuration for the ConnectionProfile.
connectivity: Option<Connectivity>Connectivity options used to establish a connection to the profile.
Implementations§
Source§impl ConnectionProfile
impl ConnectionProfile
pub fn new() -> Self
Sourcepub fn set_create_time<T>(self, v: T) -> Self
pub fn set_create_time<T>(self, v: T) -> Self
Sets the value of create_time.
Sourcepub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_create_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of create_time.
Sourcepub fn set_update_time<T>(self, v: T) -> Self
pub fn set_update_time<T>(self, v: T) -> Self
Sets the value of update_time.
Sourcepub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_update_time<T>(self, v: Option<T>) -> Self
Sets or clears the value of update_time.
Sourcepub fn set_labels<T, K, V>(self, v: T) -> Self
pub fn set_labels<T, K, V>(self, v: T) -> Self
Sets the value of labels.
Sourcepub fn set_display_name<T: Into<String>>(self, v: T) -> Self
pub fn set_display_name<T: Into<String>>(self, v: T) -> Self
Sets the value of display_name.
Sourcepub fn set_satisfies_pzs<T>(self, v: T) -> Self
pub fn set_satisfies_pzs<T>(self, v: T) -> Self
Sets the value of satisfies_pzs.
Sourcepub fn set_or_clear_satisfies_pzs<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_satisfies_pzs<T>(self, v: Option<T>) -> Self
Sets or clears the value of satisfies_pzs.
Sourcepub fn set_satisfies_pzi<T>(self, v: T) -> Self
pub fn set_satisfies_pzi<T>(self, v: T) -> Self
Sets the value of satisfies_pzi.
Sourcepub fn set_or_clear_satisfies_pzi<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_satisfies_pzi<T>(self, v: Option<T>) -> Self
Sets or clears the value of satisfies_pzi.
Sourcepub fn set_profile<T: Into<Option<Profile>>>(self, v: T) -> Self
pub fn set_profile<T: Into<Option<Profile>>>(self, v: T) -> Self
Sets the value of profile.
Note that all the setters affecting profile are mutually
exclusive.
Sourcepub fn oracle_profile(&self) -> Option<&Box<OracleProfile>>
pub fn oracle_profile(&self) -> Option<&Box<OracleProfile>>
The value of profile
if it holds a OracleProfile, None if the field is not set or
holds a different branch.
Sourcepub fn set_oracle_profile<T: Into<Box<OracleProfile>>>(self, v: T) -> Self
pub fn set_oracle_profile<T: Into<Box<OracleProfile>>>(self, v: T) -> Self
Sets the value of profile
to hold a OracleProfile.
Note that all the setters affecting profile are
mutually exclusive.
Sourcepub fn gcs_profile(&self) -> Option<&Box<GcsProfile>>
pub fn gcs_profile(&self) -> Option<&Box<GcsProfile>>
The value of profile
if it holds a GcsProfile, None if the field is not set or
holds a different branch.
Sourcepub fn set_gcs_profile<T: Into<Box<GcsProfile>>>(self, v: T) -> Self
pub fn set_gcs_profile<T: Into<Box<GcsProfile>>>(self, v: T) -> Self
Sets the value of profile
to hold a GcsProfile.
Note that all the setters affecting profile are
mutually exclusive.
Sourcepub fn mysql_profile(&self) -> Option<&Box<MysqlProfile>>
pub fn mysql_profile(&self) -> Option<&Box<MysqlProfile>>
The value of profile
if it holds a MysqlProfile, None if the field is not set or
holds a different branch.
Sourcepub fn set_mysql_profile<T: Into<Box<MysqlProfile>>>(self, v: T) -> Self
pub fn set_mysql_profile<T: Into<Box<MysqlProfile>>>(self, v: T) -> Self
Sets the value of profile
to hold a MysqlProfile.
Note that all the setters affecting profile are
mutually exclusive.
Sourcepub fn bigquery_profile(&self) -> Option<&Box<BigQueryProfile>>
pub fn bigquery_profile(&self) -> Option<&Box<BigQueryProfile>>
The value of profile
if it holds a BigqueryProfile, None if the field is not set or
holds a different branch.
Sourcepub fn set_bigquery_profile<T: Into<Box<BigQueryProfile>>>(self, v: T) -> Self
pub fn set_bigquery_profile<T: Into<Box<BigQueryProfile>>>(self, v: T) -> Self
Sets the value of profile
to hold a BigqueryProfile.
Note that all the setters affecting profile are
mutually exclusive.
Sourcepub fn postgresql_profile(&self) -> Option<&Box<PostgresqlProfile>>
pub fn postgresql_profile(&self) -> Option<&Box<PostgresqlProfile>>
The value of profile
if it holds a PostgresqlProfile, None if the field is not set or
holds a different branch.
Sourcepub fn set_postgresql_profile<T: Into<Box<PostgresqlProfile>>>(
self,
v: T,
) -> Self
pub fn set_postgresql_profile<T: Into<Box<PostgresqlProfile>>>( self, v: T, ) -> Self
Sets the value of profile
to hold a PostgresqlProfile.
Note that all the setters affecting profile are
mutually exclusive.
Sourcepub fn sql_server_profile(&self) -> Option<&Box<SqlServerProfile>>
pub fn sql_server_profile(&self) -> Option<&Box<SqlServerProfile>>
The value of profile
if it holds a SqlServerProfile, None if the field is not set or
holds a different branch.
Sourcepub fn set_sql_server_profile<T: Into<Box<SqlServerProfile>>>(
self,
v: T,
) -> Self
pub fn set_sql_server_profile<T: Into<Box<SqlServerProfile>>>( self, v: T, ) -> Self
Sets the value of profile
to hold a SqlServerProfile.
Note that all the setters affecting profile are
mutually exclusive.
Sourcepub fn salesforce_profile(&self) -> Option<&Box<SalesforceProfile>>
pub fn salesforce_profile(&self) -> Option<&Box<SalesforceProfile>>
The value of profile
if it holds a SalesforceProfile, None if the field is not set or
holds a different branch.
Sourcepub fn set_salesforce_profile<T: Into<Box<SalesforceProfile>>>(
self,
v: T,
) -> Self
pub fn set_salesforce_profile<T: Into<Box<SalesforceProfile>>>( self, v: T, ) -> Self
Sets the value of profile
to hold a SalesforceProfile.
Note that all the setters affecting profile are
mutually exclusive.
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 ConnectionProfile
impl Clone for ConnectionProfile
Source§fn clone(&self) -> ConnectionProfile
fn clone(&self) -> ConnectionProfile
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more