Interface ServiceInsertionAction.Builder

    • Method Detail

      • action

        ServiceInsertionAction.Builder action​(String 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:
        SegmentActionServiceInsertion, SegmentActionServiceInsertion
      • action

        ServiceInsertionAction.Builder action​(SegmentActionServiceInsertion 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:
        SegmentActionServiceInsertion, SegmentActionServiceInsertion
      • mode

        ServiceInsertionAction.Builder mode​(String 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:
        SendViaMode, SendViaMode
      • mode

        ServiceInsertionAction.Builder mode​(SendViaMode 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:
        SendViaMode, SendViaMode
      • whenSentTo

        ServiceInsertionAction.Builder whenSentTo​(WhenSentTo 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.
      • via

        ServiceInsertionAction.Builder via​(Via 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

        default ServiceInsertionAction.Builder via​(Consumer<Via.Builder> 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:
        via(Via)