Interface AnalysisPacketHeader.Builder

    • Method Detail

      • destinationAddresses

        AnalysisPacketHeader.Builder destinationAddresses​(Collection<String> destinationAddresses)

        The destination addresses.

        Parameters:
        destinationAddresses - The destination addresses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationAddresses

        AnalysisPacketHeader.Builder destinationAddresses​(String... destinationAddresses)

        The destination addresses.

        Parameters:
        destinationAddresses - The destination addresses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationPortRanges

        AnalysisPacketHeader.Builder destinationPortRanges​(Collection<PortRange> destinationPortRanges)

        The destination port ranges.

        Parameters:
        destinationPortRanges - The destination port ranges.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationPortRanges

        AnalysisPacketHeader.Builder destinationPortRanges​(PortRange... destinationPortRanges)

        The destination port ranges.

        Parameters:
        destinationPortRanges - The destination port ranges.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • destinationPortRanges

        AnalysisPacketHeader.Builder destinationPortRanges​(Consumer<PortRange.Builder>... destinationPortRanges)

        The destination port ranges.

        This is a convenience method that creates an instance of the PortRange.Builder avoiding the need to create one manually via PortRange.builder().

        When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to #destinationPortRanges(List).

        Parameters:
        destinationPortRanges - a consumer that will call methods on PortRange.Builder
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        #destinationPortRanges(java.util.Collection)
      • protocol

        AnalysisPacketHeader.Builder protocol​(String protocol)

        The protocol.

        Parameters:
        protocol - The protocol.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceAddresses

        AnalysisPacketHeader.Builder sourceAddresses​(Collection<String> sourceAddresses)

        The source addresses.

        Parameters:
        sourceAddresses - The source addresses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourceAddresses

        AnalysisPacketHeader.Builder sourceAddresses​(String... sourceAddresses)

        The source addresses.

        Parameters:
        sourceAddresses - The source addresses.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourcePortRanges

        AnalysisPacketHeader.Builder sourcePortRanges​(Collection<PortRange> sourcePortRanges)

        The source port ranges.

        Parameters:
        sourcePortRanges - The source port ranges.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • sourcePortRanges

        AnalysisPacketHeader.Builder sourcePortRanges​(PortRange... sourcePortRanges)

        The source port ranges.

        Parameters:
        sourcePortRanges - The source port ranges.
        Returns:
        Returns a reference to this object so that method calls can be chained together.