Struct aws_sdk_opensearch::types::OutboundConnection
source · #[non_exhaustive]pub struct OutboundConnection {
pub local_domain_info: Option<DomainInformationContainer>,
pub remote_domain_info: Option<DomainInformationContainer>,
pub connection_id: Option<String>,
pub connection_alias: Option<String>,
pub connection_status: Option<OutboundConnectionStatus>,
pub connection_mode: Option<ConnectionMode>,
pub connection_properties: Option<ConnectionProperties>,
}
Expand description
Specifies details about an outbound cross-cluster connection.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.local_domain_info: Option<DomainInformationContainer>
Information about the source (local) domain.
remote_domain_info: Option<DomainInformationContainer>
Information about the destination (remote) domain.
connection_id: Option<String>
Unique identifier of the connection.
connection_alias: Option<String>
Name of the connection.
connection_status: Option<OutboundConnectionStatus>
Status of the connection.
connection_mode: Option<ConnectionMode>
The connection mode.
connection_properties: Option<ConnectionProperties>
Properties for the outbound connection.
Implementations§
source§impl OutboundConnection
impl OutboundConnection
sourcepub fn local_domain_info(&self) -> Option<&DomainInformationContainer>
pub fn local_domain_info(&self) -> Option<&DomainInformationContainer>
Information about the source (local) domain.
sourcepub fn remote_domain_info(&self) -> Option<&DomainInformationContainer>
pub fn remote_domain_info(&self) -> Option<&DomainInformationContainer>
Information about the destination (remote) domain.
sourcepub fn connection_id(&self) -> Option<&str>
pub fn connection_id(&self) -> Option<&str>
Unique identifier of the connection.
sourcepub fn connection_alias(&self) -> Option<&str>
pub fn connection_alias(&self) -> Option<&str>
Name of the connection.
sourcepub fn connection_status(&self) -> Option<&OutboundConnectionStatus>
pub fn connection_status(&self) -> Option<&OutboundConnectionStatus>
Status of the connection.
sourcepub fn connection_mode(&self) -> Option<&ConnectionMode>
pub fn connection_mode(&self) -> Option<&ConnectionMode>
The connection mode.
sourcepub fn connection_properties(&self) -> Option<&ConnectionProperties>
pub fn connection_properties(&self) -> Option<&ConnectionProperties>
Properties for the outbound connection.
source§impl OutboundConnection
impl OutboundConnection
sourcepub fn builder() -> OutboundConnectionBuilder
pub fn builder() -> OutboundConnectionBuilder
Creates a new builder-style object to manufacture OutboundConnection
.
Trait Implementations§
source§impl Clone for OutboundConnection
impl Clone for OutboundConnection
source§fn clone(&self) -> OutboundConnection
fn clone(&self) -> OutboundConnection
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 OutboundConnection
impl Debug for OutboundConnection
source§impl PartialEq for OutboundConnection
impl PartialEq for OutboundConnection
source§fn eq(&self, other: &OutboundConnection) -> bool
fn eq(&self, other: &OutboundConnection) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OutboundConnection
Auto Trait Implementations§
impl Freeze for OutboundConnection
impl RefUnwindSafe for OutboundConnection
impl Send for OutboundConnection
impl Sync for OutboundConnection
impl Unpin for OutboundConnection
impl UnwindSafe for OutboundConnection
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.