Interface Network.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Network.Builder,Network>, SdkBuilder<Network.Builder,Network>, SdkPojo
Enclosing class:
Network

public static interface Network.Builder extends SdkPojo, CopyableBuilder<Network.Builder,Network>
  • Method Details

    • direction

      Network.Builder direction(String direction)

      The direction of network traffic associated with a finding.

      Parameters:
      direction - The direction of network traffic associated with a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • direction

      Network.Builder direction(NetworkDirection direction)

      The direction of network traffic associated with a finding.

      Parameters:
      direction - The direction of network traffic associated with a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • protocol

      Network.Builder protocol(String protocol)

      The protocol of network-related information about a finding.

      Parameters:
      protocol - The protocol of network-related information about a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • openPortRange

      Network.Builder openPortRange(PortRange openPortRange)

      The range of open ports that is present on the network.

      Parameters:
      openPortRange - The range of open ports that is present on the network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • openPortRange

      default Network.Builder openPortRange(Consumer<PortRange.Builder> openPortRange)

      The range of open ports that is present on the network.

      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 openPortRange(PortRange).

      Parameters:
      openPortRange - 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:
    • sourceIpV4

      Network.Builder sourceIpV4(String sourceIpV4)

      The source IPv4 address of network-related information about a finding.

      Parameters:
      sourceIpV4 - The source IPv4 address of network-related information about a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceIpV6

      Network.Builder sourceIpV6(String sourceIpV6)

      The source IPv6 address of network-related information about a finding.

      Parameters:
      sourceIpV6 - The source IPv6 address of network-related information about a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourcePort

      Network.Builder sourcePort(Integer sourcePort)

      The source port of network-related information about a finding.

      Parameters:
      sourcePort - The source port of network-related information about a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceDomain

      Network.Builder sourceDomain(String sourceDomain)

      The source domain of network-related information about a finding.

      Parameters:
      sourceDomain - The source domain of network-related information about a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceMac

      Network.Builder sourceMac(String sourceMac)

      The source media access control (MAC) address of network-related information about a finding.

      Parameters:
      sourceMac - The source media access control (MAC) address of network-related information about a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationIpV4

      Network.Builder destinationIpV4(String destinationIpV4)

      The destination IPv4 address of network-related information about a finding.

      Parameters:
      destinationIpV4 - The destination IPv4 address of network-related information about a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationIpV6

      Network.Builder destinationIpV6(String destinationIpV6)

      The destination IPv6 address of network-related information about a finding.

      Parameters:
      destinationIpV6 - The destination IPv6 address of network-related information about a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationPort

      Network.Builder destinationPort(Integer destinationPort)

      The destination port of network-related information about a finding.

      Parameters:
      destinationPort - The destination port of network-related information about a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationDomain

      Network.Builder destinationDomain(String destinationDomain)

      The destination domain of network-related information about a finding.

      Parameters:
      destinationDomain - The destination domain of network-related information about a finding.
      Returns:
      Returns a reference to this object so that method calls can be chained together.