Struct aws_sdk_globalaccelerator::model::custom_routing_destination_configuration::Builder
source · [−]pub struct Builder { /* private fields */ }Expand description
A builder for CustomRoutingDestinationConfiguration.
Implementations
sourceimpl Builder
impl Builder
sourcepub fn from_port(self, input: i32) -> Self
pub fn from_port(self, input: i32) -> Self
The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
sourcepub fn set_from_port(self, input: Option<i32>) -> Self
pub fn set_from_port(self, input: Option<i32>) -> Self
The first port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
sourcepub fn to_port(self, input: i32) -> Self
pub fn to_port(self, input: i32) -> Self
The last port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
sourcepub fn set_to_port(self, input: Option<i32>) -> Self
pub fn set_to_port(self, input: Option<i32>) -> Self
The last port, inclusive, in the range of ports for the endpoint group that is associated with a custom routing accelerator.
sourcepub fn protocols(self, input: CustomRoutingProtocol) -> Self
pub fn protocols(self, input: CustomRoutingProtocol) -> Self
Appends an item to protocols.
To override the contents of this collection use set_protocols.
The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either TCP or UDP.
sourcepub fn set_protocols(self, input: Option<Vec<CustomRoutingProtocol>>) -> Self
pub fn set_protocols(self, input: Option<Vec<CustomRoutingProtocol>>) -> Self
The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either TCP or UDP.
sourcepub fn build(self) -> CustomRoutingDestinationConfiguration
pub fn build(self) -> CustomRoutingDestinationConfiguration
Consumes the builder and constructs a CustomRoutingDestinationConfiguration.