@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) |
boolean |
equalsBySdkFields(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() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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()
toBuilder in interface ToCopyableBuilder<HostVolumeProperties.Builder,HostVolumeProperties>public static HostVolumeProperties.Builder builder()
public static Class<? extends HostVolumeProperties.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2021. All rights reserved.