Uses of Class
com.amazonaws.services.ecs.model.PortMapping
Packages that use PortMapping
-
Uses of PortMapping in com.amazonaws.services.ecs.model
Methods in com.amazonaws.services.ecs.model that return PortMappingModifier and TypeMethodDescriptionPortMapping.clone()
PortMapping.withContainerPort
(Integer containerPort) The port number on the container that is bound to the user-specified or automatically assigned host port.PortMapping.withHostPort
(Integer hostPort) The port number on the container instance to reserve for your container.PortMapping.withProtocol
(TransportProtocol protocol) The protocol used for the port mapping.PortMapping.withProtocol
(String protocol) The protocol used for the port mapping.Methods in com.amazonaws.services.ecs.model that return types with arguments of type PortMappingModifier and TypeMethodDescriptionContainerDefinition.getPortMappings()
The list of port mappings for the container.Methods in com.amazonaws.services.ecs.model with parameters of type PortMappingModifier and TypeMethodDescriptionContainerDefinition.withPortMappings
(PortMapping... portMappings) The list of port mappings for the container.Method parameters in com.amazonaws.services.ecs.model with type arguments of type PortMappingModifier and TypeMethodDescriptionvoid
ContainerDefinition.setPortMappings
(Collection<PortMapping> portMappings) The list of port mappings for the container.ContainerDefinition.withPortMappings
(Collection<PortMapping> portMappings) The list of port mappings for the container.