#[non_exhaustive]
pub struct PathComponentBuilder { /* private fields */ }
Expand description

A builder for PathComponent.

Implementations§

source§

impl PathComponentBuilder

source

pub fn sequence_number(self, input: i32) -> Self

The sequence number.

source

pub fn set_sequence_number(self, input: Option<i32>) -> Self

The sequence number.

source

pub fn get_sequence_number(&self) -> &Option<i32>

The sequence number.

source

pub fn acl_rule(self, input: AnalysisAclRule) -> Self

The network ACL rule.

source

pub fn set_acl_rule(self, input: Option<AnalysisAclRule>) -> Self

The network ACL rule.

source

pub fn get_acl_rule(&self) -> &Option<AnalysisAclRule>

The network ACL rule.

source

pub fn attached_to(self, input: AnalysisComponent) -> Self

The resource to which the path component is attached.

source

pub fn set_attached_to(self, input: Option<AnalysisComponent>) -> Self

The resource to which the path component is attached.

source

pub fn get_attached_to(&self) -> &Option<AnalysisComponent>

The resource to which the path component is attached.

source

pub fn component(self, input: AnalysisComponent) -> Self

The component.

source

pub fn set_component(self, input: Option<AnalysisComponent>) -> Self

The component.

source

pub fn get_component(&self) -> &Option<AnalysisComponent>

The component.

source

pub fn destination_vpc(self, input: AnalysisComponent) -> Self

The destination VPC.

source

pub fn set_destination_vpc(self, input: Option<AnalysisComponent>) -> Self

The destination VPC.

source

pub fn get_destination_vpc(&self) -> &Option<AnalysisComponent>

The destination VPC.

source

pub fn outbound_header(self, input: AnalysisPacketHeader) -> Self

The outbound header.

source

pub fn set_outbound_header(self, input: Option<AnalysisPacketHeader>) -> Self

The outbound header.

source

pub fn get_outbound_header(&self) -> &Option<AnalysisPacketHeader>

The outbound header.

source

pub fn inbound_header(self, input: AnalysisPacketHeader) -> Self

The inbound header.

source

pub fn set_inbound_header(self, input: Option<AnalysisPacketHeader>) -> Self

The inbound header.

source

pub fn get_inbound_header(&self) -> &Option<AnalysisPacketHeader>

The inbound header.

source

pub fn route_table_route(self, input: AnalysisRouteTableRoute) -> Self

The route table route.

source

pub fn set_route_table_route( self, input: Option<AnalysisRouteTableRoute> ) -> Self

The route table route.

source

pub fn get_route_table_route(&self) -> &Option<AnalysisRouteTableRoute>

The route table route.

source

pub fn security_group_rule(self, input: AnalysisSecurityGroupRule) -> Self

The security group rule.

source

pub fn set_security_group_rule( self, input: Option<AnalysisSecurityGroupRule> ) -> Self

The security group rule.

source

pub fn get_security_group_rule(&self) -> &Option<AnalysisSecurityGroupRule>

The security group rule.

source

pub fn source_vpc(self, input: AnalysisComponent) -> Self

The source VPC.

source

pub fn set_source_vpc(self, input: Option<AnalysisComponent>) -> Self

The source VPC.

source

pub fn get_source_vpc(&self) -> &Option<AnalysisComponent>

The source VPC.

source

pub fn subnet(self, input: AnalysisComponent) -> Self

The subnet.

source

pub fn set_subnet(self, input: Option<AnalysisComponent>) -> Self

The subnet.

source

pub fn get_subnet(&self) -> &Option<AnalysisComponent>

The subnet.

source

pub fn vpc(self, input: AnalysisComponent) -> Self

The component VPC.

source

pub fn set_vpc(self, input: Option<AnalysisComponent>) -> Self

The component VPC.

source

pub fn get_vpc(&self) -> &Option<AnalysisComponent>

The component VPC.

source

pub fn additional_details(self, input: AdditionalDetail) -> Self

Appends an item to additional_details.

To override the contents of this collection use set_additional_details.

The additional details.

source

pub fn set_additional_details( self, input: Option<Vec<AdditionalDetail>> ) -> Self

The additional details.

source

pub fn get_additional_details(&self) -> &Option<Vec<AdditionalDetail>>

The additional details.

source

pub fn transit_gateway(self, input: AnalysisComponent) -> Self

The transit gateway.

source

pub fn set_transit_gateway(self, input: Option<AnalysisComponent>) -> Self

The transit gateway.

source

pub fn get_transit_gateway(&self) -> &Option<AnalysisComponent>

The transit gateway.

source

pub fn transit_gateway_route_table_route( self, input: TransitGatewayRouteTableRoute ) -> Self

The route in a transit gateway route table.

source

pub fn set_transit_gateway_route_table_route( self, input: Option<TransitGatewayRouteTableRoute> ) -> Self

The route in a transit gateway route table.

source

pub fn get_transit_gateway_route_table_route( &self ) -> &Option<TransitGatewayRouteTableRoute>

The route in a transit gateway route table.

source

pub fn explanations(self, input: Explanation) -> Self

Appends an item to explanations.

To override the contents of this collection use set_explanations.

The explanation codes.

source

pub fn set_explanations(self, input: Option<Vec<Explanation>>) -> Self

The explanation codes.

source

pub fn get_explanations(&self) -> &Option<Vec<Explanation>>

The explanation codes.

source

pub fn elastic_load_balancer_listener(self, input: AnalysisComponent) -> Self

The load balancer listener.

source

pub fn set_elastic_load_balancer_listener( self, input: Option<AnalysisComponent> ) -> Self

The load balancer listener.

source

pub fn get_elastic_load_balancer_listener(&self) -> &Option<AnalysisComponent>

The load balancer listener.

source

pub fn firewall_stateless_rule(self, input: FirewallStatelessRule) -> Self

The Network Firewall stateless rule.

source

pub fn set_firewall_stateless_rule( self, input: Option<FirewallStatelessRule> ) -> Self

The Network Firewall stateless rule.

source

pub fn get_firewall_stateless_rule(&self) -> &Option<FirewallStatelessRule>

The Network Firewall stateless rule.

source

pub fn firewall_stateful_rule(self, input: FirewallStatefulRule) -> Self

The Network Firewall stateful rule.

source

pub fn set_firewall_stateful_rule( self, input: Option<FirewallStatefulRule> ) -> Self

The Network Firewall stateful rule.

source

pub fn get_firewall_stateful_rule(&self) -> &Option<FirewallStatefulRule>

The Network Firewall stateful rule.

source

pub fn service_name(self, input: impl Into<String>) -> Self

The name of the VPC endpoint service.

source

pub fn set_service_name(self, input: Option<String>) -> Self

The name of the VPC endpoint service.

source

pub fn get_service_name(&self) -> &Option<String>

The name of the VPC endpoint service.

source

pub fn build(self) -> PathComponent

Consumes the builder and constructs a PathComponent.

Trait Implementations§

source§

impl Clone for PathComponentBuilder

source§

fn clone(&self) -> PathComponentBuilder

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for PathComponentBuilder

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Default for PathComponentBuilder

source§

fn default() -> PathComponentBuilder

Returns the “default value” for a type. Read more
source§

impl PartialEq<PathComponentBuilder> for PathComponentBuilder

source§

fn eq(&self, other: &PathComponentBuilder) -> bool

This method tests for self and other values to be equal, and is used by ==.
1.0.0 · source§

fn ne(&self, other: &Rhs) -> bool

This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
source§

impl StructuralPartialEq for PathComponentBuilder

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T> Instrument for T

source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> Same<T> for T

§

type Output = T

Should always be Self
source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
source§

impl<T> WithSubscriber for T

source§

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
source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more