Struct aws_sdk_directconnect::operation::confirm_connection::builders::ConfirmConnectionOutputBuilder
source · #[non_exhaustive]pub struct ConfirmConnectionOutputBuilder { /* private fields */ }Expand description
A builder for ConfirmConnectionOutput.
Implementations§
source§impl ConfirmConnectionOutputBuilder
impl ConfirmConnectionOutputBuilder
sourcepub fn connection_state(self, input: ConnectionState) -> Self
pub fn connection_state(self, input: ConnectionState) -> Self
The state of the connection. The following are the possible values:
-
ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order. -
requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The connection has been approved and is being initialized. -
available: The network link is up and the connection is ready for use. -
down: The network link is down. -
deleting: The connection is being deleted. -
deleted: The connection has been deleted. -
rejected: A hosted connection in theorderingstate enters therejectedstate if it is deleted by the customer. -
unknown: The state of the connection is not available.
sourcepub fn set_connection_state(self, input: Option<ConnectionState>) -> Self
pub fn set_connection_state(self, input: Option<ConnectionState>) -> Self
The state of the connection. The following are the possible values:
-
ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order. -
requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The connection has been approved and is being initialized. -
available: The network link is up and the connection is ready for use. -
down: The network link is down. -
deleting: The connection is being deleted. -
deleted: The connection has been deleted. -
rejected: A hosted connection in theorderingstate enters therejectedstate if it is deleted by the customer. -
unknown: The state of the connection is not available.
sourcepub fn get_connection_state(&self) -> &Option<ConnectionState>
pub fn get_connection_state(&self) -> &Option<ConnectionState>
The state of the connection. The following are the possible values:
-
ordering: The initial state of a hosted connection provisioned on an interconnect. The connection stays in the ordering state until the owner of the hosted connection confirms or declines the connection order. -
requested: The initial state of a standard connection. The connection stays in the requested state until the Letter of Authorization (LOA) is sent to the customer. -
pending: The connection has been approved and is being initialized. -
available: The network link is up and the connection is ready for use. -
down: The network link is down. -
deleting: The connection is being deleted. -
deleted: The connection has been deleted. -
rejected: A hosted connection in theorderingstate enters therejectedstate if it is deleted by the customer. -
unknown: The state of the connection is not available.
sourcepub fn build(self) -> ConfirmConnectionOutput
pub fn build(self) -> ConfirmConnectionOutput
Consumes the builder and constructs a ConfirmConnectionOutput.
Trait Implementations§
source§impl Clone for ConfirmConnectionOutputBuilder
impl Clone for ConfirmConnectionOutputBuilder
source§fn clone(&self) -> ConfirmConnectionOutputBuilder
fn clone(&self) -> ConfirmConnectionOutputBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moresource§impl Default for ConfirmConnectionOutputBuilder
impl Default for ConfirmConnectionOutputBuilder
source§fn default() -> ConfirmConnectionOutputBuilder
fn default() -> ConfirmConnectionOutputBuilder
source§impl PartialEq for ConfirmConnectionOutputBuilder
impl PartialEq for ConfirmConnectionOutputBuilder
source§fn eq(&self, other: &ConfirmConnectionOutputBuilder) -> bool
fn eq(&self, other: &ConfirmConnectionOutputBuilder) -> bool
self and other values to be equal, and is used
by ==.impl StructuralPartialEq for ConfirmConnectionOutputBuilder
Auto Trait Implementations§
impl Freeze for ConfirmConnectionOutputBuilder
impl RefUnwindSafe for ConfirmConnectionOutputBuilder
impl Send for ConfirmConnectionOutputBuilder
impl Sync for ConfirmConnectionOutputBuilder
impl Unpin for ConfirmConnectionOutputBuilder
impl UnwindSafe for ConfirmConnectionOutputBuilder
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit)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