@Generated(value="software.amazon.awssdk:codegen") public final class Action extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Action.Builder,Action>
Provides details about one of the following actions that affects or that was taken on a resource:
A remote IP address issued an Amazon Web Services API call
A DNS request was received
A remote IP address attempted to connect to an EC2 instance
A remote IP address attempted a port probe on an EC2 instance
| Modifier and Type | Class and Description |
|---|---|
static interface |
Action.Builder |
| Modifier and Type | Method and Description |
|---|---|
String |
actionType()
The type of action that was detected.
|
AwsApiCallAction |
awsApiCallAction()
Included if
ActionType is AWS_API_CALL. |
static Action.Builder |
builder() |
DnsRequestAction |
dnsRequestAction()
Included if
ActionType is DNS_REQUEST. |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
NetworkConnectionAction |
networkConnectionAction()
Included if
ActionType is NETWORK_CONNECTION. |
PortProbeAction |
portProbeAction()
Included if
ActionType is PORT_PROBE. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends Action.Builder> |
serializableBuilderClass() |
Action.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String actionType()
The type of action that was detected. The possible action types are:
NETWORK_CONNECTION
AWS_API_CALL
DNS_REQUEST
PORT_PROBE
NETWORK_CONNECTION
AWS_API_CALL
DNS_REQUEST
PORT_PROBE
public final NetworkConnectionAction networkConnectionAction()
Included if ActionType is NETWORK_CONNECTION. Provides details about the network
connection that was detected.
ActionType is NETWORK_CONNECTION. Provides details about the
network connection that was detected.public final AwsApiCallAction awsApiCallAction()
Included if ActionType is AWS_API_CALL. Provides details about the API call that was
detected.
ActionType is AWS_API_CALL. Provides details about the API call
that was detected.public final DnsRequestAction dnsRequestAction()
Included if ActionType is DNS_REQUEST. Provides details about the DNS request that was
detected.
ActionType is DNS_REQUEST. Provides details about the DNS request
that was detected.public final PortProbeAction portProbeAction()
Included if ActionType is PORT_PROBE. Provides details about the port probe that was
detected.
ActionType is PORT_PROBE. Provides details about the port probe
that was detected.public Action.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<Action.Builder,Action>public static Action.Builder builder()
public static Class<? extends Action.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.