Package | Description |
---|---|
com.amazonaws.services.ecs.model |
Modifier and Type | Method and Description |
---|---|
HostEntry |
HostEntry.clone() |
HostEntry |
HostEntry.withHostname(String hostname)
The hostname to use in the
/etc/hosts entry. |
HostEntry |
HostEntry.withIpAddress(String ipAddress)
The IP address to use in the
/etc/hosts entry. |
Modifier and Type | Method and Description |
---|---|
List<HostEntry> |
ContainerDefinition.getExtraHosts()
A list of hostnames and IP address mappings to append to the
/etc/hosts file on the container. |
Modifier and Type | Method and Description |
---|---|
ContainerDefinition |
ContainerDefinition.withExtraHosts(HostEntry... extraHosts)
A list of hostnames and IP address mappings to append to the
/etc/hosts file on the container. |
Modifier and Type | Method and Description |
---|---|
void |
ContainerDefinition.setExtraHosts(Collection<HostEntry> extraHosts)
A list of hostnames and IP address mappings to append to the
/etc/hosts file on the container. |
ContainerDefinition |
ContainerDefinition.withExtraHosts(Collection<HostEntry> extraHosts)
A list of hostnames and IP address mappings to append to the
/etc/hosts file on the container. |
Copyright © 2016. All rights reserved.