Class ServiceInsertionAction
- java.lang.Object
-
- software.amazon.awssdk.services.networkmanager.model.ServiceInsertionAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ServiceInsertionAction.Builder,ServiceInsertionAction>
@Generated("software.amazon.awssdk:codegen") public final class ServiceInsertionAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServiceInsertionAction.Builder,ServiceInsertionAction>
Describes the action that the service insertion will take for any segments associated with it.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceServiceInsertionAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SegmentActionServiceInsertionaction()The action the service insertion takes for traffic.StringactionAsString()The action the service insertion takes for traffic.static ServiceInsertionAction.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()SendViaModemode()Describes the mode packets take for thesend-viaaction.StringmodeAsString()Describes the mode packets take for thesend-viaaction.List<SdkField<?>>sdkFields()static Class<? extends ServiceInsertionAction.Builder>serializableBuilderClass()ServiceInsertionAction.BuildertoBuilder()StringtoString()Returns a string representation of this object.Viavia()The list of network function groups and any edge overrides for the chosen service insertion action.WhenSentTowhenSentTo()The list of destination segments if the service insertion action issend-via.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
action
public final SegmentActionServiceInsertion 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.If the service returns an enum value that is not available in the current SDK version,
actionwill returnSegmentActionServiceInsertion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- 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. - See Also:
SegmentActionServiceInsertion
-
actionAsString
public final String actionAsString()
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.If the service returns an enum value that is not available in the current SDK version,
actionwill returnSegmentActionServiceInsertion.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromactionAsString().- Returns:
- 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. - See Also:
SegmentActionServiceInsertion
-
mode
public final SendViaMode 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.If the service returns an enum value that is not available in the current SDK version,
modewill returnSendViaMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- 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. - See Also:
SendViaMode
-
modeAsString
public final String modeAsString()
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.If the service returns an enum value that is not available in the current SDK version,
modewill returnSendViaMode.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frommodeAsString().- Returns:
- 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. - See Also:
SendViaMode
-
whenSentTo
public final WhenSentTo whenSentTo()
The list of destination segments if the service insertion action is
send-via.- Returns:
- The list of destination segments if the service insertion action is
send-via.
-
via
public final Via via()
The list of network function groups and any edge overrides for the chosen service insertion action. Used for both
send-toorsend-via.- Returns:
- The list of network function groups and any edge overrides for the chosen service insertion action. Used
for both
send-toorsend-via.
-
toBuilder
public ServiceInsertionAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ServiceInsertionAction.Builder,ServiceInsertionAction>
-
builder
public static ServiceInsertionAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends ServiceInsertionAction.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-