Interface Action.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<Action.Builder,,Action> SdkBuilder<Action.Builder,,Action> SdkPojo
- Enclosing class:
Action
-
Method Summary
Modifier and TypeMethodDescriptionactionType(String actionType) The type of action that was detected.default Action.BuilderawsApiCallAction(Consumer<AwsApiCallAction.Builder> awsApiCallAction) Included ifActionTypeisAWS_API_CALL.awsApiCallAction(AwsApiCallAction awsApiCallAction) Included ifActionTypeisAWS_API_CALL.default Action.BuilderdnsRequestAction(Consumer<DnsRequestAction.Builder> dnsRequestAction) Included ifActionTypeisDNS_REQUEST.dnsRequestAction(DnsRequestAction dnsRequestAction) Included ifActionTypeisDNS_REQUEST.default Action.BuildernetworkConnectionAction(Consumer<NetworkConnectionAction.Builder> networkConnectionAction) Included ifActionTypeisNETWORK_CONNECTION.networkConnectionAction(NetworkConnectionAction networkConnectionAction) Included ifActionTypeisNETWORK_CONNECTION.default Action.BuilderportProbeAction(Consumer<PortProbeAction.Builder> portProbeAction) Included ifActionTypeisPORT_PROBE.portProbeAction(PortProbeAction portProbeAction) Included ifActionTypeisPORT_PROBE.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
-
actionType
The type of action that was detected. The possible action types are:
-
NETWORK_CONNECTION -
AWS_API_CALL -
DNS_REQUEST -
PORT_PROBE
- Parameters:
actionType- The type of action that was detected. The possible action types are:-
NETWORK_CONNECTION -
AWS_API_CALL -
DNS_REQUEST -
PORT_PROBE
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
networkConnectionAction
Included if
ActionTypeisNETWORK_CONNECTION. Provides details about the network connection that was detected.- Parameters:
networkConnectionAction- Included ifActionTypeisNETWORK_CONNECTION. Provides details about the network connection that was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkConnectionAction
default Action.Builder networkConnectionAction(Consumer<NetworkConnectionAction.Builder> networkConnectionAction) Included if
This is a convenience method that creates an instance of theActionTypeisNETWORK_CONNECTION. Provides details about the network connection that was detected.NetworkConnectionAction.Builderavoiding the need to create one manually viaNetworkConnectionAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tonetworkConnectionAction(NetworkConnectionAction).- Parameters:
networkConnectionAction- a consumer that will call methods onNetworkConnectionAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
awsApiCallAction
Included if
ActionTypeisAWS_API_CALL. Provides details about the API call that was detected.- Parameters:
awsApiCallAction- Included ifActionTypeisAWS_API_CALL. Provides details about the API call that was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
awsApiCallAction
Included if
This is a convenience method that creates an instance of theActionTypeisAWS_API_CALL. Provides details about the API call that was detected.AwsApiCallAction.Builderavoiding the need to create one manually viaAwsApiCallAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toawsApiCallAction(AwsApiCallAction).- Parameters:
awsApiCallAction- a consumer that will call methods onAwsApiCallAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dnsRequestAction
Included if
ActionTypeisDNS_REQUEST. Provides details about the DNS request that was detected.- Parameters:
dnsRequestAction- Included ifActionTypeisDNS_REQUEST. Provides details about the DNS request that was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dnsRequestAction
Included if
This is a convenience method that creates an instance of theActionTypeisDNS_REQUEST. Provides details about the DNS request that was detected.DnsRequestAction.Builderavoiding the need to create one manually viaDnsRequestAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todnsRequestAction(DnsRequestAction).- Parameters:
dnsRequestAction- a consumer that will call methods onDnsRequestAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
portProbeAction
Included if
ActionTypeisPORT_PROBE. Provides details about the port probe that was detected.- Parameters:
portProbeAction- Included ifActionTypeisPORT_PROBE. Provides details about the port probe that was detected.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
portProbeAction
Included if
This is a convenience method that creates an instance of theActionTypeisPORT_PROBE. Provides details about the port probe that was detected.PortProbeAction.Builderavoiding the need to create one manually viaPortProbeAction.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toportProbeAction(PortProbeAction).- Parameters:
portProbeAction- a consumer that will call methods onPortProbeAction.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-