Interface ServiceInsertionAction.Builder

  • Method Details

    • action

      The action the service insertion takes for traffic. send-via sends east-west traffic between attachments. send-to sends north-south traffic to the security appliance, and then from that to either the Internet or to an on-premesis location.

      Parameters:
      action - The action the service insertion takes for traffic. send-via sends east-west traffic between attachments. send-to sends north-south traffic to the security appliance, and then from that to either the Internet or to an on-premesis location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • action

      The action the service insertion takes for traffic. send-via sends east-west traffic between attachments. send-to sends north-south traffic to the security appliance, and then from that to either the Internet or to an on-premesis location.

      Parameters:
      action - The action the service insertion takes for traffic. send-via sends east-west traffic between attachments. send-to sends north-south traffic to the security appliance, and then from that to either the Internet or to an on-premesis location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mode

      Describes the mode packets take for the send-via action. This is not used when the action is send-to. dual-hop packets traverse attachments in both the source to the destination core network edges. This mode requires that an inspection attachment must be present in all Regions of the service insertion-enabled segments. For single-hop, packets traverse a single intermediate inserted attachment. You can use EdgeOverride to specify a specific edge to use.

      Parameters:
      mode - Describes the mode packets take for the send-via action. This is not used when the action is send-to. dual-hop packets traverse attachments in both the source to the destination core network edges. This mode requires that an inspection attachment must be present in all Regions of the service insertion-enabled segments. For single-hop, packets traverse a single intermediate inserted attachment. You can use EdgeOverride to specify a specific edge to use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • mode

      Describes the mode packets take for the send-via action. This is not used when the action is send-to. dual-hop packets traverse attachments in both the source to the destination core network edges. This mode requires that an inspection attachment must be present in all Regions of the service insertion-enabled segments. For single-hop, packets traverse a single intermediate inserted attachment. You can use EdgeOverride to specify a specific edge to use.

      Parameters:
      mode - Describes the mode packets take for the send-via action. This is not used when the action is send-to. dual-hop packets traverse attachments in both the source to the destination core network edges. This mode requires that an inspection attachment must be present in all Regions of the service insertion-enabled segments. For single-hop, packets traverse a single intermediate inserted attachment. You can use EdgeOverride to specify a specific edge to use.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • whenSentTo

      The list of destination segments if the service insertion action is send-via.

      Parameters:
      whenSentTo - The list of destination segments if the service insertion action is send-via.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • whenSentTo

      The list of destination segments if the service insertion action is send-via.

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

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

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

      The list of network function groups and any edge overrides for the chosen service insertion action. Used for both send-to or send-via.

      Parameters:
      via - The list of network function groups and any edge overrides for the chosen service insertion action. Used for both send-to or send-via.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • via

      The list of network function groups and any edge overrides for the chosen service insertion action. Used for both send-to or send-via.

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

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

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