@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MountPoint extends Object implements Serializable, Cloneable, StructuredPojo
 Details for a Docker volume mount point that's 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.
 
| Constructor and Description | 
|---|
| MountPoint() | 
| Modifier and Type | Method and Description | 
|---|---|
| MountPoint | clone() | 
| boolean | equals(Object obj) | 
| String | getContainerPath()
 The path on the container where the host volume is mounted. | 
| Boolean | getReadOnly()
 If this value is  true, the container has read-only access to the volume. | 
| String | getSourceVolume()
 The name of the volume to mount. | 
| int | hashCode() | 
| Boolean | isReadOnly()
 If this value is  true, the container has read-only access to the volume. | 
| void | marshall(ProtocolMarshaller protocolMarshaller)Marshalls this structured data using the given  ProtocolMarshaller. | 
| void | setContainerPath(String containerPath)
 The path on the container where the host volume is mounted. | 
| void | setReadOnly(Boolean readOnly)
 If this value is  true, the container has read-only access to the volume. | 
| void | setSourceVolume(String sourceVolume)
 The name of the volume to mount. | 
| String | toString()Returns a string representation of this object. | 
| MountPoint | withContainerPath(String containerPath)
 The path on the container where the host volume is mounted. | 
| MountPoint | withReadOnly(Boolean readOnly)
 If this value is  true, the container has read-only access to the volume. | 
| MountPoint | withSourceVolume(String sourceVolume)
 The name of the volume to mount. | 
public void setContainerPath(String containerPath)
The path on the container where the host volume is mounted.
containerPath - The path on the container where the host volume is mounted.public String getContainerPath()
The path on the container where the host volume is mounted.
public MountPoint withContainerPath(String containerPath)
The path on the container where the host volume is mounted.
containerPath - The path on the container where the host volume is mounted.public void setReadOnly(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.
 
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.public Boolean getReadOnly()
 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 MountPoint withReadOnly(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.
 
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.public Boolean isReadOnly()
 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 void setSourceVolume(String sourceVolume)
The name of the volume to mount.
sourceVolume - The name of the volume to mount.public String getSourceVolume()
The name of the volume to mount.
public MountPoint withSourceVolume(String sourceVolume)
The name of the volume to mount.
sourceVolume - The name of the volume to mount.public String toString()
toString in class ObjectObject.toString()public MountPoint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.