@Generated(value="software.amazon.awssdk:codegen") public class HostVolumeProperties extends Object implements StructuredPojo, ToCopyableBuilder<HostVolumeProperties.Builder,HostVolumeProperties>
Details on a container instance 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() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends HostVolumeProperties.Builder> |
serializableBuilderClass() |
String |
sourcePath()
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()
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 HostVolumeProperties.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<HostVolumeProperties.Builder,HostVolumeProperties>
public static HostVolumeProperties.Builder builder()
public static Class<? extends HostVolumeProperties.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.