Struct aws_sdk_directconnect::operation::allocate_public_virtual_interface::builders::AllocatePublicVirtualInterfaceInputBuilder
source · #[non_exhaustive]pub struct AllocatePublicVirtualInterfaceInputBuilder { /* private fields */ }Expand description
A builder for AllocatePublicVirtualInterfaceInput.
Implementations§
source§impl AllocatePublicVirtualInterfaceInputBuilder
impl AllocatePublicVirtualInterfaceInputBuilder
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 public 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 public 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 public 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 public virtual 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 public virtual 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 public virtual interface.
sourcepub fn new_public_virtual_interface_allocation(
self,
input: NewPublicVirtualInterfaceAllocation
) -> Self
pub fn new_public_virtual_interface_allocation( self, input: NewPublicVirtualInterfaceAllocation ) -> Self
Information about the public virtual interface.
This field is required.sourcepub fn set_new_public_virtual_interface_allocation(
self,
input: Option<NewPublicVirtualInterfaceAllocation>
) -> Self
pub fn set_new_public_virtual_interface_allocation( self, input: Option<NewPublicVirtualInterfaceAllocation> ) -> Self
Information about the public virtual interface.
sourcepub fn get_new_public_virtual_interface_allocation(
&self
) -> &Option<NewPublicVirtualInterfaceAllocation>
pub fn get_new_public_virtual_interface_allocation( &self ) -> &Option<NewPublicVirtualInterfaceAllocation>
Information about the public virtual interface.
sourcepub fn build(self) -> Result<AllocatePublicVirtualInterfaceInput, BuildError>
pub fn build(self) -> Result<AllocatePublicVirtualInterfaceInput, BuildError>
Consumes the builder and constructs a AllocatePublicVirtualInterfaceInput.
source§impl AllocatePublicVirtualInterfaceInputBuilder
impl AllocatePublicVirtualInterfaceInputBuilder
sourcepub async fn send_with(
self,
client: &Client
) -> Result<AllocatePublicVirtualInterfaceOutput, SdkError<AllocatePublicVirtualInterfaceError, HttpResponse>>
pub async fn send_with( self, client: &Client ) -> Result<AllocatePublicVirtualInterfaceOutput, SdkError<AllocatePublicVirtualInterfaceError, HttpResponse>>
Sends a request with this input using the given client.
Trait Implementations§
source§impl Clone for AllocatePublicVirtualInterfaceInputBuilder
impl Clone for AllocatePublicVirtualInterfaceInputBuilder
source§fn clone(&self) -> AllocatePublicVirtualInterfaceInputBuilder
fn clone(&self) -> AllocatePublicVirtualInterfaceInputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for AllocatePublicVirtualInterfaceInputBuilder
impl Default for AllocatePublicVirtualInterfaceInputBuilder
source§fn default() -> AllocatePublicVirtualInterfaceInputBuilder
fn default() -> AllocatePublicVirtualInterfaceInputBuilder
source§impl PartialEq for AllocatePublicVirtualInterfaceInputBuilder
impl PartialEq for AllocatePublicVirtualInterfaceInputBuilder
source§fn eq(&self, other: &AllocatePublicVirtualInterfaceInputBuilder) -> bool
fn eq(&self, other: &AllocatePublicVirtualInterfaceInputBuilder) -> bool
self and other values to be equal, and is used
by ==.