#[non_exhaustive]pub struct ConnectionPropertiesBuilder { /* private fields */ }
Expand description
A builder for ConnectionProperties
.
Implementations§
source§impl ConnectionPropertiesBuilder
impl ConnectionPropertiesBuilder
sourcepub fn endpoint(self, input: impl Into<String>) -> Self
pub fn endpoint(self, input: impl Into<String>) -> Self
The Endpoint attribute cannot be modified.
The endpoint of the remote domain. Applicable for VPC_ENDPOINT connection mode.
sourcepub fn set_endpoint(self, input: Option<String>) -> Self
pub fn set_endpoint(self, input: Option<String>) -> Self
The Endpoint attribute cannot be modified.
The endpoint of the remote domain. Applicable for VPC_ENDPOINT connection mode.
sourcepub fn get_endpoint(&self) -> &Option<String>
pub fn get_endpoint(&self) -> &Option<String>
The Endpoint attribute cannot be modified.
The endpoint of the remote domain. Applicable for VPC_ENDPOINT connection mode.
sourcepub fn cross_cluster_search(
self,
input: CrossClusterSearchConnectionProperties
) -> Self
pub fn cross_cluster_search( self, input: CrossClusterSearchConnectionProperties ) -> Self
The connection properties for cross cluster search.
sourcepub fn set_cross_cluster_search(
self,
input: Option<CrossClusterSearchConnectionProperties>
) -> Self
pub fn set_cross_cluster_search( self, input: Option<CrossClusterSearchConnectionProperties> ) -> Self
The connection properties for cross cluster search.
sourcepub fn get_cross_cluster_search(
&self
) -> &Option<CrossClusterSearchConnectionProperties>
pub fn get_cross_cluster_search( &self ) -> &Option<CrossClusterSearchConnectionProperties>
The connection properties for cross cluster search.
sourcepub fn build(self) -> ConnectionProperties
pub fn build(self) -> ConnectionProperties
Consumes the builder and constructs a ConnectionProperties
.
Trait Implementations§
source§impl Clone for ConnectionPropertiesBuilder
impl Clone for ConnectionPropertiesBuilder
source§fn clone(&self) -> ConnectionPropertiesBuilder
fn clone(&self) -> ConnectionPropertiesBuilder
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 ConnectionPropertiesBuilder
impl Debug for ConnectionPropertiesBuilder
source§impl Default for ConnectionPropertiesBuilder
impl Default for ConnectionPropertiesBuilder
source§fn default() -> ConnectionPropertiesBuilder
fn default() -> ConnectionPropertiesBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for ConnectionPropertiesBuilder
impl PartialEq for ConnectionPropertiesBuilder
source§fn eq(&self, other: &ConnectionPropertiesBuilder) -> bool
fn eq(&self, other: &ConnectionPropertiesBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for ConnectionPropertiesBuilder
Auto Trait Implementations§
impl Freeze for ConnectionPropertiesBuilder
impl RefUnwindSafe for ConnectionPropertiesBuilder
impl Send for ConnectionPropertiesBuilder
impl Sync for ConnectionPropertiesBuilder
impl Unpin for ConnectionPropertiesBuilder
impl UnwindSafe for ConnectionPropertiesBuilder
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.