Struct aws_sdk_directconnect::operation::create_direct_connect_gateway::builders::CreateDirectConnectGatewayInputBuilder
source · #[non_exhaustive]pub struct CreateDirectConnectGatewayInputBuilder { /* private fields */ }Expand description
A builder for CreateDirectConnectGatewayInput.
Implementations§
source§impl CreateDirectConnectGatewayInputBuilder
impl CreateDirectConnectGatewayInputBuilder
sourcepub fn direct_connect_gateway_name(self, input: impl Into<String>) -> Self
pub fn direct_connect_gateway_name(self, input: impl Into<String>) -> Self
The name of the Direct Connect gateway.
This field is required.sourcepub fn set_direct_connect_gateway_name(self, input: Option<String>) -> Self
pub fn set_direct_connect_gateway_name(self, input: Option<String>) -> Self
The name of the Direct Connect gateway.
sourcepub fn get_direct_connect_gateway_name(&self) -> &Option<String>
pub fn get_direct_connect_gateway_name(&self) -> &Option<String>
The name of the Direct Connect gateway.
sourcepub fn amazon_side_asn(self, input: i64) -> Self
pub fn amazon_side_asn(self, input: i64) -> Self
The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. The default is 64512.
sourcepub fn set_amazon_side_asn(self, input: Option<i64>) -> Self
pub fn set_amazon_side_asn(self, input: Option<i64>) -> Self
The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. The default is 64512.
sourcepub fn get_amazon_side_asn(&self) -> &Option<i64>
pub fn get_amazon_side_asn(&self) -> &Option<i64>
The autonomous system number (ASN) for Border Gateway Protocol (BGP) to be configured on the Amazon side of the connection. The ASN must be in the private range of 64,512 to 65,534 or 4,200,000,000 to 4,294,967,294. The default is 64512.
sourcepub fn build(self) -> Result<CreateDirectConnectGatewayInput, BuildError>
pub fn build(self) -> Result<CreateDirectConnectGatewayInput, BuildError>
Consumes the builder and constructs a CreateDirectConnectGatewayInput.
source§impl CreateDirectConnectGatewayInputBuilder
impl CreateDirectConnectGatewayInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateDirectConnectGatewayOutput, SdkError<CreateDirectConnectGatewayError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateDirectConnectGatewayOutput, SdkError<CreateDirectConnectGatewayError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateDirectConnectGatewayInputBuilder
impl Clone for CreateDirectConnectGatewayInputBuilder
source§fn clone(&self) -> CreateDirectConnectGatewayInputBuilder
fn clone(&self) -> CreateDirectConnectGatewayInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateDirectConnectGatewayInputBuilder
impl Default for CreateDirectConnectGatewayInputBuilder
source§fn default() -> CreateDirectConnectGatewayInputBuilder
fn default() -> CreateDirectConnectGatewayInputBuilder
source§impl PartialEq for CreateDirectConnectGatewayInputBuilder
impl PartialEq for CreateDirectConnectGatewayInputBuilder
source§fn eq(&self, other: &CreateDirectConnectGatewayInputBuilder) -> bool
fn eq(&self, other: &CreateDirectConnectGatewayInputBuilder) -> bool
self and other values to be equal, and is used
by ==.