@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class MountPoint extends Object implements Serializable, Cloneable, StructuredPojo
Details on a Docker volume mount point that is used in a job's container properties.
Constructor and Description |
---|
MountPoint() |
Modifier and Type | Method and Description |
---|---|
MountPoint |
clone() |
boolean |
equals(Object obj) |
String |
getContainerPath()
The path on the container at which to mount the host volume.
|
Boolean |
getReadOnly()
If this value is
true , the container has read-only access to the volume; otherwise, the container
can write 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; otherwise, the container
can write to the volume. |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setContainerPath(String containerPath)
The path on the container at which to mount the host volume.
|
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. |
void |
setSourceVolume(String sourceVolume)
The name of the volume to mount.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
MountPoint |
withContainerPath(String containerPath)
The path on the container at which to mount the host volume.
|
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. |
MountPoint |
withSourceVolume(String sourceVolume)
The name of the volume to mount.
|
public void setContainerPath(String containerPath)
The path on the container at which to mount the host volume.
containerPath
- The path on the container at which to mount the host volume.public String getContainerPath()
The path on the container at which to mount the host volume.
public MountPoint withContainerPath(String containerPath)
The path on the container at which to mount the host volume.
containerPath
- The path on the container at which to mount the host volume.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 Object
Object.toString()
public MountPoint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.