@Generated(value="software.amazon.awssdk:codegen") public class HostEntry extends Object implements StructuredPojo, ToCopyableBuilder<HostEntry.Builder,HostEntry>
Hostnames and IP address entries that are added to the /etc/hosts file of a container via the
extraHosts parameter of its ContainerDefinition.
| Modifier and Type | Class and Description |
|---|---|
static interface |
HostEntry.Builder |
| Modifier and Type | Method and Description |
|---|---|
static HostEntry.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
hostname()
The hostname to use in the
/etc/hosts entry. |
String |
ipAddress()
The IP address to use in the
/etc/hosts entry. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
static Class<? extends HostEntry.Builder> |
serializableBuilderClass() |
HostEntry.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copypublic String hostname()
The hostname to use in the /etc/hosts entry.
/etc/hosts entry.public String ipAddress()
The IP address to use in the /etc/hosts entry.
/etc/hosts entry.public HostEntry.Builder toBuilder()
ToCopyableBuildertoBuilder in interface ToCopyableBuilder<HostEntry.Builder,HostEntry>public static HostEntry.Builder builder()
public static Class<? extends HostEntry.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.