Struct aws_sdk_elasticsearch::types::builders::OutboundCrossClusterSearchConnectionStatusBuilder
source · #[non_exhaustive]pub struct OutboundCrossClusterSearchConnectionStatusBuilder { /* private fields */ }
Expand description
A builder for OutboundCrossClusterSearchConnectionStatus
.
Implementations§
source§impl OutboundCrossClusterSearchConnectionStatusBuilder
impl OutboundCrossClusterSearchConnectionStatusBuilder
sourcepub fn status_code(
self,
input: OutboundCrossClusterSearchConnectionStatusCode
) -> Self
pub fn status_code( self, input: OutboundCrossClusterSearchConnectionStatusCode ) -> Self
The state code for outbound connection. This can be one of the following:
- VALIDATING: The outbound connection request is being validated.
- VALIDATION_FAILED: Validation failed for the connection request.
- PENDING_ACCEPTANCE: Outbound connection request is validated and is not yet accepted by destination domain owner.
- PROVISIONING: Outbound connection request is in process.
- ACTIVE: Outbound connection is active and ready to use.
- REJECTED: Outbound connection request is rejected by destination domain owner.
- DELETING: Outbound connection deletion is in progress.
- DELETED: Outbound connection is deleted and cannot be used further.
sourcepub fn set_status_code(
self,
input: Option<OutboundCrossClusterSearchConnectionStatusCode>
) -> Self
pub fn set_status_code( self, input: Option<OutboundCrossClusterSearchConnectionStatusCode> ) -> Self
The state code for outbound connection. This can be one of the following:
- VALIDATING: The outbound connection request is being validated.
- VALIDATION_FAILED: Validation failed for the connection request.
- PENDING_ACCEPTANCE: Outbound connection request is validated and is not yet accepted by destination domain owner.
- PROVISIONING: Outbound connection request is in process.
- ACTIVE: Outbound connection is active and ready to use.
- REJECTED: Outbound connection request is rejected by destination domain owner.
- DELETING: Outbound connection deletion is in progress.
- DELETED: Outbound connection is deleted and cannot be used further.
sourcepub fn get_status_code(
&self
) -> &Option<OutboundCrossClusterSearchConnectionStatusCode>
pub fn get_status_code( &self ) -> &Option<OutboundCrossClusterSearchConnectionStatusCode>
The state code for outbound connection. This can be one of the following:
- VALIDATING: The outbound connection request is being validated.
- VALIDATION_FAILED: Validation failed for the connection request.
- PENDING_ACCEPTANCE: Outbound connection request is validated and is not yet accepted by destination domain owner.
- PROVISIONING: Outbound connection request is in process.
- ACTIVE: Outbound connection is active and ready to use.
- REJECTED: Outbound connection request is rejected by destination domain owner.
- DELETING: Outbound connection deletion is in progress.
- DELETED: Outbound connection is deleted and cannot be used further.
sourcepub fn message(self, input: impl Into<String>) -> Self
pub fn message(self, input: impl Into<String>) -> Self
Specifies verbose information for the outbound connection status.
sourcepub fn set_message(self, input: Option<String>) -> Self
pub fn set_message(self, input: Option<String>) -> Self
Specifies verbose information for the outbound connection status.
sourcepub fn get_message(&self) -> &Option<String>
pub fn get_message(&self) -> &Option<String>
Specifies verbose information for the outbound connection status.
sourcepub fn build(self) -> OutboundCrossClusterSearchConnectionStatus
pub fn build(self) -> OutboundCrossClusterSearchConnectionStatus
Consumes the builder and constructs a OutboundCrossClusterSearchConnectionStatus
.
Trait Implementations§
source§impl Clone for OutboundCrossClusterSearchConnectionStatusBuilder
impl Clone for OutboundCrossClusterSearchConnectionStatusBuilder
source§fn clone(&self) -> OutboundCrossClusterSearchConnectionStatusBuilder
fn clone(&self) -> OutboundCrossClusterSearchConnectionStatusBuilder
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for OutboundCrossClusterSearchConnectionStatusBuilder
impl Default for OutboundCrossClusterSearchConnectionStatusBuilder
source§fn default() -> OutboundCrossClusterSearchConnectionStatusBuilder
fn default() -> OutboundCrossClusterSearchConnectionStatusBuilder
Returns the “default value” for a type. Read more
source§impl PartialEq for OutboundCrossClusterSearchConnectionStatusBuilder
impl PartialEq for OutboundCrossClusterSearchConnectionStatusBuilder
source§fn eq(&self, other: &OutboundCrossClusterSearchConnectionStatusBuilder) -> bool
fn eq(&self, other: &OutboundCrossClusterSearchConnectionStatusBuilder) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for OutboundCrossClusterSearchConnectionStatusBuilder
Auto Trait Implementations§
impl RefUnwindSafe for OutboundCrossClusterSearchConnectionStatusBuilder
impl Send for OutboundCrossClusterSearchConnectionStatusBuilder
impl Sync for OutboundCrossClusterSearchConnectionStatusBuilder
impl Unpin for OutboundCrossClusterSearchConnectionStatusBuilder
impl UnwindSafe for OutboundCrossClusterSearchConnectionStatusBuilder
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
Mutably borrows from an owned value. Read more
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>
Creates a shared type from an unshared type.