@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NeighborConnectionDetail extends Object implements Serializable, Cloneable, StructuredPojo
Details about neighboring servers.
Constructor and Description |
---|
NeighborConnectionDetail() |
Modifier and Type | Method and Description |
---|---|
NeighborConnectionDetail |
clone() |
boolean |
equals(Object obj) |
Long |
getConnectionsCount()
The number of open network connections with the neighboring server.
|
Integer |
getDestinationPort()
The destination network port for the connection.
|
String |
getDestinationServerId()
The ID of the server that accepted the network connection.
|
String |
getSourceServerId()
The ID of the server that opened the network connection.
|
String |
getTransportProtocol()
The network protocol used for the connection.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setConnectionsCount(Long connectionsCount)
The number of open network connections with the neighboring server.
|
void |
setDestinationPort(Integer destinationPort)
The destination network port for the connection.
|
void |
setDestinationServerId(String destinationServerId)
The ID of the server that accepted the network connection.
|
void |
setSourceServerId(String sourceServerId)
The ID of the server that opened the network connection.
|
void |
setTransportProtocol(String transportProtocol)
The network protocol used for the connection.
|
String |
toString()
Returns a string representation of this object.
|
NeighborConnectionDetail |
withConnectionsCount(Long connectionsCount)
The number of open network connections with the neighboring server.
|
NeighborConnectionDetail |
withDestinationPort(Integer destinationPort)
The destination network port for the connection.
|
NeighborConnectionDetail |
withDestinationServerId(String destinationServerId)
The ID of the server that accepted the network connection.
|
NeighborConnectionDetail |
withSourceServerId(String sourceServerId)
The ID of the server that opened the network connection.
|
NeighborConnectionDetail |
withTransportProtocol(String transportProtocol)
The network protocol used for the connection.
|
public void setSourceServerId(String sourceServerId)
The ID of the server that opened the network connection.
sourceServerId
- The ID of the server that opened the network connection.public String getSourceServerId()
The ID of the server that opened the network connection.
public NeighborConnectionDetail withSourceServerId(String sourceServerId)
The ID of the server that opened the network connection.
sourceServerId
- The ID of the server that opened the network connection.public void setDestinationServerId(String destinationServerId)
The ID of the server that accepted the network connection.
destinationServerId
- The ID of the server that accepted the network connection.public String getDestinationServerId()
The ID of the server that accepted the network connection.
public NeighborConnectionDetail withDestinationServerId(String destinationServerId)
The ID of the server that accepted the network connection.
destinationServerId
- The ID of the server that accepted the network connection.public void setDestinationPort(Integer destinationPort)
The destination network port for the connection.
destinationPort
- The destination network port for the connection.public Integer getDestinationPort()
The destination network port for the connection.
public NeighborConnectionDetail withDestinationPort(Integer destinationPort)
The destination network port for the connection.
destinationPort
- The destination network port for the connection.public void setTransportProtocol(String transportProtocol)
The network protocol used for the connection.
transportProtocol
- The network protocol used for the connection.public String getTransportProtocol()
The network protocol used for the connection.
public NeighborConnectionDetail withTransportProtocol(String transportProtocol)
The network protocol used for the connection.
transportProtocol
- The network protocol used for the connection.public void setConnectionsCount(Long connectionsCount)
The number of open network connections with the neighboring server.
connectionsCount
- The number of open network connections with the neighboring server.public Long getConnectionsCount()
The number of open network connections with the neighboring server.
public NeighborConnectionDetail withConnectionsCount(Long connectionsCount)
The number of open network connections with the neighboring server.
connectionsCount
- The number of open network connections with the neighboring server.public String toString()
toString
in class Object
Object.toString()
public NeighborConnectionDetail clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.