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

A builder for Explanation.

Implementations§

source§

impl ExplanationBuilder

source

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

The network ACL.

source

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

The network ACL.

source

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

The network ACL.

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 address(self, input: impl Into<String>) -> Self

The IPv4 address, in CIDR notation.

source

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

The IPv4 address, in CIDR notation.

source

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

The IPv4 address, in CIDR notation.

source

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

Appends an item to addresses.

To override the contents of this collection use set_addresses.

The IPv4 addresses, in CIDR notation.

source

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

The IPv4 addresses, in CIDR notation.

source

pub fn get_addresses(&self) -> &Option<Vec<String>>

The IPv4 addresses, in CIDR notation.

source

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

The resource to which the component is attached.

source

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

The resource to which the component is attached.

source

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

The resource to which the component is attached.

source

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

Appends an item to availability_zones.

To override the contents of this collection use set_availability_zones.

The Availability Zones.

source

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

The Availability Zones.

source

pub fn get_availability_zones(&self) -> &Option<Vec<String>>

The Availability Zones.

source

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

Appends an item to cidrs.

To override the contents of this collection use set_cidrs.

The CIDR ranges.

source

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

The CIDR ranges.

source

pub fn get_cidrs(&self) -> &Option<Vec<String>>

The CIDR ranges.

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 customer_gateway(self, input: AnalysisComponent) -> Self

The customer gateway.

source

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

The customer gateway.

source

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

The customer gateway.

source

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

The destination.

source

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

The destination.

source

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

The destination.

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 direction(self, input: impl Into<String>) -> Self

The direction. The following are the possible values:

  • egress

  • ingress

source

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

The direction. The following are the possible values:

  • egress

  • ingress

source

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

The direction. The following are the possible values:

  • egress

  • ingress

source

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

The explanation code.

source

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

The explanation code.

source

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

The explanation code.

source

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

The route table.

source

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

The route table.

source

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

The route table.

source

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

The internet gateway.

source

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

The internet gateway.

source

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

The internet gateway.

source

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

The Amazon Resource Name (ARN) of the load balancer.

source

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

The Amazon Resource Name (ARN) of the load balancer.

source

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

The Amazon Resource Name (ARN) of the load balancer.

source

pub fn classic_load_balancer_listener( self, input: AnalysisLoadBalancerListener ) -> Self

The listener for a Classic Load Balancer.

source

pub fn set_classic_load_balancer_listener( self, input: Option<AnalysisLoadBalancerListener> ) -> Self

The listener for a Classic Load Balancer.

source

pub fn get_classic_load_balancer_listener( &self ) -> &Option<AnalysisLoadBalancerListener>

The listener for a Classic Load Balancer.

source

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

The listener port of the load balancer.

source

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

The listener port of the load balancer.

source

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

The listener port of the load balancer.

source

pub fn load_balancer_target(self, input: AnalysisLoadBalancerTarget) -> Self

The target.

source

pub fn set_load_balancer_target( self, input: Option<AnalysisLoadBalancerTarget> ) -> Self

The target.

source

pub fn get_load_balancer_target(&self) -> &Option<AnalysisLoadBalancerTarget>

The target.

source

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

The target group.

source

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

The target group.

source

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

The target group.

source

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

Appends an item to load_balancer_target_groups.

To override the contents of this collection use set_load_balancer_target_groups.

The target groups.

source

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

The target groups.

source

pub fn get_load_balancer_target_groups(&self) -> &Option<Vec<AnalysisComponent>>

The target groups.

source

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

The target port.

source

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

The target port.

source

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

The target port.

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 missing_component(self, input: impl Into<String>) -> Self

The missing component.

source

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

The missing component.

source

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

The missing component.

source

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

The NAT gateway.

source

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

The NAT gateway.

source

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

The NAT gateway.

source

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

The network interface.

source

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

The network interface.

source

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

The network interface.

source

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

The packet field.

source

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

The packet field.

source

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

The packet field.

source

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

The VPC peering connection.

source

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

The VPC peering connection.

source

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

The VPC peering connection.

source

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

The port.

source

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

The port.

source

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

The port.

source

pub fn port_ranges(self, input: PortRange) -> Self

Appends an item to port_ranges.

To override the contents of this collection use set_port_ranges.

The port ranges.

source

pub fn set_port_ranges(self, input: Option<Vec<PortRange>>) -> Self

The port ranges.

source

pub fn get_port_ranges(&self) -> &Option<Vec<PortRange>>

The port ranges.

source

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

The prefix list.

source

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

The prefix list.

source

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

The prefix list.

source

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

Appends an item to protocols.

To override the contents of this collection use set_protocols.

The protocols.

source

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

The protocols.

source

pub fn get_protocols(&self) -> &Option<Vec<String>>

The protocols.

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 route_table(self, input: AnalysisComponent) -> Self

The route table.

source

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

The route table.

source

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

The route table.

source

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

The security group.

source

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

The security group.

source

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

The security group.

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 security_groups(self, input: AnalysisComponent) -> Self

Appends an item to security_groups.

To override the contents of this collection use set_security_groups.

The security groups.

source

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

The security groups.

source

pub fn get_security_groups(&self) -> &Option<Vec<AnalysisComponent>>

The security groups.

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 state(self, input: impl Into<String>) -> Self

The state.

source

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

The state.

source

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

The state.

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 subnet_route_table(self, input: AnalysisComponent) -> Self

The route table for the subnet.

source

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

The route table for the subnet.

source

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

The route table for 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 vpc_endpoint(self, input: AnalysisComponent) -> Self

The VPC endpoint.

source

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

The VPC endpoint.

source

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

The VPC endpoint.

source

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

The VPN connection.

source

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

The VPN connection.

source

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

The VPN connection.

source

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

The VPN gateway.

source

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

The VPN gateway.

source

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

The VPN gateway.

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(self, input: AnalysisComponent) -> Self

The transit gateway route table.

source

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

The transit gateway route table.

source

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

The transit gateway route table.

source

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

The transit gateway route table route.

source

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

The transit gateway route table route.

source

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

The transit gateway route table route.

source

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

The transit gateway attachment.

source

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

The transit gateway attachment.

source

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

The transit gateway attachment.

source

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

The Amazon Web Services account for the component.

source

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

The Amazon Web Services account for the component.

source

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

The Amazon Web Services account for the component.

source

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

The Region for the component.

source

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

The Region for the component.

source

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

The Region for the component.

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 build(self) -> Explanation

Consumes the builder and constructs a Explanation.

Trait Implementations§

source§

impl Clone for ExplanationBuilder

source§

fn clone(&self) -> ExplanationBuilder

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 ExplanationBuilder

source§

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

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

impl Default for ExplanationBuilder

source§

fn default() -> ExplanationBuilder

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

impl PartialEq<ExplanationBuilder> for ExplanationBuilder

source§

fn eq(&self, other: &ExplanationBuilder) -> 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 ExplanationBuilder

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