@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NeighborConnectionDetail extends Object implements Serializable, Cloneable
Details about neighboring servers.
Constructor and Description |
---|
NeighborConnectionDetail() |
Modifier and Type | Method and Description |
---|---|
NeighborConnectionDetail |
clone() |
boolean |
equals(Object obj) |
Long |
getConnectionsCount()
Number of open network connections with the neighboring server.
|
Integer |
getDestinationPort()
Destination network port for the connection.
|
String |
getDestinationServerId()
ID of the server that accepted the networker connection.
|
String |
getSourceServerId()
ID of server that opened the network connection.
|
String |
getTransportProtocol()
Network protocol used for the connection.
|
int |
hashCode() |
void |
setConnectionsCount(Long connectionsCount)
Number of open network connections with the neighboring server.
|
void |
setDestinationPort(Integer destinationPort)
Destination network port for the connection.
|
void |
setDestinationServerId(String destinationServerId)
ID of the server that accepted the networker connection.
|
void |
setSourceServerId(String sourceServerId)
ID of server that opened the network connection.
|
void |
setTransportProtocol(String transportProtocol)
Network protocol used for the connection.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
NeighborConnectionDetail |
withConnectionsCount(Long connectionsCount)
Number of open network connections with the neighboring server.
|
NeighborConnectionDetail |
withDestinationPort(Integer destinationPort)
Destination network port for the connection.
|
NeighborConnectionDetail |
withDestinationServerId(String destinationServerId)
ID of the server that accepted the networker connection.
|
NeighborConnectionDetail |
withSourceServerId(String sourceServerId)
ID of server that opened the network connection.
|
NeighborConnectionDetail |
withTransportProtocol(String transportProtocol)
Network protocol used for the connection.
|
public void setSourceServerId(String sourceServerId)
ID of server that opened the network connection.
sourceServerId
- ID of server that opened the network connection.public String getSourceServerId()
ID of server that opened the network connection.
public NeighborConnectionDetail withSourceServerId(String sourceServerId)
ID of server that opened the network connection.
sourceServerId
- ID of server that opened the network connection.public void setDestinationServerId(String destinationServerId)
ID of the server that accepted the networker connection.
destinationServerId
- ID of the server that accepted the networker connection.public String getDestinationServerId()
ID of the server that accepted the networker connection.
public NeighborConnectionDetail withDestinationServerId(String destinationServerId)
ID of the server that accepted the networker connection.
destinationServerId
- ID of the server that accepted the networker connection.public void setDestinationPort(Integer destinationPort)
Destination network port for the connection.
destinationPort
- Destination network port for the connection.public Integer getDestinationPort()
Destination network port for the connection.
public NeighborConnectionDetail withDestinationPort(Integer destinationPort)
Destination network port for the connection.
destinationPort
- Destination network port for the connection.public void setTransportProtocol(String transportProtocol)
Network protocol used for the connection.
transportProtocol
- Network protocol used for the connection.public String getTransportProtocol()
Network protocol used for the connection.
public NeighborConnectionDetail withTransportProtocol(String transportProtocol)
Network protocol used for the connection.
transportProtocol
- Network protocol used for the connection.public void setConnectionsCount(Long connectionsCount)
Number of open network connections with the neighboring server.
connectionsCount
- Number of open network connections with the neighboring server.public Long getConnectionsCount()
Number of open network connections with the neighboring server.
public NeighborConnectionDetail withConnectionsCount(Long connectionsCount)
Number of open network connections with the neighboring server.
connectionsCount
- Number of open network connections with the neighboring server.public String toString()
toString
in class Object
Object.toString()
public NeighborConnectionDetail clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.