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.Builder
awsApiCallAction
(Consumer<AwsApiCallAction.Builder> awsApiCallAction) Included ifActionType
isAWS_API_CALL
.awsApiCallAction
(AwsApiCallAction awsApiCallAction) Included ifActionType
isAWS_API_CALL
.default Action.Builder
dnsRequestAction
(Consumer<DnsRequestAction.Builder> dnsRequestAction) Included ifActionType
isDNS_REQUEST
.dnsRequestAction
(DnsRequestAction dnsRequestAction) Included ifActionType
isDNS_REQUEST
.default Action.Builder
networkConnectionAction
(Consumer<NetworkConnectionAction.Builder> networkConnectionAction) Included ifActionType
isNETWORK_CONNECTION
.networkConnectionAction
(NetworkConnectionAction networkConnectionAction) Included ifActionType
isNETWORK_CONNECTION
.default Action.Builder
portProbeAction
(Consumer<PortProbeAction.Builder> portProbeAction) Included ifActionType
isPORT_PROBE
.portProbeAction
(PortProbeAction portProbeAction) Included ifActionType
isPORT_PROBE
.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, 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
ActionType
isNETWORK_CONNECTION
. Provides details about the network connection that was detected.- Parameters:
networkConnectionAction
- Included ifActionType
isNETWORK_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 theActionType
isNETWORK_CONNECTION
. Provides details about the network connection that was detected.NetworkConnectionAction.Builder
avoiding the need to create one manually viaNetworkConnectionAction.builder()
.When the
Consumer
completes,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
ActionType
isAWS_API_CALL
. Provides details about the API call that was detected.- Parameters:
awsApiCallAction
- Included ifActionType
isAWS_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 theActionType
isAWS_API_CALL
. Provides details about the API call that was detected.AwsApiCallAction.Builder
avoiding the need to create one manually viaAwsApiCallAction.builder()
.When the
Consumer
completes,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
ActionType
isDNS_REQUEST
. Provides details about the DNS request that was detected.- Parameters:
dnsRequestAction
- Included ifActionType
isDNS_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 theActionType
isDNS_REQUEST
. Provides details about the DNS request that was detected.DnsRequestAction.Builder
avoiding the need to create one manually viaDnsRequestAction.builder()
.When the
Consumer
completes,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
ActionType
isPORT_PROBE
. Provides details about the port probe that was detected.- Parameters:
portProbeAction
- Included ifActionType
isPORT_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 theActionType
isPORT_PROBE
. Provides details about the port probe that was detected.PortProbeAction.Builder
avoiding the need to create one manually viaPortProbeAction.builder()
.When the
Consumer
completes,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:
-