@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ConnectionDetails extends Object implements Serializable, Cloneable, StructuredPojo
Egress address of AgentEndpoint with an optional mtu.
| Constructor and Description |
|---|
ConnectionDetails() |
| Modifier and Type | Method and Description |
|---|---|
ConnectionDetails |
clone() |
boolean |
equals(Object obj) |
Integer |
getMtu()
Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
|
SocketAddress |
getSocketAddress()
A socket address.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setMtu(Integer mtu)
Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
|
void |
setSocketAddress(SocketAddress socketAddress)
A socket address.
|
String |
toString()
Returns a string representation of this object.
|
ConnectionDetails |
withMtu(Integer mtu)
Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
|
ConnectionDetails |
withSocketAddress(SocketAddress socketAddress)
A socket address.
|
public void setMtu(Integer mtu)
Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
mtu - Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.public Integer getMtu()
Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
public ConnectionDetails withMtu(Integer mtu)
Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.
mtu - Maximum transmission unit (MTU) size in bytes of a dataflow endpoint.public void setSocketAddress(SocketAddress socketAddress)
A socket address.
socketAddress - A socket address.public SocketAddress getSocketAddress()
A socket address.
public ConnectionDetails withSocketAddress(SocketAddress socketAddress)
A socket address.
socketAddress - A socket address.public String toString()
toString in class ObjectObject.toString()public ConnectionDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.