pub fn destination_ports(mut self, input: crate::model::PortRange) -> Self {
            let mut v = self.destination_ports.unwrap_or_default();
            v.push(input);
            self.destination_ports = Some(v);
            self
        }
/// Appends an item to `destination_ports`.
///
/// To override the contents of this collection use [`set_destination_ports`](Self::set_destination_ports).
///
/// <p>The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP). </p>
/// <p>You can specify individual ports, for example <code>1994</code> and you can specify port ranges, for example <code>1990:1994</code>. </p>
Appends an item to `destination_ports`.
To override the contents of this collection use [`set_destination_ports`](Self::set_destination_ports).

The destination ports to inspect for. If not specified, this matches with any destination port. This setting is only used for protocols 6 (TCP) and 17 (UDP). 
You can specify individual ports, for example 1994 and you can specify port ranges, for example 1990:1994.
Appends an item to ` destination_ports ` . To override the contents of this collection use [ ` set_destination_ports ` ] ( Self :: set_destination_ports ) . The destination ports to inspect for . If not specified this matches with any destination port . This setting is only used for protocols 6 ( TCP ) and 17 ( UDP ) . You can specify individual ports for example 1994 and you can specify port ranges for example 1990 : 1994 .
pub fn destination_ports(mut self, input: crate::model::PortRange) -> Self {
            let mut v = self.destination_ports.unwrap_or_default();
            v.push(input);
            self.destination_ports = Some(v);
            self
        }
pub fn destination_ports ( mut self , input : crate :: model :: PortRange ) -> Self { let mut v = self . destination_ports . unwrap_or_default ( ) ; v . push ( input ) ; self . destination_ports = Some ( v ) ; self }
Appends an item to `destination_ports`.
Appends an item to ` destination_ports ` .
mut self
input
crate::model::PortRange
mut self
input
crate::model::PortRange