Struct aws_sdk_directconnect::operation::confirm_private_virtual_interface::builders::ConfirmPrivateVirtualInterfaceOutputBuilder
source · #[non_exhaustive]pub struct ConfirmPrivateVirtualInterfaceOutputBuilder { /* private fields */ }Expand description
A builder for ConfirmPrivateVirtualInterfaceOutput.
Implementations§
source§impl ConfirmPrivateVirtualInterfaceOutputBuilder
impl ConfirmPrivateVirtualInterfaceOutputBuilder
sourcepub fn virtual_interface_state(self, input: VirtualInterfaceState) -> Self
pub fn virtual_interface_state(self, input: VirtualInterfaceState) -> Self
The state of the virtual interface. The following are the possible values:
-
confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner. -
verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created. -
pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic. -
available: A virtual interface that is able to forward traffic. -
down: A virtual interface that is BGP down. -
deleting: A virtual interface is in this state immediately after callingDeleteVirtualInterfaceuntil it can no longer forward traffic. -
deleted: A virtual interface that cannot forward traffic. -
rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in theConfirmingstate is deleted by the virtual interface owner, the virtual interface enters theRejectedstate. -
unknown: The state of the virtual interface is not available.
sourcepub fn set_virtual_interface_state(
self,
input: Option<VirtualInterfaceState>
) -> Self
pub fn set_virtual_interface_state( self, input: Option<VirtualInterfaceState> ) -> Self
The state of the virtual interface. The following are the possible values:
-
confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner. -
verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created. -
pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic. -
available: A virtual interface that is able to forward traffic. -
down: A virtual interface that is BGP down. -
deleting: A virtual interface is in this state immediately after callingDeleteVirtualInterfaceuntil it can no longer forward traffic. -
deleted: A virtual interface that cannot forward traffic. -
rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in theConfirmingstate is deleted by the virtual interface owner, the virtual interface enters theRejectedstate. -
unknown: The state of the virtual interface is not available.
sourcepub fn get_virtual_interface_state(&self) -> &Option<VirtualInterfaceState>
pub fn get_virtual_interface_state(&self) -> &Option<VirtualInterfaceState>
The state of the virtual interface. The following are the possible values:
-
confirming: The creation of the virtual interface is pending confirmation from the virtual interface owner. If the owner of the virtual interface is different from the owner of the connection on which it is provisioned, then the virtual interface will remain in this state until it is confirmed by the virtual interface owner. -
verifying: This state only applies to public virtual interfaces. Each public virtual interface needs validation before the virtual interface can be created. -
pending: A virtual interface is in this state from the time that it is created until the virtual interface is ready to forward traffic. -
available: A virtual interface that is able to forward traffic. -
down: A virtual interface that is BGP down. -
deleting: A virtual interface is in this state immediately after callingDeleteVirtualInterfaceuntil it can no longer forward traffic. -
deleted: A virtual interface that cannot forward traffic. -
rejected: The virtual interface owner has declined creation of the virtual interface. If a virtual interface in theConfirmingstate is deleted by the virtual interface owner, the virtual interface enters theRejectedstate. -
unknown: The state of the virtual interface is not available.
sourcepub fn build(self) -> ConfirmPrivateVirtualInterfaceOutput
pub fn build(self) -> ConfirmPrivateVirtualInterfaceOutput
Consumes the builder and constructs a ConfirmPrivateVirtualInterfaceOutput.
Trait Implementations§
source§impl Clone for ConfirmPrivateVirtualInterfaceOutputBuilder
impl Clone for ConfirmPrivateVirtualInterfaceOutputBuilder
source§fn clone(&self) -> ConfirmPrivateVirtualInterfaceOutputBuilder
fn clone(&self) -> ConfirmPrivateVirtualInterfaceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ConfirmPrivateVirtualInterfaceOutputBuilder
impl Default for ConfirmPrivateVirtualInterfaceOutputBuilder
source§fn default() -> ConfirmPrivateVirtualInterfaceOutputBuilder
fn default() -> ConfirmPrivateVirtualInterfaceOutputBuilder
source§impl PartialEq for ConfirmPrivateVirtualInterfaceOutputBuilder
impl PartialEq for ConfirmPrivateVirtualInterfaceOutputBuilder
source§fn eq(&self, other: &ConfirmPrivateVirtualInterfaceOutputBuilder) -> bool
fn eq(&self, other: &ConfirmPrivateVirtualInterfaceOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.