Interface Flow.Builder

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

@Mutable @NotThreadSafe public static interface Flow.Builder extends SdkPojo, CopyableBuilder<Flow.Builder,Flow>
  • Method Details

    • sourceAddress

      Flow.Builder sourceAddress(Address sourceAddress)
      Sets the value of the SourceAddress property for this object.
      Parameters:
      sourceAddress - The new value for the SourceAddress property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceAddress

      default Flow.Builder sourceAddress(Consumer<Address.Builder> sourceAddress)
      Sets the value of the SourceAddress property for this object. This is a convenience method that creates an instance of the Address.Builder avoiding the need to create one manually via Address.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sourceAddress(Address).

      Parameters:
      sourceAddress - a consumer that will call methods on Address.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • destinationAddress

      Flow.Builder destinationAddress(Address destinationAddress)
      Sets the value of the DestinationAddress property for this object.
      Parameters:
      destinationAddress - The new value for the DestinationAddress property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinationAddress

      default Flow.Builder destinationAddress(Consumer<Address.Builder> destinationAddress)
      Sets the value of the DestinationAddress property for this object. This is a convenience method that creates an instance of the Address.Builder avoiding the need to create one manually via Address.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to destinationAddress(Address).

      Parameters:
      destinationAddress - a consumer that will call methods on Address.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • sourcePort

      Flow.Builder sourcePort(String sourcePort)

      The source port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

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

      Flow.Builder destinationPort(String destinationPort)

      The destination port to inspect for. You can specify an individual port, for example 1994 and you can specify a port range, for example 1990:1994. To match with any port, specify ANY.

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

      Flow.Builder protocol(String protocol)

      The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.

      Parameters:
      protocol - The protocols to inspect for, specified using the assigned internet protocol number (IANA) for each protocol. If not specified, this matches with any protocol.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • age

      Returned as info about age of the flows identified by the flow operation.

      Parameters:
      age - Returned as info about age of the flows identified by the flow operation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • packetCount

      Flow.Builder packetCount(Integer packetCount)

      Returns the total number of data packets received or transmitted in a flow.

      Parameters:
      packetCount - Returns the total number of data packets received or transmitted in a flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • byteCount

      Flow.Builder byteCount(Long byteCount)

      Returns the number of bytes received or transmitted in a specific flow.

      Parameters:
      byteCount - Returns the number of bytes received or transmitted in a specific flow.
      Returns:
      Returns a reference to this object so that method calls can be chained together.