Struct aws_sdk_globalaccelerator::model::port_mapping::Builder [−][src]
#[non_exhaustive]pub struct Builder { /* fields omitted */ }
Expand description
A builder for PortMapping
Implementations
The accelerator port.
The accelerator port.
The Amazon Resource Name (ARN) of the endpoint group.
The Amazon Resource Name (ARN) of the endpoint group.
The IP address of the VPC subnet (the subnet ID).
The IP address of the VPC subnet (the subnet ID).
The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.
The EC2 instance IP address and port number in the virtual private cloud (VPC) subnet.
Appends an item to protocols
.
To override the contents of this collection use set_protocols
.
The protocols supported by the endpoint group.
The protocols supported by the endpoint group.
Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.
pub fn set_destination_traffic_state(
self,
input: Option<CustomRoutingDestinationTrafficState>
) -> Self
pub fn set_destination_traffic_state(
self,
input: Option<CustomRoutingDestinationTrafficState>
) -> Self
Indicates whether or not a port mapping destination can receive traffic. The value is either ALLOW, if traffic is allowed to the destination, or DENY, if traffic is not allowed to the destination.
Consumes the builder and constructs a PortMapping
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Builder
impl UnwindSafe for Builder
Blanket Implementations
Mutably borrows from an owned value. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more