| 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/hostsentry. | 
| HostEntry | HostEntry. withIpAddress(String ipAddress)
 The IP address to use in the  /etc/hostsentry. | 
| Modifier and Type | Method and Description | 
|---|---|
| List<HostEntry> | ContainerDefinition. getExtraHosts()
 A list of hostnames and IP address mappings to append to the  /etc/hostsfile 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/hostsfile 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/hostsfile on the container. | 
| ContainerDefinition | ContainerDefinition. withExtraHosts(Collection<HostEntry> extraHosts)
 A list of hostnames and IP address mappings to append to the  /etc/hostsfile on the container. | 
Copyright © 2017. All rights reserved.