Class NetworkConnectionAction
- java.lang.Object
-
- software.amazon.awssdk.services.guardduty.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>
Contains information about the NETWORK_CONNECTION action described in the finding.
- 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 EC2 blocked the network connection to your instance.static NetworkConnectionAction.Builderbuilder()StringconnectionDirection()The network connection direction.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()LocalIpDetailslocalIpDetails()The local IP information of the connection.LocalPortDetailslocalPortDetails()The local port information of the connection.Stringprotocol()The network connection protocol.RemoteIpDetailsremoteIpDetails()The remote IP information of the connection.RemotePortDetailsremotePortDetails()The remote port information of the connection.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
-
blocked
public final Boolean blocked()
Indicates whether EC2 blocked the network connection to your instance.
- Returns:
- Indicates whether EC2 blocked the network connection to your instance.
-
connectionDirection
public final String connectionDirection()
The network connection direction.
- Returns:
- The network connection direction.
-
localPortDetails
public final LocalPortDetails localPortDetails()
The local port information of the connection.
- Returns:
- The local port information of the connection.
-
protocol
public final String protocol()
The network connection protocol.
- Returns:
- The network connection protocol.
-
localIpDetails
public final LocalIpDetails localIpDetails()
The local IP information of the connection.
- Returns:
- The local IP information of the connection.
-
remoteIpDetails
public final RemoteIpDetails remoteIpDetails()
The remote IP information of the connection.
- Returns:
- The remote IP information of the connection.
-
remotePortDetails
public final RemotePortDetails remotePortDetails()
The remote port information of the connection.
- Returns:
- The remote port information of the connection.
-
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.
-
-