#[non_exhaustive]pub struct ExplanationBuilder { /* private fields */ }
Expand description
A builder for Explanation
.
Implementations§
Source§impl ExplanationBuilder
impl ExplanationBuilder
Sourcepub fn acl(self, input: AnalysisComponent) -> Self
pub fn acl(self, input: AnalysisComponent) -> Self
The network ACL.
Sourcepub fn set_acl(self, input: Option<AnalysisComponent>) -> Self
pub fn set_acl(self, input: Option<AnalysisComponent>) -> Self
The network ACL.
Sourcepub fn get_acl(&self) -> &Option<AnalysisComponent>
pub fn get_acl(&self) -> &Option<AnalysisComponent>
The network ACL.
Sourcepub fn acl_rule(self, input: AnalysisAclRule) -> Self
pub fn acl_rule(self, input: AnalysisAclRule) -> Self
The network ACL rule.
Sourcepub fn set_acl_rule(self, input: Option<AnalysisAclRule>) -> Self
pub fn set_acl_rule(self, input: Option<AnalysisAclRule>) -> Self
The network ACL rule.
Sourcepub fn get_acl_rule(&self) -> &Option<AnalysisAclRule>
pub fn get_acl_rule(&self) -> &Option<AnalysisAclRule>
The network ACL rule.
Sourcepub fn set_address(self, input: Option<String>) -> Self
pub fn set_address(self, input: Option<String>) -> Self
The IPv4 address, in CIDR notation.
Sourcepub fn get_address(&self) -> &Option<String>
pub fn get_address(&self) -> &Option<String>
The IPv4 address, in CIDR notation.
Sourcepub fn addresses(self, input: impl Into<String>) -> Self
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.
Sourcepub fn set_addresses(self, input: Option<Vec<String>>) -> Self
pub fn set_addresses(self, input: Option<Vec<String>>) -> Self
The IPv4 addresses, in CIDR notation.
Sourcepub fn get_addresses(&self) -> &Option<Vec<String>>
pub fn get_addresses(&self) -> &Option<Vec<String>>
The IPv4 addresses, in CIDR notation.
Sourcepub fn attached_to(self, input: AnalysisComponent) -> Self
pub fn attached_to(self, input: AnalysisComponent) -> Self
The resource to which the component is attached.
Sourcepub fn set_attached_to(self, input: Option<AnalysisComponent>) -> Self
pub fn set_attached_to(self, input: Option<AnalysisComponent>) -> Self
The resource to which the component is attached.
Sourcepub fn get_attached_to(&self) -> &Option<AnalysisComponent>
pub fn get_attached_to(&self) -> &Option<AnalysisComponent>
The resource to which the component is attached.
Sourcepub fn availability_zones(self, input: impl Into<String>) -> Self
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.
Sourcepub fn set_availability_zones(self, input: Option<Vec<String>>) -> Self
pub fn set_availability_zones(self, input: Option<Vec<String>>) -> Self
The Availability Zones.
Sourcepub fn get_availability_zones(&self) -> &Option<Vec<String>>
pub fn get_availability_zones(&self) -> &Option<Vec<String>>
The Availability Zones.
Sourcepub fn availability_zone_ids(self, input: impl Into<String>) -> Self
pub fn availability_zone_ids(self, input: impl Into<String>) -> Self
Appends an item to availability_zone_ids
.
To override the contents of this collection use set_availability_zone_ids
.
The IDs of the Availability Zones.
Sourcepub fn set_availability_zone_ids(self, input: Option<Vec<String>>) -> Self
pub fn set_availability_zone_ids(self, input: Option<Vec<String>>) -> Self
The IDs of the Availability Zones.
Sourcepub fn get_availability_zone_ids(&self) -> &Option<Vec<String>>
pub fn get_availability_zone_ids(&self) -> &Option<Vec<String>>
The IDs of the Availability Zones.
Sourcepub fn cidrs(self, input: impl Into<String>) -> Self
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.
Sourcepub fn component(self, input: AnalysisComponent) -> Self
pub fn component(self, input: AnalysisComponent) -> Self
The component.
Sourcepub fn set_component(self, input: Option<AnalysisComponent>) -> Self
pub fn set_component(self, input: Option<AnalysisComponent>) -> Self
The component.
Sourcepub fn get_component(&self) -> &Option<AnalysisComponent>
pub fn get_component(&self) -> &Option<AnalysisComponent>
The component.
Sourcepub fn customer_gateway(self, input: AnalysisComponent) -> Self
pub fn customer_gateway(self, input: AnalysisComponent) -> Self
The customer gateway.
Sourcepub fn set_customer_gateway(self, input: Option<AnalysisComponent>) -> Self
pub fn set_customer_gateway(self, input: Option<AnalysisComponent>) -> Self
The customer gateway.
Sourcepub fn get_customer_gateway(&self) -> &Option<AnalysisComponent>
pub fn get_customer_gateway(&self) -> &Option<AnalysisComponent>
The customer gateway.
Sourcepub fn destination(self, input: AnalysisComponent) -> Self
pub fn destination(self, input: AnalysisComponent) -> Self
The destination.
Sourcepub fn set_destination(self, input: Option<AnalysisComponent>) -> Self
pub fn set_destination(self, input: Option<AnalysisComponent>) -> Self
The destination.
Sourcepub fn get_destination(&self) -> &Option<AnalysisComponent>
pub fn get_destination(&self) -> &Option<AnalysisComponent>
The destination.
Sourcepub fn destination_vpc(self, input: AnalysisComponent) -> Self
pub fn destination_vpc(self, input: AnalysisComponent) -> Self
The destination VPC.
Sourcepub fn set_destination_vpc(self, input: Option<AnalysisComponent>) -> Self
pub fn set_destination_vpc(self, input: Option<AnalysisComponent>) -> Self
The destination VPC.
Sourcepub fn get_destination_vpc(&self) -> &Option<AnalysisComponent>
pub fn get_destination_vpc(&self) -> &Option<AnalysisComponent>
The destination VPC.
Sourcepub fn direction(self, input: impl Into<String>) -> Self
pub fn direction(self, input: impl Into<String>) -> Self
The direction. The following are the possible values:
-
egress
-
ingress
Sourcepub fn set_direction(self, input: Option<String>) -> Self
pub fn set_direction(self, input: Option<String>) -> Self
The direction. The following are the possible values:
-
egress
-
ingress
Sourcepub fn get_direction(&self) -> &Option<String>
pub fn get_direction(&self) -> &Option<String>
The direction. The following are the possible values:
-
egress
-
ingress
Sourcepub fn explanation_code(self, input: impl Into<String>) -> Self
pub fn explanation_code(self, input: impl Into<String>) -> Self
The explanation code.
Sourcepub fn set_explanation_code(self, input: Option<String>) -> Self
pub fn set_explanation_code(self, input: Option<String>) -> Self
The explanation code.
Sourcepub fn get_explanation_code(&self) -> &Option<String>
pub fn get_explanation_code(&self) -> &Option<String>
The explanation code.
Sourcepub fn ingress_route_table(self, input: AnalysisComponent) -> Self
pub fn ingress_route_table(self, input: AnalysisComponent) -> Self
The route table.
Sourcepub fn set_ingress_route_table(self, input: Option<AnalysisComponent>) -> Self
pub fn set_ingress_route_table(self, input: Option<AnalysisComponent>) -> Self
The route table.
Sourcepub fn get_ingress_route_table(&self) -> &Option<AnalysisComponent>
pub fn get_ingress_route_table(&self) -> &Option<AnalysisComponent>
The route table.
Sourcepub fn internet_gateway(self, input: AnalysisComponent) -> Self
pub fn internet_gateway(self, input: AnalysisComponent) -> Self
The internet gateway.
Sourcepub fn set_internet_gateway(self, input: Option<AnalysisComponent>) -> Self
pub fn set_internet_gateway(self, input: Option<AnalysisComponent>) -> Self
The internet gateway.
Sourcepub fn get_internet_gateway(&self) -> &Option<AnalysisComponent>
pub fn get_internet_gateway(&self) -> &Option<AnalysisComponent>
The internet gateway.
Sourcepub fn load_balancer_arn(self, input: impl Into<String>) -> Self
pub fn load_balancer_arn(self, input: impl Into<String>) -> Self
The Amazon Resource Name (ARN) of the load balancer.
Sourcepub fn set_load_balancer_arn(self, input: Option<String>) -> Self
pub fn set_load_balancer_arn(self, input: Option<String>) -> Self
The Amazon Resource Name (ARN) of the load balancer.
Sourcepub fn get_load_balancer_arn(&self) -> &Option<String>
pub fn get_load_balancer_arn(&self) -> &Option<String>
The Amazon Resource Name (ARN) of the load balancer.
Sourcepub fn classic_load_balancer_listener(
self,
input: AnalysisLoadBalancerListener,
) -> Self
pub fn classic_load_balancer_listener( self, input: AnalysisLoadBalancerListener, ) -> Self
The listener for a Classic Load Balancer.
Sourcepub fn set_classic_load_balancer_listener(
self,
input: Option<AnalysisLoadBalancerListener>,
) -> Self
pub fn set_classic_load_balancer_listener( self, input: Option<AnalysisLoadBalancerListener>, ) -> Self
The listener for a Classic Load Balancer.
Sourcepub fn get_classic_load_balancer_listener(
&self,
) -> &Option<AnalysisLoadBalancerListener>
pub fn get_classic_load_balancer_listener( &self, ) -> &Option<AnalysisLoadBalancerListener>
The listener for a Classic Load Balancer.
Sourcepub fn load_balancer_listener_port(self, input: i32) -> Self
pub fn load_balancer_listener_port(self, input: i32) -> Self
The listener port of the load balancer.
Sourcepub fn set_load_balancer_listener_port(self, input: Option<i32>) -> Self
pub fn set_load_balancer_listener_port(self, input: Option<i32>) -> Self
The listener port of the load balancer.
Sourcepub fn get_load_balancer_listener_port(&self) -> &Option<i32>
pub fn get_load_balancer_listener_port(&self) -> &Option<i32>
The listener port of the load balancer.
Sourcepub fn load_balancer_target(self, input: AnalysisLoadBalancerTarget) -> Self
pub fn load_balancer_target(self, input: AnalysisLoadBalancerTarget) -> Self
The target.
Sourcepub fn set_load_balancer_target(
self,
input: Option<AnalysisLoadBalancerTarget>,
) -> Self
pub fn set_load_balancer_target( self, input: Option<AnalysisLoadBalancerTarget>, ) -> Self
The target.
Sourcepub fn get_load_balancer_target(&self) -> &Option<AnalysisLoadBalancerTarget>
pub fn get_load_balancer_target(&self) -> &Option<AnalysisLoadBalancerTarget>
The target.
Sourcepub fn load_balancer_target_group(self, input: AnalysisComponent) -> Self
pub fn load_balancer_target_group(self, input: AnalysisComponent) -> Self
The target group.
Sourcepub fn set_load_balancer_target_group(
self,
input: Option<AnalysisComponent>,
) -> Self
pub fn set_load_balancer_target_group( self, input: Option<AnalysisComponent>, ) -> Self
The target group.
Sourcepub fn get_load_balancer_target_group(&self) -> &Option<AnalysisComponent>
pub fn get_load_balancer_target_group(&self) -> &Option<AnalysisComponent>
The target group.
Sourcepub fn load_balancer_target_groups(self, input: AnalysisComponent) -> Self
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.
Sourcepub fn set_load_balancer_target_groups(
self,
input: Option<Vec<AnalysisComponent>>,
) -> Self
pub fn set_load_balancer_target_groups( self, input: Option<Vec<AnalysisComponent>>, ) -> Self
The target groups.
Sourcepub fn get_load_balancer_target_groups(&self) -> &Option<Vec<AnalysisComponent>>
pub fn get_load_balancer_target_groups(&self) -> &Option<Vec<AnalysisComponent>>
The target groups.
Sourcepub fn load_balancer_target_port(self, input: i32) -> Self
pub fn load_balancer_target_port(self, input: i32) -> Self
The target port.
Sourcepub fn set_load_balancer_target_port(self, input: Option<i32>) -> Self
pub fn set_load_balancer_target_port(self, input: Option<i32>) -> Self
The target port.
Sourcepub fn get_load_balancer_target_port(&self) -> &Option<i32>
pub fn get_load_balancer_target_port(&self) -> &Option<i32>
The target port.
Sourcepub fn elastic_load_balancer_listener(self, input: AnalysisComponent) -> Self
pub fn elastic_load_balancer_listener(self, input: AnalysisComponent) -> Self
The load balancer listener.
Sourcepub fn set_elastic_load_balancer_listener(
self,
input: Option<AnalysisComponent>,
) -> Self
pub fn set_elastic_load_balancer_listener( self, input: Option<AnalysisComponent>, ) -> Self
The load balancer listener.
Sourcepub fn get_elastic_load_balancer_listener(&self) -> &Option<AnalysisComponent>
pub fn get_elastic_load_balancer_listener(&self) -> &Option<AnalysisComponent>
The load balancer listener.
Sourcepub fn missing_component(self, input: impl Into<String>) -> Self
pub fn missing_component(self, input: impl Into<String>) -> Self
The missing component.
Sourcepub fn set_missing_component(self, input: Option<String>) -> Self
pub fn set_missing_component(self, input: Option<String>) -> Self
The missing component.
Sourcepub fn get_missing_component(&self) -> &Option<String>
pub fn get_missing_component(&self) -> &Option<String>
The missing component.
Sourcepub fn nat_gateway(self, input: AnalysisComponent) -> Self
pub fn nat_gateway(self, input: AnalysisComponent) -> Self
The NAT gateway.
Sourcepub fn set_nat_gateway(self, input: Option<AnalysisComponent>) -> Self
pub fn set_nat_gateway(self, input: Option<AnalysisComponent>) -> Self
The NAT gateway.
Sourcepub fn get_nat_gateway(&self) -> &Option<AnalysisComponent>
pub fn get_nat_gateway(&self) -> &Option<AnalysisComponent>
The NAT gateway.
Sourcepub fn network_interface(self, input: AnalysisComponent) -> Self
pub fn network_interface(self, input: AnalysisComponent) -> Self
The network interface.
Sourcepub fn set_network_interface(self, input: Option<AnalysisComponent>) -> Self
pub fn set_network_interface(self, input: Option<AnalysisComponent>) -> Self
The network interface.
Sourcepub fn get_network_interface(&self) -> &Option<AnalysisComponent>
pub fn get_network_interface(&self) -> &Option<AnalysisComponent>
The network interface.
Sourcepub fn packet_field(self, input: impl Into<String>) -> Self
pub fn packet_field(self, input: impl Into<String>) -> Self
The packet field.
Sourcepub fn set_packet_field(self, input: Option<String>) -> Self
pub fn set_packet_field(self, input: Option<String>) -> Self
The packet field.
Sourcepub fn get_packet_field(&self) -> &Option<String>
pub fn get_packet_field(&self) -> &Option<String>
The packet field.
Sourcepub fn vpc_peering_connection(self, input: AnalysisComponent) -> Self
pub fn vpc_peering_connection(self, input: AnalysisComponent) -> Self
The VPC peering connection.
Sourcepub fn set_vpc_peering_connection(
self,
input: Option<AnalysisComponent>,
) -> Self
pub fn set_vpc_peering_connection( self, input: Option<AnalysisComponent>, ) -> Self
The VPC peering connection.
Sourcepub fn get_vpc_peering_connection(&self) -> &Option<AnalysisComponent>
pub fn get_vpc_peering_connection(&self) -> &Option<AnalysisComponent>
The VPC peering connection.
Sourcepub fn port_ranges(self, input: PortRange) -> Self
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.
Sourcepub fn set_port_ranges(self, input: Option<Vec<PortRange>>) -> Self
pub fn set_port_ranges(self, input: Option<Vec<PortRange>>) -> Self
The port ranges.
Sourcepub fn get_port_ranges(&self) -> &Option<Vec<PortRange>>
pub fn get_port_ranges(&self) -> &Option<Vec<PortRange>>
The port ranges.
Sourcepub fn prefix_list(self, input: AnalysisComponent) -> Self
pub fn prefix_list(self, input: AnalysisComponent) -> Self
The prefix list.
Sourcepub fn set_prefix_list(self, input: Option<AnalysisComponent>) -> Self
pub fn set_prefix_list(self, input: Option<AnalysisComponent>) -> Self
The prefix list.
Sourcepub fn get_prefix_list(&self) -> &Option<AnalysisComponent>
pub fn get_prefix_list(&self) -> &Option<AnalysisComponent>
The prefix list.
Sourcepub fn protocols(self, input: impl Into<String>) -> Self
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.
Sourcepub fn set_protocols(self, input: Option<Vec<String>>) -> Self
pub fn set_protocols(self, input: Option<Vec<String>>) -> Self
The protocols.
Sourcepub fn get_protocols(&self) -> &Option<Vec<String>>
pub fn get_protocols(&self) -> &Option<Vec<String>>
The protocols.
Sourcepub fn route_table_route(self, input: AnalysisRouteTableRoute) -> Self
pub fn route_table_route(self, input: AnalysisRouteTableRoute) -> Self
The route table route.
Sourcepub fn set_route_table_route(
self,
input: Option<AnalysisRouteTableRoute>,
) -> Self
pub fn set_route_table_route( self, input: Option<AnalysisRouteTableRoute>, ) -> Self
The route table route.
Sourcepub fn get_route_table_route(&self) -> &Option<AnalysisRouteTableRoute>
pub fn get_route_table_route(&self) -> &Option<AnalysisRouteTableRoute>
The route table route.
Sourcepub fn route_table(self, input: AnalysisComponent) -> Self
pub fn route_table(self, input: AnalysisComponent) -> Self
The route table.
Sourcepub fn set_route_table(self, input: Option<AnalysisComponent>) -> Self
pub fn set_route_table(self, input: Option<AnalysisComponent>) -> Self
The route table.
Sourcepub fn get_route_table(&self) -> &Option<AnalysisComponent>
pub fn get_route_table(&self) -> &Option<AnalysisComponent>
The route table.
Sourcepub fn security_group(self, input: AnalysisComponent) -> Self
pub fn security_group(self, input: AnalysisComponent) -> Self
The security group.
Sourcepub fn set_security_group(self, input: Option<AnalysisComponent>) -> Self
pub fn set_security_group(self, input: Option<AnalysisComponent>) -> Self
The security group.
Sourcepub fn get_security_group(&self) -> &Option<AnalysisComponent>
pub fn get_security_group(&self) -> &Option<AnalysisComponent>
The security group.
Sourcepub fn security_group_rule(self, input: AnalysisSecurityGroupRule) -> Self
pub fn security_group_rule(self, input: AnalysisSecurityGroupRule) -> Self
The security group rule.
Sourcepub fn set_security_group_rule(
self,
input: Option<AnalysisSecurityGroupRule>,
) -> Self
pub fn set_security_group_rule( self, input: Option<AnalysisSecurityGroupRule>, ) -> Self
The security group rule.
Sourcepub fn get_security_group_rule(&self) -> &Option<AnalysisSecurityGroupRule>
pub fn get_security_group_rule(&self) -> &Option<AnalysisSecurityGroupRule>
The security group rule.
Sourcepub fn security_groups(self, input: AnalysisComponent) -> Self
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.
Sourcepub fn set_security_groups(self, input: Option<Vec<AnalysisComponent>>) -> Self
pub fn set_security_groups(self, input: Option<Vec<AnalysisComponent>>) -> Self
The security groups.
Sourcepub fn get_security_groups(&self) -> &Option<Vec<AnalysisComponent>>
pub fn get_security_groups(&self) -> &Option<Vec<AnalysisComponent>>
The security groups.
Sourcepub fn source_vpc(self, input: AnalysisComponent) -> Self
pub fn source_vpc(self, input: AnalysisComponent) -> Self
The source VPC.
Sourcepub fn set_source_vpc(self, input: Option<AnalysisComponent>) -> Self
pub fn set_source_vpc(self, input: Option<AnalysisComponent>) -> Self
The source VPC.
Sourcepub fn get_source_vpc(&self) -> &Option<AnalysisComponent>
pub fn get_source_vpc(&self) -> &Option<AnalysisComponent>
The source VPC.
Sourcepub fn subnet(self, input: AnalysisComponent) -> Self
pub fn subnet(self, input: AnalysisComponent) -> Self
The subnet.
Sourcepub fn set_subnet(self, input: Option<AnalysisComponent>) -> Self
pub fn set_subnet(self, input: Option<AnalysisComponent>) -> Self
The subnet.
Sourcepub fn get_subnet(&self) -> &Option<AnalysisComponent>
pub fn get_subnet(&self) -> &Option<AnalysisComponent>
The subnet.
Sourcepub fn subnet_route_table(self, input: AnalysisComponent) -> Self
pub fn subnet_route_table(self, input: AnalysisComponent) -> Self
The route table for the subnet.
Sourcepub fn set_subnet_route_table(self, input: Option<AnalysisComponent>) -> Self
pub fn set_subnet_route_table(self, input: Option<AnalysisComponent>) -> Self
The route table for the subnet.
Sourcepub fn get_subnet_route_table(&self) -> &Option<AnalysisComponent>
pub fn get_subnet_route_table(&self) -> &Option<AnalysisComponent>
The route table for the subnet.
Sourcepub fn vpc(self, input: AnalysisComponent) -> Self
pub fn vpc(self, input: AnalysisComponent) -> Self
The component VPC.
Sourcepub fn set_vpc(self, input: Option<AnalysisComponent>) -> Self
pub fn set_vpc(self, input: Option<AnalysisComponent>) -> Self
The component VPC.
Sourcepub fn get_vpc(&self) -> &Option<AnalysisComponent>
pub fn get_vpc(&self) -> &Option<AnalysisComponent>
The component VPC.
Sourcepub fn vpc_endpoint(self, input: AnalysisComponent) -> Self
pub fn vpc_endpoint(self, input: AnalysisComponent) -> Self
The VPC endpoint.
Sourcepub fn set_vpc_endpoint(self, input: Option<AnalysisComponent>) -> Self
pub fn set_vpc_endpoint(self, input: Option<AnalysisComponent>) -> Self
The VPC endpoint.
Sourcepub fn get_vpc_endpoint(&self) -> &Option<AnalysisComponent>
pub fn get_vpc_endpoint(&self) -> &Option<AnalysisComponent>
The VPC endpoint.
Sourcepub fn vpn_connection(self, input: AnalysisComponent) -> Self
pub fn vpn_connection(self, input: AnalysisComponent) -> Self
The VPN connection.
Sourcepub fn set_vpn_connection(self, input: Option<AnalysisComponent>) -> Self
pub fn set_vpn_connection(self, input: Option<AnalysisComponent>) -> Self
The VPN connection.
Sourcepub fn get_vpn_connection(&self) -> &Option<AnalysisComponent>
pub fn get_vpn_connection(&self) -> &Option<AnalysisComponent>
The VPN connection.
Sourcepub fn vpn_gateway(self, input: AnalysisComponent) -> Self
pub fn vpn_gateway(self, input: AnalysisComponent) -> Self
The VPN gateway.
Sourcepub fn set_vpn_gateway(self, input: Option<AnalysisComponent>) -> Self
pub fn set_vpn_gateway(self, input: Option<AnalysisComponent>) -> Self
The VPN gateway.
Sourcepub fn get_vpn_gateway(&self) -> &Option<AnalysisComponent>
pub fn get_vpn_gateway(&self) -> &Option<AnalysisComponent>
The VPN gateway.
Sourcepub fn transit_gateway(self, input: AnalysisComponent) -> Self
pub fn transit_gateway(self, input: AnalysisComponent) -> Self
The transit gateway.
Sourcepub fn set_transit_gateway(self, input: Option<AnalysisComponent>) -> Self
pub fn set_transit_gateway(self, input: Option<AnalysisComponent>) -> Self
The transit gateway.
Sourcepub fn get_transit_gateway(&self) -> &Option<AnalysisComponent>
pub fn get_transit_gateway(&self) -> &Option<AnalysisComponent>
The transit gateway.
Sourcepub fn transit_gateway_route_table(self, input: AnalysisComponent) -> Self
pub fn transit_gateway_route_table(self, input: AnalysisComponent) -> Self
The transit gateway route table.
Sourcepub fn set_transit_gateway_route_table(
self,
input: Option<AnalysisComponent>,
) -> Self
pub fn set_transit_gateway_route_table( self, input: Option<AnalysisComponent>, ) -> Self
The transit gateway route table.
Sourcepub fn get_transit_gateway_route_table(&self) -> &Option<AnalysisComponent>
pub fn get_transit_gateway_route_table(&self) -> &Option<AnalysisComponent>
The transit gateway route table.
Sourcepub fn transit_gateway_route_table_route(
self,
input: TransitGatewayRouteTableRoute,
) -> Self
pub fn transit_gateway_route_table_route( self, input: TransitGatewayRouteTableRoute, ) -> Self
The transit gateway route table route.
Sourcepub fn set_transit_gateway_route_table_route(
self,
input: Option<TransitGatewayRouteTableRoute>,
) -> Self
pub fn set_transit_gateway_route_table_route( self, input: Option<TransitGatewayRouteTableRoute>, ) -> Self
The transit gateway route table route.
Sourcepub fn get_transit_gateway_route_table_route(
&self,
) -> &Option<TransitGatewayRouteTableRoute>
pub fn get_transit_gateway_route_table_route( &self, ) -> &Option<TransitGatewayRouteTableRoute>
The transit gateway route table route.
Sourcepub fn transit_gateway_attachment(self, input: AnalysisComponent) -> Self
pub fn transit_gateway_attachment(self, input: AnalysisComponent) -> Self
The transit gateway attachment.
Sourcepub fn set_transit_gateway_attachment(
self,
input: Option<AnalysisComponent>,
) -> Self
pub fn set_transit_gateway_attachment( self, input: Option<AnalysisComponent>, ) -> Self
The transit gateway attachment.
Sourcepub fn get_transit_gateway_attachment(&self) -> &Option<AnalysisComponent>
pub fn get_transit_gateway_attachment(&self) -> &Option<AnalysisComponent>
The transit gateway attachment.
Sourcepub fn component_account(self, input: impl Into<String>) -> Self
pub fn component_account(self, input: impl Into<String>) -> Self
The Amazon Web Services account for the component.
Sourcepub fn set_component_account(self, input: Option<String>) -> Self
pub fn set_component_account(self, input: Option<String>) -> Self
The Amazon Web Services account for the component.
Sourcepub fn get_component_account(&self) -> &Option<String>
pub fn get_component_account(&self) -> &Option<String>
The Amazon Web Services account for the component.
Sourcepub fn component_region(self, input: impl Into<String>) -> Self
pub fn component_region(self, input: impl Into<String>) -> Self
The Region for the component.
Sourcepub fn set_component_region(self, input: Option<String>) -> Self
pub fn set_component_region(self, input: Option<String>) -> Self
The Region for the component.
Sourcepub fn get_component_region(&self) -> &Option<String>
pub fn get_component_region(&self) -> &Option<String>
The Region for the component.
Sourcepub fn firewall_stateless_rule(self, input: FirewallStatelessRule) -> Self
pub fn firewall_stateless_rule(self, input: FirewallStatelessRule) -> Self
The Network Firewall stateless rule.
Sourcepub fn set_firewall_stateless_rule(
self,
input: Option<FirewallStatelessRule>,
) -> Self
pub fn set_firewall_stateless_rule( self, input: Option<FirewallStatelessRule>, ) -> Self
The Network Firewall stateless rule.
Sourcepub fn get_firewall_stateless_rule(&self) -> &Option<FirewallStatelessRule>
pub fn get_firewall_stateless_rule(&self) -> &Option<FirewallStatelessRule>
The Network Firewall stateless rule.
Sourcepub fn firewall_stateful_rule(self, input: FirewallStatefulRule) -> Self
pub fn firewall_stateful_rule(self, input: FirewallStatefulRule) -> Self
The Network Firewall stateful rule.
Sourcepub fn set_firewall_stateful_rule(
self,
input: Option<FirewallStatefulRule>,
) -> Self
pub fn set_firewall_stateful_rule( self, input: Option<FirewallStatefulRule>, ) -> Self
The Network Firewall stateful rule.
Sourcepub fn get_firewall_stateful_rule(&self) -> &Option<FirewallStatefulRule>
pub fn get_firewall_stateful_rule(&self) -> &Option<FirewallStatefulRule>
The Network Firewall stateful rule.
Sourcepub fn build(self) -> Explanation
pub fn build(self) -> Explanation
Consumes the builder and constructs a Explanation
.
Trait Implementations§
Source§impl Clone for ExplanationBuilder
impl Clone for ExplanationBuilder
Source§fn clone(&self) -> ExplanationBuilder
fn clone(&self) -> ExplanationBuilder
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for ExplanationBuilder
impl Debug for ExplanationBuilder
Source§impl Default for ExplanationBuilder
impl Default for ExplanationBuilder
Source§fn default() -> ExplanationBuilder
fn default() -> ExplanationBuilder
Source§impl PartialEq for ExplanationBuilder
impl PartialEq for ExplanationBuilder
impl StructuralPartialEq for ExplanationBuilder
Auto Trait Implementations§
impl Freeze for ExplanationBuilder
impl RefUnwindSafe for ExplanationBuilder
impl Send for ExplanationBuilder
impl Sync for ExplanationBuilder
impl Unpin for ExplanationBuilder
impl UnwindSafe for ExplanationBuilder
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Paint for Twhere
T: ?Sized,
impl<T> Paint for Twhere
T: ?Sized,
Source§fn fg(&self, value: Color) -> Painted<&T>
fn fg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the foreground set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like red()
and
green()
, which have the same functionality but are
pithier.
§Example
Set foreground color to white using fg()
:
use yansi::{Paint, Color};
painted.fg(Color::White);
Set foreground color to white using white()
.
use yansi::Paint;
painted.white();
Source§fn bright_black(&self) -> Painted<&T>
fn bright_black(&self) -> Painted<&T>
Source§fn bright_red(&self) -> Painted<&T>
fn bright_red(&self) -> Painted<&T>
Source§fn bright_green(&self) -> Painted<&T>
fn bright_green(&self) -> Painted<&T>
Source§fn bright_yellow(&self) -> Painted<&T>
fn bright_yellow(&self) -> Painted<&T>
Source§fn bright_blue(&self) -> Painted<&T>
fn bright_blue(&self) -> Painted<&T>
Source§fn bright_magenta(&self) -> Painted<&T>
fn bright_magenta(&self) -> Painted<&T>
Source§fn bright_cyan(&self) -> Painted<&T>
fn bright_cyan(&self) -> Painted<&T>
Source§fn bright_white(&self) -> Painted<&T>
fn bright_white(&self) -> Painted<&T>
Source§fn bg(&self, value: Color) -> Painted<&T>
fn bg(&self, value: Color) -> Painted<&T>
Returns a styled value derived from self
with the background set to
value
.
This method should be used rarely. Instead, prefer to use color-specific
builder methods like on_red()
and
on_green()
, which have the same functionality but
are pithier.
§Example
Set background color to red using fg()
:
use yansi::{Paint, Color};
painted.bg(Color::Red);
Set background color to red using on_red()
.
use yansi::Paint;
painted.on_red();
Source§fn on_primary(&self) -> Painted<&T>
fn on_primary(&self) -> Painted<&T>
Source§fn on_magenta(&self) -> Painted<&T>
fn on_magenta(&self) -> Painted<&T>
Source§fn on_bright_black(&self) -> Painted<&T>
fn on_bright_black(&self) -> Painted<&T>
Source§fn on_bright_red(&self) -> Painted<&T>
fn on_bright_red(&self) -> Painted<&T>
Source§fn on_bright_green(&self) -> Painted<&T>
fn on_bright_green(&self) -> Painted<&T>
Source§fn on_bright_yellow(&self) -> Painted<&T>
fn on_bright_yellow(&self) -> Painted<&T>
Source§fn on_bright_blue(&self) -> Painted<&T>
fn on_bright_blue(&self) -> Painted<&T>
Source§fn on_bright_magenta(&self) -> Painted<&T>
fn on_bright_magenta(&self) -> Painted<&T>
Source§fn on_bright_cyan(&self) -> Painted<&T>
fn on_bright_cyan(&self) -> Painted<&T>
Source§fn on_bright_white(&self) -> Painted<&T>
fn on_bright_white(&self) -> Painted<&T>
Source§fn attr(&self, value: Attribute) -> Painted<&T>
fn attr(&self, value: Attribute) -> Painted<&T>
Enables the styling Attribute
value
.
This method should be used rarely. Instead, prefer to use
attribute-specific builder methods like bold()
and
underline()
, which have the same functionality
but are pithier.
§Example
Make text bold using attr()
:
use yansi::{Paint, Attribute};
painted.attr(Attribute::Bold);
Make text bold using using bold()
.
use yansi::Paint;
painted.bold();
Source§fn rapid_blink(&self) -> Painted<&T>
fn rapid_blink(&self) -> Painted<&T>
Source§fn quirk(&self, value: Quirk) -> Painted<&T>
fn quirk(&self, value: Quirk) -> Painted<&T>
Enables the yansi
Quirk
value
.
This method should be used rarely. Instead, prefer to use quirk-specific
builder methods like mask()
and
wrap()
, which have the same functionality but are
pithier.
§Example
Enable wrapping using .quirk()
:
use yansi::{Paint, Quirk};
painted.quirk(Quirk::Wrap);
Enable wrapping using wrap()
.
use yansi::Paint;
painted.wrap();
Source§fn clear(&self) -> Painted<&T>
👎Deprecated since 1.0.1: renamed to resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.
fn clear(&self) -> Painted<&T>
resetting()
due to conflicts with Vec::clear()
.
The clear()
method will be removed in a future release.Source§fn whenever(&self, value: Condition) -> Painted<&T>
fn whenever(&self, value: Condition) -> Painted<&T>
Conditionally enable styling based on whether the Condition
value
applies. Replaces any previous condition.
See the crate level docs for more details.
§Example
Enable styling painted
only when both stdout
and stderr
are TTYs:
use yansi::{Paint, Condition};
painted.red().on_yellow().whenever(Condition::STDOUTERR_ARE_TTY);