#[non_exhaustive]pub struct Builder { /* private fields */ }
Expand description
A builder for RouteAnalysisCompletion
Implementations
sourceimpl Builder
impl Builder
sourcepub fn result_code(self, input: RouteAnalysisCompletionResultCode) -> Self
pub fn result_code(self, input: RouteAnalysisCompletionResultCode) -> Self
The result of the analysis. If the status is NOT_CONNECTED
, check the reason code.
sourcepub fn set_result_code(
self,
input: Option<RouteAnalysisCompletionResultCode>
) -> Self
pub fn set_result_code(
self,
input: Option<RouteAnalysisCompletionResultCode>
) -> Self
The result of the analysis. If the status is NOT_CONNECTED
, check the reason code.
sourcepub fn reason_code(self, input: RouteAnalysisCompletionReasonCode) -> Self
pub fn reason_code(self, input: RouteAnalysisCompletionReasonCode) -> Self
The reason code. Available only if a connection is not found.
-
BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND
- Found a black hole route with the destination CIDR block. -
CYCLIC_PATH_DETECTED
- Found the same resource multiple times while traversing the path. -
INACTIVE_ROUTE_FOR_DESTINATION_FOUND
- Found an inactive route with the destination CIDR block. -
MAX_HOPS_EXCEEDED
- Analysis exceeded 64 hops without finding the destination. -
ROUTE_NOT_FOUND
- Cannot find a route table with the destination CIDR block. -
TGW_ATTACH_ARN_NO_MATCH
- Found an attachment, but not with the correct destination ARN. -
TGW_ATTACH_NOT_FOUND
- Cannot find an attachment. -
TGW_ATTACH_NOT_IN_TGW
- Found an attachment, but not to the correct transit gateway. -
TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND
- The state of the route table association is not associated.
sourcepub fn set_reason_code(
self,
input: Option<RouteAnalysisCompletionReasonCode>
) -> Self
pub fn set_reason_code(
self,
input: Option<RouteAnalysisCompletionReasonCode>
) -> Self
The reason code. Available only if a connection is not found.
-
BLACKHOLE_ROUTE_FOR_DESTINATION_FOUND
- Found a black hole route with the destination CIDR block. -
CYCLIC_PATH_DETECTED
- Found the same resource multiple times while traversing the path. -
INACTIVE_ROUTE_FOR_DESTINATION_FOUND
- Found an inactive route with the destination CIDR block. -
MAX_HOPS_EXCEEDED
- Analysis exceeded 64 hops without finding the destination. -
ROUTE_NOT_FOUND
- Cannot find a route table with the destination CIDR block. -
TGW_ATTACH_ARN_NO_MATCH
- Found an attachment, but not with the correct destination ARN. -
TGW_ATTACH_NOT_FOUND
- Cannot find an attachment. -
TGW_ATTACH_NOT_IN_TGW
- Found an attachment, but not to the correct transit gateway. -
TGW_ATTACH_STABLE_ROUTE_TABLE_NOT_FOUND
- The state of the route table association is not associated.
sourcepub fn reason_context(self, k: impl Into<String>, v: impl Into<String>) -> Self
pub fn reason_context(self, k: impl Into<String>, v: impl Into<String>) -> Self
Adds a key-value pair to reason_context
.
To override the contents of this collection use set_reason_context
.
Additional information about the path. Available only if a connection is not found.
sourcepub fn set_reason_context(self, input: Option<HashMap<String, String>>) -> Self
pub fn set_reason_context(self, input: Option<HashMap<String, String>>) -> Self
Additional information about the path. Available only if a connection is not found.
sourcepub fn build(self) -> RouteAnalysisCompletion
pub fn build(self) -> RouteAnalysisCompletion
Consumes the builder and constructs a RouteAnalysisCompletion
Trait Implementations
impl StructuralPartialEq for Builder
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl Send for Builder
impl Sync for Builder
impl Unpin for Builder
impl UnwindSafe for Builder
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> Instrument for T
impl<T> Instrument for T
sourcefn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
sourcefn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more
sourceimpl<T> WithSubscriber for T
impl<T> WithSubscriber for T
sourcefn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self> where
S: Into<Dispatch>,
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
sourcefn with_current_subscriber(self) -> WithDispatch<Self>
fn with_current_subscriber(self) -> WithDispatch<Self>
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more