Interface Action.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Action.Builder,Action>,SdkBuilder<Action.Builder,Action>,SdkPojo
- Enclosing class:
- Action
public static interface Action.Builder extends SdkPojo, CopyableBuilder<Action.Builder,Action>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Action.BuilderactionType(String actionType)The type of action that was detected.default Action.BuilderawsApiCallAction(Consumer<AwsApiCallAction.Builder> awsApiCallAction)Included ifActionTypeisAWS_API_CALL.Action.BuilderawsApiCallAction(AwsApiCallAction awsApiCallAction)Included ifActionTypeisAWS_API_CALL.default Action.BuilderdnsRequestAction(Consumer<DnsRequestAction.Builder> dnsRequestAction)Included ifActionTypeisDNS_REQUEST.Action.BuilderdnsRequestAction(DnsRequestAction dnsRequestAction)Included ifActionTypeisDNS_REQUEST.default Action.BuildernetworkConnectionAction(Consumer<NetworkConnectionAction.Builder> networkConnectionAction)Included ifActionTypeisNETWORK_CONNECTION.Action.BuildernetworkConnectionAction(NetworkConnectionAction networkConnectionAction)Included ifActionTypeisNETWORK_CONNECTION.default Action.BuilderportProbeAction(Consumer<PortProbeAction.Builder> portProbeAction)Included ifActionTypeisPORT_PROBE.Action.BuilderportProbeAction(PortProbeAction portProbeAction)Included ifActionTypeisPORT_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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
actionType
Action.Builder actionType(String 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
Action.Builder networkConnectionAction(NetworkConnectionAction 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:
networkConnectionAction(NetworkConnectionAction)
-
awsApiCallAction
Action.Builder awsApiCallAction(AwsApiCallAction 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
default Action.Builder awsApiCallAction(Consumer<AwsApiCallAction.Builder> 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:
awsApiCallAction(AwsApiCallAction)
-
dnsRequestAction
Action.Builder dnsRequestAction(DnsRequestAction 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
default Action.Builder dnsRequestAction(Consumer<DnsRequestAction.Builder> 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:
dnsRequestAction(DnsRequestAction)
-
portProbeAction
Action.Builder portProbeAction(PortProbeAction 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
default Action.Builder portProbeAction(Consumer<PortProbeAction.Builder> 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:
portProbeAction(PortProbeAction)
-
-