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<ConfirmConnectionOutputBuilder> for ConfirmConnectionOutputBuilder
impl PartialEq<ConfirmConnectionOutputBuilder> 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 ==.