StructuredPojo
, ToCopyableBuilder<HostEntry.Builder,HostEntry>
@Generated("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 | Description |
---|---|---|
static interface |
HostEntry.Builder |
Modifier and Type | Method | Description |
---|---|---|
static HostEntry.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
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() |
public 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<HostEntry.Builder,HostEntry>
public static HostEntry.Builder builder()
public static Class<? extends HostEntry.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.