#[non_exhaustive]pub struct InboundConnectionStatusBuilder { /* private fields */ }
Expand description
A builder for InboundConnectionStatus
.
Implementations§
source§impl InboundConnectionStatusBuilder
impl InboundConnectionStatusBuilder
sourcepub fn status_code(self, input: InboundConnectionStatusCode) -> Self
pub fn status_code(self, input: InboundConnectionStatusCode) -> Self
The status code for the connection. Can be one of the following:
-
PENDING_ACCEPTANCE - Inbound connection is not yet accepted by the remote domain owner.
-
APPROVED: Inbound connection is pending acceptance by the remote domain owner.
-
PROVISIONING: Inbound connection is being provisioned.
-
ACTIVE: Inbound connection is active and ready to use.
-
REJECTING: Inbound connection rejection is in process.
-
REJECTED: Inbound connection is rejected.
-
DELETING: Inbound connection deletion is in progress.
-
DELETED: Inbound connection is deleted and can no longer be used.
sourcepub fn set_status_code(self, input: Option<InboundConnectionStatusCode>) -> Self
pub fn set_status_code(self, input: Option<InboundConnectionStatusCode>) -> Self
The status code for the connection. Can be one of the following:
-
PENDING_ACCEPTANCE - Inbound connection is not yet accepted by the remote domain owner.
-
APPROVED: Inbound connection is pending acceptance by the remote domain owner.
-
PROVISIONING: Inbound connection is being provisioned.
-
ACTIVE: Inbound connection is active and ready to use.
-
REJECTING: Inbound connection rejection is in process.
-
REJECTED: Inbound connection is rejected.
-
DELETING: Inbound connection deletion is in progress.
-
DELETED: Inbound connection is deleted and can no longer be used.
sourcepub fn get_status_code(&self) -> &Option<InboundConnectionStatusCode>
pub fn get_status_code(&self) -> &Option<InboundConnectionStatusCode>
The status code for the connection. Can be one of the following:
-
PENDING_ACCEPTANCE - Inbound connection is not yet accepted by the remote domain owner.
-
APPROVED: Inbound connection is pending acceptance by the remote domain owner.
-
PROVISIONING: Inbound connection is being provisioned.
-
ACTIVE: Inbound connection is active and ready to use.
-
REJECTING: Inbound connection rejection is in process.
-
REJECTED: Inbound connection is rejected.
-
DELETING: Inbound connection deletion is in progress.
-
DELETED: Inbound connection is deleted and can no longer be used.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
Information about the connection.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
Information about the connection.
sourcepub fn build(self) -> InboundConnectionStatus
pub fn build(self) -> InboundConnectionStatus
Consumes the builder and constructs a InboundConnectionStatus
.
Trait Implementations§
source§impl Clone for InboundConnectionStatusBuilder
impl Clone for InboundConnectionStatusBuilder
source§fn clone(&self) -> InboundConnectionStatusBuilder
fn clone(&self) -> InboundConnectionStatusBuilder
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Default for InboundConnectionStatusBuilder
impl Default for InboundConnectionStatusBuilder
source§fn default() -> InboundConnectionStatusBuilder
fn default() -> InboundConnectionStatusBuilder
source§impl PartialEq for InboundConnectionStatusBuilder
impl PartialEq for InboundConnectionStatusBuilder
source§fn eq(&self, other: &InboundConnectionStatusBuilder) -> bool
fn eq(&self, other: &InboundConnectionStatusBuilder) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for InboundConnectionStatusBuilder
Auto Trait Implementations§
impl Freeze for InboundConnectionStatusBuilder
impl RefUnwindSafe for InboundConnectionStatusBuilder
impl Send for InboundConnectionStatusBuilder
impl Sync for InboundConnectionStatusBuilder
impl Unpin for InboundConnectionStatusBuilder
impl UnwindSafe for InboundConnectionStatusBuilder
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