@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class NetworkBinding extends Object implements Serializable, Cloneable, StructuredPojo
Details on the network bindings between a container and its host container instance. After a task reaches the
RUNNING status, manual and automatic host and container port assignments are visible in the
networkBindings section of DescribeTasks API responses.
| Constructor and Description |
|---|
NetworkBinding() |
| Modifier and Type | Method and Description |
|---|---|
NetworkBinding |
clone() |
boolean |
equals(Object obj) |
String |
getBindIP()
The IP address that the container is bound to on the container instance.
|
Integer |
getContainerPort()
The port number on the container that is be used with the network binding.
|
Integer |
getHostPort()
The port number on the host that is used with the network binding.
|
String |
getProtocol()
The protocol used for the network binding.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setBindIP(String bindIP)
The IP address that the container is bound to on the container instance.
|
void |
setContainerPort(Integer containerPort)
The port number on the container that is be used with the network binding.
|
void |
setHostPort(Integer hostPort)
The port number on the host that is used with the network binding.
|
void |
setProtocol(String protocol)
The protocol used for the network binding.
|
void |
setProtocol(TransportProtocol protocol)
The protocol used for the network binding.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
NetworkBinding |
withBindIP(String bindIP)
The IP address that the container is bound to on the container instance.
|
NetworkBinding |
withContainerPort(Integer containerPort)
The port number on the container that is be used with the network binding.
|
NetworkBinding |
withHostPort(Integer hostPort)
The port number on the host that is used with the network binding.
|
NetworkBinding |
withProtocol(String protocol)
The protocol used for the network binding.
|
NetworkBinding |
withProtocol(TransportProtocol protocol)
The protocol used for the network binding.
|
public void setBindIP(String bindIP)
The IP address that the container is bound to on the container instance.
bindIP - The IP address that the container is bound to on the container instance.public String getBindIP()
The IP address that the container is bound to on the container instance.
public NetworkBinding withBindIP(String bindIP)
The IP address that the container is bound to on the container instance.
bindIP - The IP address that the container is bound to on the container instance.public void setContainerPort(Integer containerPort)
The port number on the container that is be used with the network binding.
containerPort - The port number on the container that is be used with the network binding.public Integer getContainerPort()
The port number on the container that is be used with the network binding.
public NetworkBinding withContainerPort(Integer containerPort)
The port number on the container that is be used with the network binding.
containerPort - The port number on the container that is be used with the network binding.public void setHostPort(Integer hostPort)
The port number on the host that is used with the network binding.
hostPort - The port number on the host that is used with the network binding.public Integer getHostPort()
The port number on the host that is used with the network binding.
public NetworkBinding withHostPort(Integer hostPort)
The port number on the host that is used with the network binding.
hostPort - The port number on the host that is used with the network binding.public void setProtocol(String protocol)
The protocol used for the network binding.
protocol - The protocol used for the network binding.TransportProtocolpublic String getProtocol()
The protocol used for the network binding.
TransportProtocolpublic NetworkBinding withProtocol(String protocol)
The protocol used for the network binding.
protocol - The protocol used for the network binding.TransportProtocolpublic void setProtocol(TransportProtocol protocol)
The protocol used for the network binding.
protocol - The protocol used for the network binding.TransportProtocolpublic NetworkBinding withProtocol(TransportProtocol protocol)
The protocol used for the network binding.
protocol - The protocol used for the network binding.TransportProtocolpublic String toString()
toString in class ObjectObject.toString()public NetworkBinding clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.