@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkReachabilityDetails extends Object implements Serializable, Cloneable, StructuredPojo
Contains the details of a network reachability finding.
| Constructor and Description |
|---|
NetworkReachabilityDetails() |
| Modifier and Type | Method and Description |
|---|---|
NetworkReachabilityDetails |
clone() |
boolean |
equals(Object obj) |
NetworkPath |
getNetworkPath()
An object that contains details about a network path associated with a finding.
|
PortRange |
getOpenPortRange()
An object that contains details about the open port range associated with a finding.
|
String |
getProtocol()
The protocol associated with a finding.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setNetworkPath(NetworkPath networkPath)
An object that contains details about a network path associated with a finding.
|
void |
setOpenPortRange(PortRange openPortRange)
An object that contains details about the open port range associated with a finding.
|
void |
setProtocol(String protocol)
The protocol associated with a finding.
|
String |
toString()
Returns a string representation of this object.
|
NetworkReachabilityDetails |
withNetworkPath(NetworkPath networkPath)
An object that contains details about a network path associated with a finding.
|
NetworkReachabilityDetails |
withOpenPortRange(PortRange openPortRange)
An object that contains details about the open port range associated with a finding.
|
NetworkReachabilityDetails |
withProtocol(NetworkProtocol protocol)
The protocol associated with a finding.
|
NetworkReachabilityDetails |
withProtocol(String protocol)
The protocol associated with a finding.
|
public void setNetworkPath(NetworkPath networkPath)
An object that contains details about a network path associated with a finding.
networkPath - An object that contains details about a network path associated with a finding.public NetworkPath getNetworkPath()
An object that contains details about a network path associated with a finding.
public NetworkReachabilityDetails withNetworkPath(NetworkPath networkPath)
An object that contains details about a network path associated with a finding.
networkPath - An object that contains details about a network path associated with a finding.public void setOpenPortRange(PortRange openPortRange)
An object that contains details about the open port range associated with a finding.
openPortRange - An object that contains details about the open port range associated with a finding.public PortRange getOpenPortRange()
An object that contains details about the open port range associated with a finding.
public NetworkReachabilityDetails withOpenPortRange(PortRange openPortRange)
An object that contains details about the open port range associated with a finding.
openPortRange - An object that contains details about the open port range associated with a finding.public void setProtocol(String protocol)
The protocol associated with a finding.
protocol - The protocol associated with a finding.NetworkProtocolpublic String getProtocol()
The protocol associated with a finding.
NetworkProtocolpublic NetworkReachabilityDetails withProtocol(String protocol)
The protocol associated with a finding.
protocol - The protocol associated with a finding.NetworkProtocolpublic NetworkReachabilityDetails withProtocol(NetworkProtocol protocol)
The protocol associated with a finding.
protocol - The protocol associated with a finding.NetworkProtocolpublic String toString()
toString in class ObjectObject.toString()public NetworkReachabilityDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.