pub fn protocols(mut self, input: crate::model::CustomRoutingProtocol) -> Self {
            let mut v = self.protocols.unwrap_or_default();
            v.push(input);
            self.protocols = Some(v);
            self
        }
/// Appends an item to `protocols`.
///
/// To override the contents of this collection use [`set_protocols`](Self::set_protocols).
///
/// <p>The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either TCP or UDP.</p>
Appends an item to `protocols`.
To override the contents of this collection use [`set_protocols`](Self::set_protocols).

The protocol for the endpoint group that is associated with a custom routing accelerator. The protocol can be either TCP or UDP.
Appends an item to ` protocols ` . To override the contents of this collection use [ ` set_protocols ` ] ( Self :: set_protocols ) . The protocol for the endpoint group that is associated with a custom routing accelerator . The protocol can be either TCP or UDP .
pub fn protocols(mut self, input: crate::model::CustomRoutingProtocol) -> Self {
            let mut v = self.protocols.unwrap_or_default();
            v.push(input);
            self.protocols = Some(v);
            self
        }
pub fn protocols ( mut self , input : crate :: model :: CustomRoutingProtocol ) -> Self { let mut v = self . protocols . unwrap_or_default ( ) ; v . push ( input ) ; self . protocols = Some ( v ) ; self }
Appends an item to `protocols`.
Appends an item to ` protocols ` .
mut self
input
crate::model::CustomRoutingProtocol
mut self
input
crate::model::CustomRoutingProtocol