public static interface NetworkBinding.Builder extends CopyableBuilder<NetworkBinding.Builder,NetworkBinding>
Modifier and Type | Method and Description |
---|---|
NetworkBinding.Builder |
bindIP(String bindIP)
The IP address that the container is bound to on the container instance.
|
NetworkBinding.Builder |
containerPort(Integer containerPort)
The port number on the container that is be used with the network binding.
|
NetworkBinding.Builder |
hostPort(Integer hostPort)
The port number on the host that is used with the network binding.
|
NetworkBinding.Builder |
protocol(String protocol)
The protocol used for the network binding.
|
NetworkBinding.Builder |
protocol(TransportProtocol protocol)
The protocol used for the network binding.
|
copy
apply, build
NetworkBinding.Builder bindIP(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.NetworkBinding.Builder containerPort(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.NetworkBinding.Builder hostPort(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.NetworkBinding.Builder protocol(String protocol)
The protocol used for the network binding.
protocol
- The protocol used for the network binding.TransportProtocol
,
TransportProtocol
NetworkBinding.Builder protocol(TransportProtocol protocol)
The protocol used for the network binding.
protocol
- The protocol used for the network binding.TransportProtocol
,
TransportProtocol
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.