pub struct AllocateHostedConnection { /* private fields */ }Expand description
Fluent builder constructing a request to AllocateHostedConnection.
Creates a hosted connection on the specified interconnect or a link aggregation group (LAG) of interconnects.
Allocates a VLAN number and a specified amount of capacity (bandwidth) for use by a hosted connection on the specified interconnect or LAG of interconnects. Amazon Web Services polices the hosted connection for the specified capacity and the Direct Connect Partner must also police the hosted connection for the specified capacity.
Intended for use by Direct Connect Partners only.
Implementations
sourceimpl AllocateHostedConnection
impl AllocateHostedConnection
sourcepub async fn customize(
self
) -> Result<CustomizableOperation<AllocateHostedConnection, AwsResponseRetryClassifier>, SdkError<AllocateHostedConnectionError>>
pub async fn customize(
self
) -> Result<CustomizableOperation<AllocateHostedConnection, AwsResponseRetryClassifier>, SdkError<AllocateHostedConnectionError>>
Consume this builder, creating a customizable operation that can be modified before being sent. The operation’s inner http::Request can be modified as well.
sourcepub async fn send(
self
) -> Result<AllocateHostedConnectionOutput, SdkError<AllocateHostedConnectionError>>
pub async fn send(
self
) -> Result<AllocateHostedConnectionOutput, SdkError<AllocateHostedConnectionError>>
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 connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
The ID of the interconnect or LAG.
sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
The ID of the interconnect or LAG.
sourcepub fn owner_account(self, input: impl Into<String>) -> Self
pub fn owner_account(self, input: impl Into<String>) -> Self
The ID of the Amazon Web Services account ID of the customer for the connection.
sourcepub fn set_owner_account(self, input: Option<String>) -> Self
pub fn set_owner_account(self, input: Option<String>) -> Self
The ID of the Amazon Web Services account ID of the customer for the connection.
sourcepub fn bandwidth(self, input: impl Into<String>) -> Self
pub fn bandwidth(self, input: impl Into<String>) -> Self
The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.
sourcepub fn set_bandwidth(self, input: Option<String>) -> Self
pub fn set_bandwidth(self, input: Option<String>) -> Self
The bandwidth of the connection. The possible values are 50Mbps, 100Mbps, 200Mbps, 300Mbps, 400Mbps, 500Mbps, 1Gbps, 2Gbps, 5Gbps, and 10Gbps. Note that only those Direct Connect Partners who have met specific requirements are allowed to create a 1Gbps, 2Gbps, 5Gbps or 10Gbps hosted connection.
sourcepub fn connection_name(self, input: impl Into<String>) -> Self
pub fn connection_name(self, input: impl Into<String>) -> Self
The name of the hosted connection.
sourcepub fn set_connection_name(self, input: Option<String>) -> Self
pub fn set_connection_name(self, input: Option<String>) -> Self
The name of the hosted connection.
sourcepub fn set_vlan(self, input: Option<i32>) -> Self
pub fn set_vlan(self, input: Option<i32>) -> Self
The dedicated VLAN provisioned to the hosted connection.
Appends an item to tags.
To override the contents of this collection use set_tags.
The tags associated with the connection.
The tags associated with the connection.
Trait Implementations
sourceimpl Clone for AllocateHostedConnection
impl Clone for AllocateHostedConnection
sourcefn clone(&self) -> AllocateHostedConnection
fn clone(&self) -> AllocateHostedConnection
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more