| Package | Description | 
|---|---|
| com.amazonaws.services.ecs.model | 
| Modifier and Type | Method and Description | 
|---|---|
| PortMapping | PortMapping. clone() | 
| PortMapping | PortMapping. withContainerPort(Integer containerPort)
 The port number on the container that is bound to the user-specified or automatically assigned host port. | 
| PortMapping | PortMapping. withHostPort(Integer hostPort)
 The port number on the container instance to reserve for your container. | 
| PortMapping | PortMapping. withProtocol(String protocol)
 The protocol used for the port mapping. | 
| PortMapping | PortMapping. withProtocol(TransportProtocol protocol)
 The protocol used for the port mapping. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<PortMapping> | ContainerDefinition. getPortMappings()
 The list of port mappings for the container. | 
| Modifier and Type | Method and Description | 
|---|---|
| ContainerDefinition | ContainerDefinition. withPortMappings(PortMapping... portMappings)
 The list of port mappings for the container. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | ContainerDefinition. setPortMappings(Collection<PortMapping> portMappings)
 The list of port mappings for the container. | 
| ContainerDefinition | ContainerDefinition. withPortMappings(Collection<PortMapping> portMappings)
 The list of port mappings for the container. | 
Copyright © 2017. All rights reserved.