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-viaaction.mode(SendViaMode mode) Describes the mode packets take for thesend-viaaction.default ServiceInsertionAction.Buildervia(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.BuilderwhenSentTo(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
action
The action the service insertion takes for traffic.
send-viasends east-west traffic between attachments.send-tosends 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-viasends east-west traffic between attachments.send-tosends 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-viasends east-west traffic between attachments.send-tosends 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-viasends east-west traffic between attachments.send-tosends 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-viaaction. This is not used when the action issend-to.dual-hoppackets 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 useEdgeOverrideto specify a specific edge to use.- Parameters:
mode- Describes the mode packets take for thesend-viaaction. This is not used when the action issend-to.dual-hoppackets 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 useEdgeOverrideto 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-viaaction. This is not used when the action issend-to.dual-hoppackets 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 useEdgeOverrideto specify a specific edge to use.- Parameters:
mode- Describes the mode packets take for thesend-viaaction. This is not used when the action issend-to.dual-hoppackets 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 useEdgeOverrideto 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.Builderavoiding the need to create one manually viaWhenSentTo.builder().When the
Consumercompletes,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-toorsend-via.- Parameters:
via- The list of network function groups and any edge overrides for the chosen service insertion action. Used for bothsend-toorsend-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-toorsend-via.Via.Builderavoiding the need to create one manually viaVia.builder().When the
Consumercompletes,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:
-