Struct aws_sdk_networkmanager::operation::create_connect_peer::builders::CreateConnectPeerInputBuilder
source · #[non_exhaustive]pub struct CreateConnectPeerInputBuilder { /* private fields */ }
Expand description
A builder for CreateConnectPeerInput
.
Implementations§
source§impl CreateConnectPeerInputBuilder
impl CreateConnectPeerInputBuilder
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.
This field is required.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.
This field is required.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 inside_cidr_blocks
.
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.
sourcepub fn build(self) -> Result<CreateConnectPeerInput, BuildError>
pub fn build(self) -> Result<CreateConnectPeerInput, BuildError>
Consumes the builder and constructs a CreateConnectPeerInput
.
source§impl CreateConnectPeerInputBuilder
impl CreateConnectPeerInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateConnectPeerOutput, SdkError<CreateConnectPeerError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateConnectPeerOutput, SdkError<CreateConnectPeerError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateConnectPeerInputBuilder
impl Clone for CreateConnectPeerInputBuilder
source§fn clone(&self) -> CreateConnectPeerInputBuilder
fn clone(&self) -> CreateConnectPeerInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for CreateConnectPeerInputBuilder
impl Default for CreateConnectPeerInputBuilder
source§fn default() -> CreateConnectPeerInputBuilder
fn default() -> CreateConnectPeerInputBuilder
source§impl PartialEq for CreateConnectPeerInputBuilder
impl PartialEq for CreateConnectPeerInputBuilder
source§fn eq(&self, other: &CreateConnectPeerInputBuilder) -> bool
fn eq(&self, other: &CreateConnectPeerInputBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.