Struct aws_sdk_opensearch::types::ConnectionProperties
source · #[non_exhaustive]pub struct ConnectionProperties {
pub endpoint: Option<String>,
pub cross_cluster_search: Option<CrossClusterSearchConnectionProperties>,
}
Expand description
The connection properties of an outbound 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.endpoint: Option<String>
The Endpoint attribute cannot be modified.
The endpoint of the remote domain. Applicable for VPC_ENDPOINT connection mode.
cross_cluster_search: Option<CrossClusterSearchConnectionProperties>
The connection properties for cross cluster search.
Implementations§
source§impl ConnectionProperties
impl ConnectionProperties
sourcepub fn endpoint(&self) -> Option<&str>
pub fn endpoint(&self) -> Option<&str>
The Endpoint attribute cannot be modified.
The endpoint of the remote domain. Applicable for VPC_ENDPOINT connection mode.
sourcepub fn cross_cluster_search(
&self
) -> Option<&CrossClusterSearchConnectionProperties>
pub fn cross_cluster_search( &self ) -> Option<&CrossClusterSearchConnectionProperties>
The connection properties for cross cluster search.
source§impl ConnectionProperties
impl ConnectionProperties
sourcepub fn builder() -> ConnectionPropertiesBuilder
pub fn builder() -> ConnectionPropertiesBuilder
Creates a new builder-style object to manufacture ConnectionProperties
.
Trait Implementations§
source§impl Clone for ConnectionProperties
impl Clone for ConnectionProperties
source§fn clone(&self) -> ConnectionProperties
fn clone(&self) -> ConnectionProperties
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 ConnectionProperties
impl Debug for ConnectionProperties
source§impl PartialEq for ConnectionProperties
impl PartialEq for ConnectionProperties
source§fn eq(&self, other: &ConnectionProperties) -> bool
fn eq(&self, other: &ConnectionProperties) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionProperties
Auto Trait Implementations§
impl Freeze for ConnectionProperties
impl RefUnwindSafe for ConnectionProperties
impl Send for ConnectionProperties
impl Sync for ConnectionProperties
impl Unpin for ConnectionProperties
impl UnwindSafe for ConnectionProperties
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.