@Generated(value="software.amazon.awssdk:codegen") public final class HostVolumeProperties extends Object implements SdkPojo, Serializable, ToCopyableBuilder<HostVolumeProperties.Builder,HostVolumeProperties>
Details on a container instance bind mount host volume.
Modifier and Type | Class and Description |
---|---|
static interface |
HostVolumeProperties.Builder |
Modifier and Type | Method and Description |
---|---|
static HostVolumeProperties.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
List<SdkField<?>> |
sdkFields() |
static Class<? extends HostVolumeProperties.Builder> |
serializableBuilderClass() |
String |
sourcePath()
When the
host parameter is used, specify a sourcePath to declare the path on the host
container instance that is presented to the container. |
HostVolumeProperties.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()
When the host
parameter is used, specify a sourcePath
to declare 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.
If you are using the Fargate launch type, the sourcePath
parameter is not supported.
host
parameter is used, specify a sourcePath
to declare 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.
If you are using the Fargate launch type, the sourcePath
parameter is not supported.
public HostVolumeProperties.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<HostVolumeProperties.Builder,HostVolumeProperties>
public static HostVolumeProperties.Builder builder()
public static Class<? extends HostVolumeProperties.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.