Interface ServiceInsertionAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ServiceInsertionAction.Builder,
,ServiceInsertionAction> SdkBuilder<ServiceInsertionAction.Builder,
,ServiceInsertionAction> SdkPojo
- Enclosing class:
ServiceInsertionAction
-
Method Summary
Modifier and TypeMethodDescriptionThe action the service insertion takes for traffic.action
(SegmentActionServiceInsertion action) The action the service insertion takes for traffic.Describes the mode packets take for thesend-via
action.mode
(SendViaMode mode) Describes the mode packets take for thesend-via
action.default ServiceInsertionAction.Builder
via
(Consumer<Via.Builder> via) The list of network function groups and any edge overrides for the chosen service insertion action.The list of network function groups and any edge overrides for the chosen service insertion action.default ServiceInsertionAction.Builder
whenSentTo
(Consumer<WhenSentTo.Builder> whenSentTo) The list of destination segments if the service insertion action issend-via
.whenSentTo
(WhenSentTo whenSentTo) The list of destination segments if the service insertion action issend-via
.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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 issend-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. Forsingle-hop
, packets traverse a single intermediate inserted attachment. You can useEdgeOverride
to specify a specific edge to use.- Parameters:
mode
- Describes the mode packets take for thesend-via
action. This is not used when the action issend-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. Forsingle-hop
, packets traverse a single intermediate inserted attachment. You can useEdgeOverride
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 issend-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. Forsingle-hop
, packets traverse a single intermediate inserted attachment. You can useEdgeOverride
to specify a specific edge to use.- Parameters:
mode
- Describes the mode packets take for thesend-via
action. This is not used when the action issend-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. Forsingle-hop
, packets traverse a single intermediate inserted attachment. You can useEdgeOverride
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 issend-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
This is a convenience method that creates an instance of thesend-via
.WhenSentTo.Builder
avoiding the need to create one manually viaWhenSentTo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed towhenSentTo(WhenSentTo)
.- Parameters:
whenSentTo
- a consumer that will call methods onWhenSentTo.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
orsend-via
.- Parameters:
via
- The list of network function groups and any edge overrides for the chosen service insertion action. Used for bothsend-to
orsend-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
This is a convenience method that creates an instance of thesend-to
orsend-via
.Via.Builder
avoiding the need to create one manually viaVia.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovia(Via)
.- Parameters:
via
- a consumer that will call methods onVia.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-