Struct aws_sdk_networkmanager::operation::create_site_to_site_vpn_attachment::builders::CreateSiteToSiteVpnAttachmentInputBuilder
source · #[non_exhaustive]pub struct CreateSiteToSiteVpnAttachmentInputBuilder { /* private fields */ }
Expand description
A builder for CreateSiteToSiteVpnAttachmentInput
.
Implementations§
source§impl CreateSiteToSiteVpnAttachmentInputBuilder
impl CreateSiteToSiteVpnAttachmentInputBuilder
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're creating a site-to-site VPN attachment.
This field is required.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're creating a site-to-site VPN 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're creating a site-to-site VPN attachment.
sourcepub fn vpn_connection_arn(self, input: impl Into<String>) -> Self
pub fn vpn_connection_arn(self, input: impl Into<String>) -> Self
The ARN identifying the VPN attachment.
This field is required.sourcepub fn set_vpn_connection_arn(self, input: Option<String>) -> Self
pub fn set_vpn_connection_arn(self, input: Option<String>) -> Self
The ARN identifying the VPN attachment.
sourcepub fn get_vpn_connection_arn(&self) -> &Option<String>
pub fn get_vpn_connection_arn(&self) -> &Option<String>
The ARN identifying the VPN attachment.
Appends an item to tags
.
To override the contents of this collection use set_tags
.
The tags associated with the request.
The tags associated with the request.
The 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.
sourcepub fn build(self) -> Result<CreateSiteToSiteVpnAttachmentInput, BuildError>
pub fn build(self) -> Result<CreateSiteToSiteVpnAttachmentInput, BuildError>
Consumes the builder and constructs a CreateSiteToSiteVpnAttachmentInput
.
source§impl CreateSiteToSiteVpnAttachmentInputBuilder
impl CreateSiteToSiteVpnAttachmentInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateSiteToSiteVpnAttachmentOutput, SdkError<CreateSiteToSiteVpnAttachmentError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateSiteToSiteVpnAttachmentOutput, SdkError<CreateSiteToSiteVpnAttachmentError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateSiteToSiteVpnAttachmentInputBuilder
impl Clone for CreateSiteToSiteVpnAttachmentInputBuilder
source§fn clone(&self) -> CreateSiteToSiteVpnAttachmentInputBuilder
fn clone(&self) -> CreateSiteToSiteVpnAttachmentInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateSiteToSiteVpnAttachmentInputBuilder
impl Default for CreateSiteToSiteVpnAttachmentInputBuilder
source§fn default() -> CreateSiteToSiteVpnAttachmentInputBuilder
fn default() -> CreateSiteToSiteVpnAttachmentInputBuilder
source§impl PartialEq for CreateSiteToSiteVpnAttachmentInputBuilder
impl PartialEq for CreateSiteToSiteVpnAttachmentInputBuilder
source§fn eq(&self, other: &CreateSiteToSiteVpnAttachmentInputBuilder) -> bool
fn eq(&self, other: &CreateSiteToSiteVpnAttachmentInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CreateSiteToSiteVpnAttachmentInputBuilder
Auto Trait Implementations§
impl Freeze for CreateSiteToSiteVpnAttachmentInputBuilder
impl RefUnwindSafe for CreateSiteToSiteVpnAttachmentInputBuilder
impl Send for CreateSiteToSiteVpnAttachmentInputBuilder
impl Sync for CreateSiteToSiteVpnAttachmentInputBuilder
impl Unpin for CreateSiteToSiteVpnAttachmentInputBuilder
impl UnwindSafe for CreateSiteToSiteVpnAttachmentInputBuilder
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