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 ==.impl StructuralPartialEq for CreateInterconnectInputBuilder
Auto Trait Implementations§
impl Freeze for CreateInterconnectInputBuilder
impl RefUnwindSafe for CreateInterconnectInputBuilder
impl Send for CreateInterconnectInputBuilder
impl Sync for CreateInterconnectInputBuilder
impl Unpin for CreateInterconnectInputBuilder
impl UnwindSafe for CreateInterconnectInputBuilder
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