@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkConnectionAction extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about the NETWORK_CONNECTION action described in the finding.
Constructor and Description |
---|
NetworkConnectionAction() |
Modifier and Type | Method and Description |
---|---|
NetworkConnectionAction |
clone() |
boolean |
equals(Object obj) |
Boolean |
getBlocked()
Network connection blocked information.
|
String |
getConnectionDirection()
Network connection direction.
|
LocalPortDetails |
getLocalPortDetails()
Local port information of the connection.
|
String |
getProtocol()
Network connection protocol.
|
RemoteIpDetails |
getRemoteIpDetails()
Remote IP information of the connection.
|
RemotePortDetails |
getRemotePortDetails()
Remote port information of the connection.
|
int |
hashCode() |
Boolean |
isBlocked()
Network connection blocked information.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBlocked(Boolean blocked)
Network connection blocked information.
|
void |
setConnectionDirection(String connectionDirection)
Network connection direction.
|
void |
setLocalPortDetails(LocalPortDetails localPortDetails)
Local port information of the connection.
|
void |
setProtocol(String protocol)
Network connection protocol.
|
void |
setRemoteIpDetails(RemoteIpDetails remoteIpDetails)
Remote IP information of the connection.
|
void |
setRemotePortDetails(RemotePortDetails remotePortDetails)
Remote port information of the connection.
|
String |
toString()
Returns a string representation of this object.
|
NetworkConnectionAction |
withBlocked(Boolean blocked)
Network connection blocked information.
|
NetworkConnectionAction |
withConnectionDirection(String connectionDirection)
Network connection direction.
|
NetworkConnectionAction |
withLocalPortDetails(LocalPortDetails localPortDetails)
Local port information of the connection.
|
NetworkConnectionAction |
withProtocol(String protocol)
Network connection protocol.
|
NetworkConnectionAction |
withRemoteIpDetails(RemoteIpDetails remoteIpDetails)
Remote IP information of the connection.
|
NetworkConnectionAction |
withRemotePortDetails(RemotePortDetails remotePortDetails)
Remote port information of the connection.
|
public void setBlocked(Boolean blocked)
Network connection blocked information.
blocked
- Network connection blocked information.public Boolean getBlocked()
Network connection blocked information.
public NetworkConnectionAction withBlocked(Boolean blocked)
Network connection blocked information.
blocked
- Network connection blocked information.public Boolean isBlocked()
Network connection blocked information.
public void setConnectionDirection(String connectionDirection)
Network connection direction.
connectionDirection
- Network connection direction.public String getConnectionDirection()
Network connection direction.
public NetworkConnectionAction withConnectionDirection(String connectionDirection)
Network connection direction.
connectionDirection
- Network connection direction.public void setLocalPortDetails(LocalPortDetails localPortDetails)
Local port information of the connection.
localPortDetails
- Local port information of the connection.public LocalPortDetails getLocalPortDetails()
Local port information of the connection.
public NetworkConnectionAction withLocalPortDetails(LocalPortDetails localPortDetails)
Local port information of the connection.
localPortDetails
- Local port information of the connection.public void setProtocol(String protocol)
Network connection protocol.
protocol
- Network connection protocol.public String getProtocol()
Network connection protocol.
public NetworkConnectionAction withProtocol(String protocol)
Network connection protocol.
protocol
- Network connection protocol.public void setRemoteIpDetails(RemoteIpDetails remoteIpDetails)
Remote IP information of the connection.
remoteIpDetails
- Remote IP information of the connection.public RemoteIpDetails getRemoteIpDetails()
Remote IP information of the connection.
public NetworkConnectionAction withRemoteIpDetails(RemoteIpDetails remoteIpDetails)
Remote IP information of the connection.
remoteIpDetails
- Remote IP information of the connection.public void setRemotePortDetails(RemotePortDetails remotePortDetails)
Remote port information of the connection.
remotePortDetails
- Remote port information of the connection.public RemotePortDetails getRemotePortDetails()
Remote port information of the connection.
public NetworkConnectionAction withRemotePortDetails(RemotePortDetails remotePortDetails)
Remote port information of the connection.
remotePortDetails
- Remote port information of the connection.public String toString()
toString
in class Object
Object.toString()
public NetworkConnectionAction clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.