Interface RuleGroupSourceStatefulRulesHeaderDetails.Builder

    • Method Detail

      • destination

        RuleGroupSourceStatefulRulesHeaderDetails.Builder destination​(String destination)

        The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

        Parameters:
        destination - The destination IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationPort

        RuleGroupSourceStatefulRulesHeaderDetails.Builder destinationPort​(String destinationPort)

        The destination port to inspect for. You can specify an individual port, such as 1994. You also can specify a port range, such as 1990:1994. To match with any port, specify ANY.

        Parameters:
        destinationPort - The destination port to inspect for. You can specify an individual port, such as 1994. You also can specify a port range, such as 1990:1994. To match with any port, specify ANY.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • direction

        RuleGroupSourceStatefulRulesHeaderDetails.Builder direction​(String direction)

        The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD, the inspection only matches traffic going from the source to the destination.

        Parameters:
        direction - The direction of traffic flow to inspect. If set to ANY, the inspection matches bidirectional traffic, both from the source to the destination and from the destination to the source. If set to FORWARD, the inspection only matches traffic going from the source to the destination.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • protocol

        RuleGroupSourceStatefulRulesHeaderDetails.Builder protocol​(String protocol)

        The protocol to inspect for. To inspector for all protocols, use IP.

        Parameters:
        protocol - The protocol to inspect for. To inspector for all protocols, use IP.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • source

        RuleGroupSourceStatefulRulesHeaderDetails.Builder source​(String source)

        The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.

        Parameters:
        source - The source IP address or address range to inspect for, in CIDR notation. To match with any address, specify ANY.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourcePort

        RuleGroupSourceStatefulRulesHeaderDetails.Builder sourcePort​(String sourcePort)

        The source port to inspect for. You can specify an individual port, such as 1994. You also can specify a port range, such as 1990:1994. To match with any port, specify ANY.

        Parameters:
        sourcePort - The source port to inspect for. You can specify an individual port, such as 1994. You also can specify a port range, such as 1990:1994. To match with any port, specify ANY.
        Returns:
        Returns a reference to this object so that method calls can be chained together.