Struct aws_sdk_directconnect::operation::allocate_private_virtual_interface::builders::AllocatePrivateVirtualInterfaceInputBuilder
source · #[non_exhaustive]pub struct AllocatePrivateVirtualInterfaceInputBuilder { /* private fields */ }Expand description
A builder for AllocatePrivateVirtualInterfaceInput.
Implementations§
source§impl AllocatePrivateVirtualInterfaceInputBuilder
impl AllocatePrivateVirtualInterfaceInputBuilder
sourcepub fn connection_id(self, input: impl Into<String>) -> Self
pub fn connection_id(self, input: impl Into<String>) -> Self
The ID of the connection on which the private virtual interface is provisioned.
This field is required.sourcepub fn set_connection_id(self, input: Option<String>) -> Self
pub fn set_connection_id(self, input: Option<String>) -> Self
The ID of the connection on which the private virtual interface is provisioned.
sourcepub fn get_connection_id(&self) -> &Option<String>
pub fn get_connection_id(&self) -> &Option<String>
The ID of the connection on which the private virtual interface is provisioned.
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 that owns the virtual private interface.
This field is required.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 that owns the virtual private interface.
sourcepub fn get_owner_account(&self) -> &Option<String>
pub fn get_owner_account(&self) -> &Option<String>
The ID of the Amazon Web Services account that owns the virtual private interface.
sourcepub fn new_private_virtual_interface_allocation(
self,
input: NewPrivateVirtualInterfaceAllocation
) -> Self
pub fn new_private_virtual_interface_allocation( self, input: NewPrivateVirtualInterfaceAllocation ) -> Self
Information about the private virtual interface.
This field is required.sourcepub fn set_new_private_virtual_interface_allocation(
self,
input: Option<NewPrivateVirtualInterfaceAllocation>
) -> Self
pub fn set_new_private_virtual_interface_allocation( self, input: Option<NewPrivateVirtualInterfaceAllocation> ) -> Self
Information about the private virtual interface.
sourcepub fn get_new_private_virtual_interface_allocation(
&self
) -> &Option<NewPrivateVirtualInterfaceAllocation>
pub fn get_new_private_virtual_interface_allocation( &self ) -> &Option<NewPrivateVirtualInterfaceAllocation>
Information about the private virtual interface.
sourcepub fn build(self) -> Result<AllocatePrivateVirtualInterfaceInput, BuildError>
pub fn build(self) -> Result<AllocatePrivateVirtualInterfaceInput, BuildError>
Consumes the builder and constructs a AllocatePrivateVirtualInterfaceInput.
source§impl AllocatePrivateVirtualInterfaceInputBuilder
impl AllocatePrivateVirtualInterfaceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AllocatePrivateVirtualInterfaceOutput, SdkError<AllocatePrivateVirtualInterfaceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AllocatePrivateVirtualInterfaceOutput, SdkError<AllocatePrivateVirtualInterfaceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AllocatePrivateVirtualInterfaceInputBuilder
impl Clone for AllocatePrivateVirtualInterfaceInputBuilder
source§fn clone(&self) -> AllocatePrivateVirtualInterfaceInputBuilder
fn clone(&self) -> AllocatePrivateVirtualInterfaceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AllocatePrivateVirtualInterfaceInputBuilder
impl Default for AllocatePrivateVirtualInterfaceInputBuilder
source§fn default() -> AllocatePrivateVirtualInterfaceInputBuilder
fn default() -> AllocatePrivateVirtualInterfaceInputBuilder
source§impl PartialEq for AllocatePrivateVirtualInterfaceInputBuilder
impl PartialEq for AllocatePrivateVirtualInterfaceInputBuilder
source§fn eq(&self, other: &AllocatePrivateVirtualInterfaceInputBuilder) -> bool
fn eq(&self, other: &AllocatePrivateVirtualInterfaceInputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for AllocatePrivateVirtualInterfaceInputBuilder
Auto Trait Implementations§
impl Freeze for AllocatePrivateVirtualInterfaceInputBuilder
impl RefUnwindSafe for AllocatePrivateVirtualInterfaceInputBuilder
impl Send for AllocatePrivateVirtualInterfaceInputBuilder
impl Sync for AllocatePrivateVirtualInterfaceInputBuilder
impl Unpin for AllocatePrivateVirtualInterfaceInputBuilder
impl UnwindSafe for AllocatePrivateVirtualInterfaceInputBuilder
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