Class Action
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.Action
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Action.Builder,Action>
@Generated("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
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringactionType()The type of action that was detected.AwsApiCallActionawsApiCallAction()Included ifActionTypeisAWS_API_CALL.static Action.Builderbuilder()DnsRequestActiondnsRequestAction()Included ifActionTypeisDNS_REQUEST.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()NetworkConnectionActionnetworkConnectionAction()Included ifActionTypeisNETWORK_CONNECTION.PortProbeActionportProbeAction()Included ifActionTypeisPORT_PROBE.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends Action.Builder>serializableBuilderClass()Action.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
actionType
public final String actionType()
The type of action that was detected. The possible action types are:
-
NETWORK_CONNECTION -
AWS_API_CALL -
DNS_REQUEST -
PORT_PROBE
- Returns:
- The type of action that was detected. The possible action types are:
-
NETWORK_CONNECTION -
AWS_API_CALL -
DNS_REQUEST -
PORT_PROBE
-
-
-
networkConnectionAction
public final NetworkConnectionAction networkConnectionAction()
Included if
ActionTypeisNETWORK_CONNECTION. Provides details about the network connection that was detected.- Returns:
- Included if
ActionTypeisNETWORK_CONNECTION. Provides details about the network connection that was detected.
-
awsApiCallAction
public final AwsApiCallAction awsApiCallAction()
Included if
ActionTypeisAWS_API_CALL. Provides details about the API call that was detected.- Returns:
- Included if
ActionTypeisAWS_API_CALL. Provides details about the API call that was detected.
-
dnsRequestAction
public final DnsRequestAction dnsRequestAction()
Included if
ActionTypeisDNS_REQUEST. Provides details about the DNS request that was detected.- Returns:
- Included if
ActionTypeisDNS_REQUEST. Provides details about the DNS request that was detected.
-
portProbeAction
public final PortProbeAction portProbeAction()
Included if
ActionTypeisPORT_PROBE. Provides details about the port probe that was detected.- Returns:
- Included if
ActionTypeisPORT_PROBE. Provides details about the port probe that was detected.
-
toBuilder
public Action.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Action.Builder,Action>
-
builder
public static Action.Builder builder()
-
serializableBuilderClass
public static Class<? extends Action.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-