Struct aws_sdk_directconnect::operation::associate_hosted_connection::builders::AssociateHostedConnectionInputBuilder
source · #[non_exhaustive]pub struct AssociateHostedConnectionInputBuilder { /* private fields */ }Expand description
A builder for AssociateHostedConnectionInput.
Implementations§
source§impl AssociateHostedConnectionInputBuilder
impl AssociateHostedConnectionInputBuilder
sourcepub fn connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
The ID of the hosted connection.
This field is required.sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
The ID of the hosted connection.
sourcepub fn get_connection_id(&self) -> &Option<String>
pub fn get_connection_id(&self) -> &Option<String>
The ID of the hosted connection.
sourcepub fn parent_connection_id(self, input: impl Into<String>) -> Self
pub fn parent_connection_id(self, input: impl Into<String>) -> Self
The ID of the interconnect or the LAG.
This field is required.sourcepub fn set_parent_connection_id(self, input: Option<String>) -> Self
pub fn set_parent_connection_id(self, input: Option<String>) -> Self
The ID of the interconnect or the LAG.
sourcepub fn get_parent_connection_id(&self) -> &Option<String>
pub fn get_parent_connection_id(&self) -> &Option<String>
The ID of the interconnect or the LAG.
sourcepub fn build(self) -> Result<AssociateHostedConnectionInput, BuildError>
pub fn build(self) -> Result<AssociateHostedConnectionInput, BuildError>
Consumes the builder and constructs a AssociateHostedConnectionInput.
source§impl AssociateHostedConnectionInputBuilder
impl AssociateHostedConnectionInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AssociateHostedConnectionOutput, SdkError<AssociateHostedConnectionError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AssociateHostedConnectionOutput, SdkError<AssociateHostedConnectionError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AssociateHostedConnectionInputBuilder
impl Clone for AssociateHostedConnectionInputBuilder
source§fn clone(&self) -> AssociateHostedConnectionInputBuilder
fn clone(&self) -> AssociateHostedConnectionInputBuilder
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 AssociateHostedConnectionInputBuilder
impl Default for AssociateHostedConnectionInputBuilder
source§fn default() -> AssociateHostedConnectionInputBuilder
fn default() -> AssociateHostedConnectionInputBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for AssociateHostedConnectionInputBuilder
impl PartialEq for AssociateHostedConnectionInputBuilder
source§fn eq(&self, other: &AssociateHostedConnectionInputBuilder) -> bool
fn eq(&self, other: &AssociateHostedConnectionInputBuilder) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AssociateHostedConnectionInputBuilder
Auto Trait Implementations§
impl Freeze for AssociateHostedConnectionInputBuilder
impl RefUnwindSafe for AssociateHostedConnectionInputBuilder
impl Send for AssociateHostedConnectionInputBuilder
impl Sync for AssociateHostedConnectionInputBuilder
impl Unpin for AssociateHostedConnectionInputBuilder
impl UnwindSafe for AssociateHostedConnectionInputBuilder
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.