@Generated(value="software.amazon.awssdk:codegen") public final class MountPoint extends Object implements SdkPojo, Serializable, ToCopyableBuilder<MountPoint.Builder,MountPoint>
Details on a Docker volume mount point that is used in a job's container properties. This parameter maps to
Volumes
in the Create a
container section of the Docker Remote API and the --volume
option to docker run.
Modifier and Type | Class and Description |
---|---|
static interface |
MountPoint.Builder |
Modifier and Type | Method and Description |
---|---|
static MountPoint.Builder |
builder() |
String |
containerPath()
The path on the container at which to mount the host volume.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
Boolean |
readOnly()
If this value is
true , the container has read-only access to the volume; otherwise, the container
can write to the volume. |
List<SdkField<?>> |
sdkFields() |
static Class<? extends MountPoint.Builder> |
serializableBuilderClass() |
String |
sourceVolume()
The name of the volume to mount.
|
MountPoint.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public String containerPath()
The path on the container at which to mount the host volume.
public Boolean readOnly()
If this value is true
, the container has read-only access to the volume; otherwise, the container
can write to the volume. The default value is false
.
true
, the container has read-only access to the volume; otherwise, the
container can write to the volume. The default value is false
.public String sourceVolume()
The name of the volume to mount.
public MountPoint.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<MountPoint.Builder,MountPoint>
public static MountPoint.Builder builder()
public static Class<? extends MountPoint.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2020. All rights reserved.