Struct aws_sdk_opensearch::operation::create_outbound_connection::builders::CreateOutboundConnectionFluentBuilder
source · pub struct CreateOutboundConnectionFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateOutboundConnection
.
Creates a new cross-cluster search connection from a source Amazon OpenSearch Service domain to a destination domain. For more information, see Cross-cluster search for Amazon OpenSearch Service.
Implementations§
source§impl CreateOutboundConnectionFluentBuilder
impl CreateOutboundConnectionFluentBuilder
sourcepub fn as_input(&self) -> &CreateOutboundConnectionInputBuilder
pub fn as_input(&self) -> &CreateOutboundConnectionInputBuilder
Access the CreateOutboundConnection as a reference.
sourcepub async fn send(
self,
) -> Result<CreateOutboundConnectionOutput, SdkError<CreateOutboundConnectionError, HttpResponse>>
pub async fn send( self, ) -> Result<CreateOutboundConnectionOutput, SdkError<CreateOutboundConnectionError, HttpResponse>>
Sends the request and returns the response.
If an error occurs, an SdkError
will be returned with additional details that
can be matched against.
By default, any retryable failures will be retried twice. Retry behavior is configurable with the RetryConfig, which can be set when configuring the client.
sourcepub fn customize(
self,
) -> CustomizableOperation<CreateOutboundConnectionOutput, CreateOutboundConnectionError, Self>
pub fn customize( self, ) -> CustomizableOperation<CreateOutboundConnectionOutput, CreateOutboundConnectionError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn local_domain_info(self, input: DomainInformationContainer) -> Self
pub fn local_domain_info(self, input: DomainInformationContainer) -> Self
Name and Region of the source (local) domain.
sourcepub fn set_local_domain_info(
self,
input: Option<DomainInformationContainer>,
) -> Self
pub fn set_local_domain_info( self, input: Option<DomainInformationContainer>, ) -> Self
Name and Region of the source (local) domain.
sourcepub fn get_local_domain_info(&self) -> &Option<DomainInformationContainer>
pub fn get_local_domain_info(&self) -> &Option<DomainInformationContainer>
Name and Region of the source (local) domain.
sourcepub fn remote_domain_info(self, input: DomainInformationContainer) -> Self
pub fn remote_domain_info(self, input: DomainInformationContainer) -> Self
Name and Region of the destination (remote) domain.
sourcepub fn set_remote_domain_info(
self,
input: Option<DomainInformationContainer>,
) -> Self
pub fn set_remote_domain_info( self, input: Option<DomainInformationContainer>, ) -> Self
Name and Region of the destination (remote) domain.
sourcepub fn get_remote_domain_info(&self) -> &Option<DomainInformationContainer>
pub fn get_remote_domain_info(&self) -> &Option<DomainInformationContainer>
Name and Region of the destination (remote) domain.
sourcepub fn connection_alias(self, input: impl Into<String>) -> Self
pub fn connection_alias(self, input: impl Into<String>) -> Self
Name of the connection.
sourcepub fn set_connection_alias(self, input: Option<String>) -> Self
pub fn set_connection_alias(self, input: Option<String>) -> Self
Name of the connection.
sourcepub fn get_connection_alias(&self) -> &Option<String>
pub fn get_connection_alias(&self) -> &Option<String>
Name of the connection.
sourcepub fn connection_mode(self, input: ConnectionMode) -> Self
pub fn connection_mode(self, input: ConnectionMode) -> Self
The connection mode.
sourcepub fn set_connection_mode(self, input: Option<ConnectionMode>) -> Self
pub fn set_connection_mode(self, input: Option<ConnectionMode>) -> Self
The connection mode.
sourcepub fn get_connection_mode(&self) -> &Option<ConnectionMode>
pub fn get_connection_mode(&self) -> &Option<ConnectionMode>
The connection mode.
sourcepub fn connection_properties(self, input: ConnectionProperties) -> Self
pub fn connection_properties(self, input: ConnectionProperties) -> Self
The ConnectionProperties
for the outbound connection.
sourcepub fn set_connection_properties(
self,
input: Option<ConnectionProperties>,
) -> Self
pub fn set_connection_properties( self, input: Option<ConnectionProperties>, ) -> Self
The ConnectionProperties
for the outbound connection.
sourcepub fn get_connection_properties(&self) -> &Option<ConnectionProperties>
pub fn get_connection_properties(&self) -> &Option<ConnectionProperties>
The ConnectionProperties
for the outbound connection.
Trait Implementations§
source§impl Clone for CreateOutboundConnectionFluentBuilder
impl Clone for CreateOutboundConnectionFluentBuilder
source§fn clone(&self) -> CreateOutboundConnectionFluentBuilder
fn clone(&self) -> CreateOutboundConnectionFluentBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreAuto Trait Implementations§
impl Freeze for CreateOutboundConnectionFluentBuilder
impl !RefUnwindSafe for CreateOutboundConnectionFluentBuilder
impl Send for CreateOutboundConnectionFluentBuilder
impl Sync for CreateOutboundConnectionFluentBuilder
impl Unpin for CreateOutboundConnectionFluentBuilder
impl !UnwindSafe for CreateOutboundConnectionFluentBuilder
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)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>
source§impl<T> IntoEither for T
impl<T> IntoEither for T
source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moresource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more