@Generated(value="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.
| Modifier and Type | Class and Description |
|---|---|
static interface |
NetworkConnectionAction.Builder |
| Modifier and Type | Method and Description |
|---|---|
Boolean |
blocked()
Indicates whether EC2 blocked the network connection to your instance.
|
static NetworkConnectionAction.Builder |
builder() |
String |
connectionDirection()
The network connection direction.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
LocalIpDetails |
localIpDetails()
The local IP information of the connection.
|
LocalPortDetails |
localPortDetails()
The local port information of the connection.
|
String |
protocol()
The network connection protocol.
|
RemoteIpDetails |
remoteIpDetails()
The remote IP information of the connection.
|
RemotePortDetails |
remotePortDetails()
The remote port information of the connection.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends NetworkConnectionAction.Builder> |
serializableBuilderClass() |
NetworkConnectionAction.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic Boolean blocked()
Indicates whether EC2 blocked the network connection to your instance.
public String connectionDirection()
The network connection direction.
public LocalPortDetails localPortDetails()
The local port information of the connection.
public String protocol()
The network connection protocol.
public LocalIpDetails localIpDetails()
The local IP information of the connection.
public RemoteIpDetails remoteIpDetails()
The remote IP information of the connection.
public RemotePortDetails remotePortDetails()
The remote port information of the connection.
public NetworkConnectionAction.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<NetworkConnectionAction.Builder,NetworkConnectionAction>public static NetworkConnectionAction.Builder builder()
public static Class<? extends NetworkConnectionAction.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
Copyright © 2020. All rights reserved.