Struct aws_sdk_networkmanager::operation::create_connect_attachment::builders::CreateConnectAttachmentFluentBuilder
source · pub struct CreateConnectAttachmentFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateConnectAttachment
.
Creates a core network Connect attachment from a specified core network attachment.
A core network Connect attachment is a GRE-based tunnel attachment that you can use to establish a connection between a core network and an appliance. A core network Connect attachment uses an existing VPC attachment as the underlying transport mechanism.
Implementations§
source§impl CreateConnectAttachmentFluentBuilder
impl CreateConnectAttachmentFluentBuilder
sourcepub fn as_input(&self) -> &CreateConnectAttachmentInputBuilder
pub fn as_input(&self) -> &CreateConnectAttachmentInputBuilder
Access the CreateConnectAttachment as a reference.
sourcepub async fn send(
self
) -> Result<CreateConnectAttachmentOutput, SdkError<CreateConnectAttachmentError, HttpResponse>>
pub async fn send( self ) -> Result<CreateConnectAttachmentOutput, SdkError<CreateConnectAttachmentError, 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<CreateConnectAttachmentOutput, CreateConnectAttachmentError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateConnectAttachmentOutput, CreateConnectAttachmentError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn core_network_id(self, input: impl Into<String>) -> Self
pub fn core_network_id(self, input: impl Into<String>) -> Self
The ID of a core network where you want to create the attachment.
sourcepub fn set_core_network_id(self, input: Option<String>) -> Self
pub fn set_core_network_id(self, input: Option<String>) -> Self
The ID of a core network where you want to create the attachment.
sourcepub fn get_core_network_id(&self) -> &Option<String>
pub fn get_core_network_id(&self) -> &Option<String>
The ID of a core network where you want to create the attachment.
sourcepub fn edge_location(self, input: impl Into<String>) -> Self
pub fn edge_location(self, input: impl Into<String>) -> Self
The Region where the edge is located.
sourcepub fn set_edge_location(self, input: Option<String>) -> Self
pub fn set_edge_location(self, input: Option<String>) -> Self
The Region where the edge is located.
sourcepub fn get_edge_location(&self) -> &Option<String>
pub fn get_edge_location(&self) -> &Option<String>
The Region where the edge is located.
sourcepub fn transport_attachment_id(self, input: impl Into<String>) -> Self
pub fn transport_attachment_id(self, input: impl Into<String>) -> Self
The ID of the attachment between the two connections.
sourcepub fn set_transport_attachment_id(self, input: Option<String>) -> Self
pub fn set_transport_attachment_id(self, input: Option<String>) -> Self
The ID of the attachment between the two connections.
sourcepub fn get_transport_attachment_id(&self) -> &Option<String>
pub fn get_transport_attachment_id(&self) -> &Option<String>
The ID of the attachment between the two connections.
sourcepub fn options(self, input: ConnectAttachmentOptions) -> Self
pub fn options(self, input: ConnectAttachmentOptions) -> Self
Options for creating an attachment.
sourcepub fn set_options(self, input: Option<ConnectAttachmentOptions>) -> Self
pub fn set_options(self, input: Option<ConnectAttachmentOptions>) -> Self
Options for creating an attachment.
sourcepub fn get_options(&self) -> &Option<ConnectAttachmentOptions>
pub fn get_options(&self) -> &Option<ConnectAttachmentOptions>
Options for creating an attachment.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The list of key-value tags associated with the request.
The list of key-value tags associated with the request.
The list of key-value tags associated with the request.
sourcepub fn client_token(self, input: impl Into<String>) -> Self
pub fn client_token(self, input: impl Into<String>) -> Self
The client token associated with the request.
sourcepub fn set_client_token(self, input: Option<String>) -> Self
pub fn set_client_token(self, input: Option<String>) -> Self
The client token associated with the request.
sourcepub fn get_client_token(&self) -> &Option<String>
pub fn get_client_token(&self) -> &Option<String>
The client token associated with the request.
Trait Implementations§
source§impl Clone for CreateConnectAttachmentFluentBuilder
impl Clone for CreateConnectAttachmentFluentBuilder
source§fn clone(&self) -> CreateConnectAttachmentFluentBuilder
fn clone(&self) -> CreateConnectAttachmentFluentBuilder
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 CreateConnectAttachmentFluentBuilder
impl !RefUnwindSafe for CreateConnectAttachmentFluentBuilder
impl Send for CreateConnectAttachmentFluentBuilder
impl Sync for CreateConnectAttachmentFluentBuilder
impl Unpin for CreateConnectAttachmentFluentBuilder
impl !UnwindSafe for CreateConnectAttachmentFluentBuilder
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> 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