Struct aws_sdk_directconnect::operation::create_interconnect::builders::CreateInterconnectInputBuilder
source · #[non_exhaustive]pub struct CreateInterconnectInputBuilder { /* private fields */ }Expand description
A builder for CreateInterconnectInput.
Implementations§
source§impl CreateInterconnectInputBuilder
impl CreateInterconnectInputBuilder
sourcepub fn interconnect_name(self, input: impl Into<String>) -> Self
pub fn interconnect_name(self, input: impl Into<String>) -> Self
The name of the interconnect.
This field is required.sourcepub fn set_interconnect_name(self, input: Option<String>) -> Self
pub fn set_interconnect_name(self, input: Option<String>) -> Self
The name of the interconnect.
sourcepub fn get_interconnect_name(&self) -> &Option<String>
pub fn get_interconnect_name(&self) -> &Option<String>
The name of the interconnect.
sourcepub fn bandwidth(self, input: impl Into<String>) -> Self
pub fn bandwidth(self, input: impl Into<String>) -> Self
The port bandwidth, in Gbps. The possible values are 1 and 10.
This field is required.sourcepub fn set_bandwidth(self, input: Option<String>) -> Self
pub fn set_bandwidth(self, input: Option<String>) -> Self
The port bandwidth, in Gbps. The possible values are 1 and 10.
sourcepub fn get_bandwidth(&self) -> &Option<String>
pub fn get_bandwidth(&self) -> &Option<String>
The port bandwidth, in Gbps. The possible values are 1 and 10.
sourcepub fn location(self, input: impl Into<String>) -> Self
pub fn location(self, input: impl Into<String>) -> Self
The location of the interconnect.
This field is required.sourcepub fn set_location(self, input: Option<String>) -> Self
pub fn set_location(self, input: Option<String>) -> Self
The location of the interconnect.
sourcepub fn get_location(&self) -> &Option<String>
pub fn get_location(&self) -> &Option<String>
The location of the interconnect.
sourcepub fn set_lag_id(self, input: Option<String>) -> Self
pub fn set_lag_id(self, input: Option<String>) -> Self
The ID of the LAG.
sourcepub fn get_lag_id(&self) -> &Option<String>
pub fn get_lag_id(&self) -> &Option<String>
The ID of the LAG.
Appends an item to tags.
To override the contents of this collection use set_tags.
The tags to associate with the interconnect.
The tags to associate with the interconnect.
The tags to associate with the interconnect.
sourcepub fn provider_name(self, input: impl Into<String>) -> Self
pub fn provider_name(self, input: impl Into<String>) -> Self
The name of the service provider associated with the interconnect.
sourcepub fn set_provider_name(self, input: Option<String>) -> Self
pub fn set_provider_name(self, input: Option<String>) -> Self
The name of the service provider associated with the interconnect.
sourcepub fn get_provider_name(&self) -> &Option<String>
pub fn get_provider_name(&self) -> &Option<String>
The name of the service provider associated with the interconnect.
sourcepub fn build(self) -> Result<CreateInterconnectInput, BuildError>
pub fn build(self) -> Result<CreateInterconnectInput, BuildError>
Consumes the builder and constructs a CreateInterconnectInput.
source§impl CreateInterconnectInputBuilder
impl CreateInterconnectInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<CreateInterconnectOutput, SdkError<CreateInterconnectError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<CreateInterconnectOutput, SdkError<CreateInterconnectError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for CreateInterconnectInputBuilder
impl Clone for CreateInterconnectInputBuilder
source§fn clone(&self) -> CreateInterconnectInputBuilder
fn clone(&self) -> CreateInterconnectInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for CreateInterconnectInputBuilder
impl Default for CreateInterconnectInputBuilder
source§fn default() -> CreateInterconnectInputBuilder
fn default() -> CreateInterconnectInputBuilder
source§impl PartialEq for CreateInterconnectInputBuilder
impl PartialEq for CreateInterconnectInputBuilder
source§fn eq(&self, other: &CreateInterconnectInputBuilder) -> bool
fn eq(&self, other: &CreateInterconnectInputBuilder) -> bool
self and other values to be equal, and is used
by ==.