Struct aws_sdk_ec2::model::explanation::Builder
source · [−]pub struct Builder { /* private fields */ }
Expand description
A builder for Explanation
.
Implementations
sourceimpl Builder
impl Builder
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 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 set_address(self, input: Option<String>) -> Self
pub fn set_address(self, input: Option<String>) -> Self
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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 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 build(self) -> Explanation
pub fn build(self) -> Explanation
Consumes the builder and constructs a Explanation
.
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 · sourcefn borrow_mut(&mut self) -> &mut T
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> 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