Class NetworkConnectionAction
- java.lang.Object
-
- software.amazon.awssdk.services.securityhub.model.NetworkConnectionAction
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<NetworkConnectionAction.Builder,NetworkConnectionAction>
@Generated("software.amazon.awssdk:codegen") public final class NetworkConnectionAction extends Object implements SdkPojo, Serializable, ToCopyableBuilder<NetworkConnectionAction.Builder,NetworkConnectionAction>
Provided if
ActionTypeisNETWORK_CONNECTION. It provides details about the attempted network connection that was detected.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceNetworkConnectionAction.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Booleanblocked()Indicates whether the network connection attempt was blocked.static NetworkConnectionAction.Builderbuilder()StringconnectionDirection()The direction of the network connection request (INorOUT).booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()ActionLocalPortDetailslocalPortDetails()Information about the port on the EC2 instance.Stringprotocol()The protocol used to make the network connection request.ActionRemoteIpDetailsremoteIpDetails()Information about the remote IP address that issued the network connection request.ActionRemotePortDetailsremotePortDetails()Information about the port on the remote IP address.List<SdkField<?>>sdkFields()static Class<? extends NetworkConnectionAction.Builder>serializableBuilderClass()NetworkConnectionAction.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
-
connectionDirection
public final String connectionDirection()
The direction of the network connection request (
INorOUT).- Returns:
- The direction of the network connection request (
INorOUT).
-
remoteIpDetails
public final ActionRemoteIpDetails remoteIpDetails()
Information about the remote IP address that issued the network connection request.
- Returns:
- Information about the remote IP address that issued the network connection request.
-
remotePortDetails
public final ActionRemotePortDetails remotePortDetails()
Information about the port on the remote IP address.
- Returns:
- Information about the port on the remote IP address.
-
localPortDetails
public final ActionLocalPortDetails localPortDetails()
Information about the port on the EC2 instance.
- Returns:
- Information about the port on the EC2 instance.
-
protocol
public final String protocol()
The protocol used to make the network connection request.
Length Constraints: Minimum length of 1. Maximum length of 64.
- Returns:
- The protocol used to make the network connection request.
Length Constraints: Minimum length of 1. Maximum length of 64.
-
blocked
public final Boolean blocked()
Indicates whether the network connection attempt was blocked.
- Returns:
- Indicates whether the network connection attempt was blocked.
-
toBuilder
public NetworkConnectionAction.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<NetworkConnectionAction.Builder,NetworkConnectionAction>
-
builder
public static NetworkConnectionAction.Builder builder()
-
serializableBuilderClass
public static Class<? extends NetworkConnectionAction.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.
-
-