Package | Description |
---|---|
com.amazonaws.services.ecs.model | |
com.amazonaws.services.ecs.model.transform |
Modifier and Type | Field and Description |
---|---|
private SdkInternalList<PortMapping> |
ContainerDefinition.portMappings
The list of port mappings for the container.
|
Modifier and Type | Method and Description |
---|---|
PortMapping |
PortMapping.clone() |
PortMapping |
PortMapping.withContainerPort(java.lang.Integer containerPort)
The port number on the container that is bound to the user-specified or
automatically assigned host port.
|
PortMapping |
PortMapping.withHostPort(java.lang.Integer hostPort)
The port number on the container instance to reserve for your container.
|
PortMapping |
PortMapping.withProtocol(java.lang.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 |
---|---|
java.util.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(java.util.Collection<PortMapping> portMappings)
The list of port mappings for the container.
|
ContainerDefinition |
ContainerDefinition.withPortMappings(java.util.Collection<PortMapping> portMappings)
The list of port mappings for the container.
|
Modifier and Type | Method and Description |
---|---|
PortMapping |
PortMappingJsonUnmarshaller.unmarshall(JsonUnmarshallerContext context) |
Modifier and Type | Method and Description |
---|---|
void |
PortMappingJsonMarshaller.marshall(PortMapping portMapping,
StructuredJsonGenerator jsonGenerator)
Marshall the given parameter object, and output to a SdkJsonGenerator
|