Struct aws_sdk_opensearch::operation::create_outbound_connection::builders::CreateOutboundConnectionInputBuilder
source · #[non_exhaustive]pub struct CreateOutboundConnectionInputBuilder { /* private fields */ }Expand description
A builder for CreateOutboundConnectionInput.
Implementations§
source§impl CreateOutboundConnectionInputBuilder
impl CreateOutboundConnectionInputBuilder
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.
This field is required.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.
This field is required.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.
This field is required.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.
sourcepub fn build(self) -> Result<CreateOutboundConnectionInput, BuildError>
pub fn build(self) -> Result<CreateOutboundConnectionInput, BuildError>
Consumes the builder and constructs a CreateOutboundConnectionInput.
source§impl CreateOutboundConnectionInputBuilder
impl CreateOutboundConnectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateOutboundConnectionOutput, SdkError<CreateOutboundConnectionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateOutboundConnectionOutput, SdkError<CreateOutboundConnectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateOutboundConnectionInputBuilder
impl Clone for CreateOutboundConnectionInputBuilder
source§fn clone(&self) -> CreateOutboundConnectionInputBuilder
fn clone(&self) -> CreateOutboundConnectionInputBuilder
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 Default for CreateOutboundConnectionInputBuilder
impl Default for CreateOutboundConnectionInputBuilder
source§fn default() -> CreateOutboundConnectionInputBuilder
fn default() -> CreateOutboundConnectionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for CreateOutboundConnectionInputBuilder
impl PartialEq for CreateOutboundConnectionInputBuilder
source§fn eq(&self, other: &CreateOutboundConnectionInputBuilder) -> bool
fn eq(&self, other: &CreateOutboundConnectionInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for CreateOutboundConnectionInputBuilder
Auto Trait Implementations§
impl RefUnwindSafe for CreateOutboundConnectionInputBuilder
impl Send for CreateOutboundConnectionInputBuilder
impl Sync for CreateOutboundConnectionInputBuilder
impl Unpin for CreateOutboundConnectionInputBuilder
impl UnwindSafe for CreateOutboundConnectionInputBuilder
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.