Struct aws_sdk_networkmanager::operation::create_connect_peer::builders::CreateConnectPeerFluentBuilder
source · pub struct CreateConnectPeerFluentBuilder { /* private fields */ }
Expand description
Fluent builder constructing a request to CreateConnectPeer
.
Creates a core network Connect peer for a specified core network connect attachment between a core network and an appliance. The peer address and transit gateway address must be the same IP address family (IPv4 or IPv6).
Implementations§
source§impl CreateConnectPeerFluentBuilder
impl CreateConnectPeerFluentBuilder
sourcepub fn as_input(&self) -> &CreateConnectPeerInputBuilder
pub fn as_input(&self) -> &CreateConnectPeerInputBuilder
Access the CreateConnectPeer as a reference.
sourcepub async fn send(
self
) -> Result<CreateConnectPeerOutput, SdkError<CreateConnectPeerError, HttpResponse>>
pub async fn send( self ) -> Result<CreateConnectPeerOutput, SdkError<CreateConnectPeerError, 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<CreateConnectPeerOutput, CreateConnectPeerError, Self>
pub fn customize( self ) -> CustomizableOperation<CreateConnectPeerOutput, CreateConnectPeerError, Self>
Consumes this builder, creating a customizable operation that can be modified before being sent.
sourcepub fn connect_attachment_id(self, input: impl Into<String>) -> Self
pub fn connect_attachment_id(self, input: impl Into<String>) -> Self
The ID of the connection attachment.
sourcepub fn set_connect_attachment_id(self, input: Option<String>) -> Self
pub fn set_connect_attachment_id(self, input: Option<String>) -> Self
The ID of the connection attachment.
sourcepub fn get_connect_attachment_id(&self) -> &Option<String>
pub fn get_connect_attachment_id(&self) -> &Option<String>
The ID of the connection attachment.
sourcepub fn core_network_address(self, input: impl Into<String>) -> Self
pub fn core_network_address(self, input: impl Into<String>) -> Self
A Connect peer core network address.
sourcepub fn set_core_network_address(self, input: Option<String>) -> Self
pub fn set_core_network_address(self, input: Option<String>) -> Self
A Connect peer core network address.
sourcepub fn get_core_network_address(&self) -> &Option<String>
pub fn get_core_network_address(&self) -> &Option<String>
A Connect peer core network address.
sourcepub fn peer_address(self, input: impl Into<String>) -> Self
pub fn peer_address(self, input: impl Into<String>) -> Self
The Connect peer address.
sourcepub fn set_peer_address(self, input: Option<String>) -> Self
pub fn set_peer_address(self, input: Option<String>) -> Self
The Connect peer address.
sourcepub fn get_peer_address(&self) -> &Option<String>
pub fn get_peer_address(&self) -> &Option<String>
The Connect peer address.
sourcepub fn bgp_options(self, input: BgpOptions) -> Self
pub fn bgp_options(self, input: BgpOptions) -> Self
The Connect peer BGP options.
sourcepub fn set_bgp_options(self, input: Option<BgpOptions>) -> Self
pub fn set_bgp_options(self, input: Option<BgpOptions>) -> Self
The Connect peer BGP options.
sourcepub fn get_bgp_options(&self) -> &Option<BgpOptions>
pub fn get_bgp_options(&self) -> &Option<BgpOptions>
The Connect peer BGP options.
sourcepub fn inside_cidr_blocks(self, input: impl Into<String>) -> Self
pub fn inside_cidr_blocks(self, input: impl Into<String>) -> Self
Appends an item to InsideCidrBlocks
.
To override the contents of this collection use set_inside_cidr_blocks
.
The inside IP addresses used for BGP peering.
sourcepub fn set_inside_cidr_blocks(self, input: Option<Vec<String>>) -> Self
pub fn set_inside_cidr_blocks(self, input: Option<Vec<String>>) -> Self
The inside IP addresses used for BGP peering.
sourcepub fn get_inside_cidr_blocks(&self) -> &Option<Vec<String>>
pub fn get_inside_cidr_blocks(&self) -> &Option<Vec<String>>
The inside IP addresses used for BGP peering.
Appends an item to Tags
.
To override the contents of this collection use set_tags
.
The tags associated with the peer request.
The tags associated with the peer request.
The tags associated with the peer 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 subnet_arn(self, input: impl Into<String>) -> Self
pub fn subnet_arn(self, input: impl Into<String>) -> Self
The subnet ARN for the Connect peer.
sourcepub fn set_subnet_arn(self, input: Option<String>) -> Self
pub fn set_subnet_arn(self, input: Option<String>) -> Self
The subnet ARN for the Connect peer.
sourcepub fn get_subnet_arn(&self) -> &Option<String>
pub fn get_subnet_arn(&self) -> &Option<String>
The subnet ARN for the Connect peer.
Trait Implementations§
source§impl Clone for CreateConnectPeerFluentBuilder
impl Clone for CreateConnectPeerFluentBuilder
source§fn clone(&self) -> CreateConnectPeerFluentBuilder
fn clone(&self) -> CreateConnectPeerFluentBuilder
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 CreateConnectPeerFluentBuilder
impl !RefUnwindSafe for CreateConnectPeerFluentBuilder
impl Send for CreateConnectPeerFluentBuilder
impl Sync for CreateConnectPeerFluentBuilder
impl Unpin for CreateConnectPeerFluentBuilder
impl !UnwindSafe for CreateConnectPeerFluentBuilder
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