Struct aws_sdk_directconnect::operation::confirm_transit_virtual_interface::builders::ConfirmTransitVirtualInterfaceOutputBuilder
source · #[non_exhaustive]pub struct ConfirmTransitVirtualInterfaceOutputBuilder { /* private fields */ }Expand description
A builder for ConfirmTransitVirtualInterfaceOutput.
Implementations§
source§impl ConfirmTransitVirtualInterfaceOutputBuilder
impl ConfirmTransitVirtualInterfaceOutputBuilder
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) -> ConfirmTransitVirtualInterfaceOutput
pub fn build(self) -> ConfirmTransitVirtualInterfaceOutput
Consumes the builder and constructs a ConfirmTransitVirtualInterfaceOutput.
Trait Implementations§
source§impl Clone for ConfirmTransitVirtualInterfaceOutputBuilder
impl Clone for ConfirmTransitVirtualInterfaceOutputBuilder
source§fn clone(&self) -> ConfirmTransitVirtualInterfaceOutputBuilder
fn clone(&self) -> ConfirmTransitVirtualInterfaceOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ConfirmTransitVirtualInterfaceOutputBuilder
impl Default for ConfirmTransitVirtualInterfaceOutputBuilder
source§fn default() -> ConfirmTransitVirtualInterfaceOutputBuilder
fn default() -> ConfirmTransitVirtualInterfaceOutputBuilder
source§impl PartialEq for ConfirmTransitVirtualInterfaceOutputBuilder
impl PartialEq for ConfirmTransitVirtualInterfaceOutputBuilder
source§fn eq(&self, other: &ConfirmTransitVirtualInterfaceOutputBuilder) -> bool
fn eq(&self, other: &ConfirmTransitVirtualInterfaceOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConfirmTransitVirtualInterfaceOutputBuilder
Auto Trait Implementations§
impl Freeze for ConfirmTransitVirtualInterfaceOutputBuilder
impl RefUnwindSafe for ConfirmTransitVirtualInterfaceOutputBuilder
impl Send for ConfirmTransitVirtualInterfaceOutputBuilder
impl Sync for ConfirmTransitVirtualInterfaceOutputBuilder
impl Unpin for ConfirmTransitVirtualInterfaceOutputBuilder
impl UnwindSafe for ConfirmTransitVirtualInterfaceOutputBuilder
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