@Generated(value="software.amazon.awssdk:codegen") public class Host extends Object implements StructuredPojo, ToCopyableBuilder<Host.Builder,Host>
The contents of the host
parameter determine whether your data volume persists on the host container
instance and where it is stored. If the host parameter is empty, then the Docker daemon assigns a host path for your
data volume, but the data is not guaranteed to persist after the containers associated with it stop running.
Modifier and Type | Class and Description |
---|---|
static interface |
Host.Builder |
Modifier and Type | Method and Description |
---|---|
static Host.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends Host.Builder> |
serializableBuilderClass() |
String |
sourcePath()
The path on the host container instance that is presented to the container.
|
Host.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String sourcePath()
The path on the host container instance that is presented to the container. If this parameter is empty, then the
Docker daemon has assigned a host path for you. If the host
parameter contains a
sourcePath
file location, then the data volume persists at the specified location on the host
container instance until you delete it manually. If the sourcePath
value does not exist on the host
container instance, the Docker daemon creates it. If the location does exist, the contents of the source path
folder are exported.
host
parameter contains a
sourcePath
file location, then the data volume persists at the specified location on the
host container instance until you delete it manually. If the sourcePath
value does not exist
on the host container instance, the Docker daemon creates it. If the location does exist, the contents of
the source path folder are exported.public Host.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<Host.Builder,Host>
public static Host.Builder builder()
public static Class<? extends Host.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.