#[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 ==
.