@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Action extends Object implements Serializable, Cloneable, StructuredPojo
Provides details about one of the following actions that affects or that was taken on a resource:
A remote IP address issued an AWS 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
| Constructor and Description | 
|---|
| Action() | 
| Modifier and Type | Method and Description | 
|---|---|
| Action | clone() | 
| boolean | equals(Object obj) | 
| String | getActionType()
 The type of action that was detected. | 
| AwsApiCallAction | getAwsApiCallAction()
 Included if  ActionTypeisAWS_API_CALL. | 
| DnsRequestAction | getDnsRequestAction()
 Included if  ActionTypeisDNS_REQUEST. | 
| NetworkConnectionAction | getNetworkConnectionAction()
 Included if  ActionTypeisNETWORK_CONNECTION. | 
| PortProbeAction | getPortProbeAction()
 Included if  ActionTypeisPORT_PROBE. | 
| int | hashCode() | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setActionType(String actionType)
 The type of action that was detected. | 
| void | setAwsApiCallAction(AwsApiCallAction awsApiCallAction)
 Included if  ActionTypeisAWS_API_CALL. | 
| void | setDnsRequestAction(DnsRequestAction dnsRequestAction)
 Included if  ActionTypeisDNS_REQUEST. | 
| void | setNetworkConnectionAction(NetworkConnectionAction networkConnectionAction)
 Included if  ActionTypeisNETWORK_CONNECTION. | 
| void | setPortProbeAction(PortProbeAction portProbeAction)
 Included if  ActionTypeisPORT_PROBE. | 
| String | toString()Returns a string representation of this object. | 
| Action | withActionType(String actionType)
 The type of action that was detected. | 
| Action | withAwsApiCallAction(AwsApiCallAction awsApiCallAction)
 Included if  ActionTypeisAWS_API_CALL. | 
| Action | withDnsRequestAction(DnsRequestAction dnsRequestAction)
 Included if  ActionTypeisDNS_REQUEST. | 
| Action | withNetworkConnectionAction(NetworkConnectionAction networkConnectionAction)
 Included if  ActionTypeisNETWORK_CONNECTION. | 
| Action | withPortProbeAction(PortProbeAction portProbeAction)
 Included if  ActionTypeisPORT_PROBE. | 
public void setActionType(String actionType)
The type of action that was detected. The possible action types are:
 NETWORK_CONNECTION
 
 AWS_API_CALL
 
 DNS_REQUEST
 
 PORT_PROBE
 
actionType - The type of action that was detected. The possible action types are:
        
        NETWORK_CONNECTION
        
        AWS_API_CALL
        
        DNS_REQUEST
        
        PORT_PROBE
        
public String getActionType()
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 Action withActionType(String actionType)
The type of action that was detected. The possible action types are:
 NETWORK_CONNECTION
 
 AWS_API_CALL
 
 DNS_REQUEST
 
 PORT_PROBE
 
actionType - The type of action that was detected. The possible action types are:
        
        NETWORK_CONNECTION
        
        AWS_API_CALL
        
        DNS_REQUEST
        
        PORT_PROBE
        
public void setNetworkConnectionAction(NetworkConnectionAction networkConnectionAction)
 Included if ActionType is NETWORK_CONNECTION. Provides details about the network
 connection that was detected.
 
networkConnectionAction - Included if ActionType is NETWORK_CONNECTION. Provides details about the network
        connection that was detected.public NetworkConnectionAction getNetworkConnectionAction()
 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 Action withNetworkConnectionAction(NetworkConnectionAction networkConnectionAction)
 Included if ActionType is NETWORK_CONNECTION. Provides details about the network
 connection that was detected.
 
networkConnectionAction - Included if ActionType is NETWORK_CONNECTION. Provides details about the network
        connection that was detected.public void setAwsApiCallAction(AwsApiCallAction awsApiCallAction)
 Included if ActionType is AWS_API_CALL. Provides details about the API call that was
 detected.
 
awsApiCallAction - Included if ActionType is AWS_API_CALL. Provides details about the API call that
        was detected.public AwsApiCallAction getAwsApiCallAction()
 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 Action withAwsApiCallAction(AwsApiCallAction awsApiCallAction)
 Included if ActionType is AWS_API_CALL. Provides details about the API call that was
 detected.
 
awsApiCallAction - Included if ActionType is AWS_API_CALL. Provides details about the API call that
        was detected.public void setDnsRequestAction(DnsRequestAction dnsRequestAction)
 Included if ActionType is DNS_REQUEST. Provides details about the DNS request that was
 detected.
 
dnsRequestAction - Included if ActionType is DNS_REQUEST. Provides details about the DNS request
        that was detected.public DnsRequestAction getDnsRequestAction()
 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 Action withDnsRequestAction(DnsRequestAction dnsRequestAction)
 Included if ActionType is DNS_REQUEST. Provides details about the DNS request that was
 detected.
 
dnsRequestAction - Included if ActionType is DNS_REQUEST. Provides details about the DNS request
        that was detected.public void setPortProbeAction(PortProbeAction portProbeAction)
 Included if ActionType is PORT_PROBE. Provides details about the port probe that was
 detected.
 
portProbeAction - Included if ActionType is PORT_PROBE. Provides details about the port probe that
        was detected.public PortProbeAction getPortProbeAction()
 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 withPortProbeAction(PortProbeAction portProbeAction)
 Included if ActionType is PORT_PROBE. Provides details about the port probe that was
 detected.
 
portProbeAction - Included if ActionType is PORT_PROBE. Provides details about the port probe that
        was detected.public String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.