#[non_exhaustive]pub struct PrivateConnection {
pub name: String,
pub create_time: Option<Timestamp>,
pub update_time: Option<Timestamp>,
pub labels: HashMap<String, String>,
pub display_name: String,
pub state: State,
pub error: Option<Error>,
pub satisfies_pzs: Option<bool>,
pub satisfies_pzi: Option<bool>,
pub vpc_peering_config: Option<VpcPeeringConfig>,
pub psc_interface_config: Option<PscInterfaceConfig>,
/* private fields */
}
Expand description
The PrivateConnection resource is used to establish private connectivity between Datastream and a customer’s network.
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: String
Output 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: String
Required. Display name.
state: State
Output only. The state of the Private Connection.
error: Option<Error>
Output only. In case of error, the details of the error in a user-friendly format.
satisfies_pzs: Option<bool>
Output only. Reserved for future use.
satisfies_pzi: Option<bool>
Output only. Reserved for future use.
vpc_peering_config: Option<VpcPeeringConfig>
VPC Peering Config.
psc_interface_config: Option<PscInterfaceConfig>
PSC Interface Config.
Implementations§
Source§impl PrivateConnection
impl PrivateConnection
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_or_clear_error<T>(self, v: Option<T>) -> Self
pub fn set_or_clear_error<T>(self, v: Option<T>) -> Self
Sets or clears the value of error.
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_vpc_peering_config<T>(self, v: T) -> Selfwhere
T: Into<VpcPeeringConfig>,
pub fn set_vpc_peering_config<T>(self, v: T) -> Selfwhere
T: Into<VpcPeeringConfig>,
Sets the value of vpc_peering_config.
Sourcepub fn set_or_clear_vpc_peering_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<VpcPeeringConfig>,
pub fn set_or_clear_vpc_peering_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<VpcPeeringConfig>,
Sets or clears the value of vpc_peering_config.
Sourcepub fn set_psc_interface_config<T>(self, v: T) -> Selfwhere
T: Into<PscInterfaceConfig>,
pub fn set_psc_interface_config<T>(self, v: T) -> Selfwhere
T: Into<PscInterfaceConfig>,
Sets the value of psc_interface_config.
Sourcepub fn set_or_clear_psc_interface_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<PscInterfaceConfig>,
pub fn set_or_clear_psc_interface_config<T>(self, v: Option<T>) -> Selfwhere
T: Into<PscInterfaceConfig>,
Sets or clears the value of psc_interface_config.
Trait Implementations§
Source§impl Clone for PrivateConnection
impl Clone for PrivateConnection
Source§fn clone(&self) -> PrivateConnection
fn clone(&self) -> PrivateConnection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read more