@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsMountPoint extends Object implements Serializable, Cloneable, StructuredPojo
Details for a volume mount point that's used in a container definition.
| Constructor and Description |
|---|
AwsMountPoint() |
| Modifier and Type | Method and Description |
|---|---|
AwsMountPoint |
clone() |
boolean |
equals(Object obj) |
String |
getContainerPath()
The path on the container to mount the host volume at.
|
String |
getSourceVolume()
The name of the volume to mount.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setContainerPath(String containerPath)
The path on the container to mount the host volume at.
|
void |
setSourceVolume(String sourceVolume)
The name of the volume to mount.
|
String |
toString()
Returns a string representation of this object.
|
AwsMountPoint |
withContainerPath(String containerPath)
The path on the container to mount the host volume at.
|
AwsMountPoint |
withSourceVolume(String sourceVolume)
The name of the volume to mount.
|
public void setSourceVolume(String sourceVolume)
The name of the volume to mount. Must be a volume name referenced in the name parameter of task
definition volume.
sourceVolume - The name of the volume to mount. Must be a volume name referenced in the name parameter of
task definition volume.public String getSourceVolume()
The name of the volume to mount. Must be a volume name referenced in the name parameter of task
definition volume.
name parameter of
task definition volume.public AwsMountPoint withSourceVolume(String sourceVolume)
The name of the volume to mount. Must be a volume name referenced in the name parameter of task
definition volume.
sourceVolume - The name of the volume to mount. Must be a volume name referenced in the name parameter of
task definition volume.public void setContainerPath(String containerPath)
The path on the container to mount the host volume at.
containerPath - The path on the container to mount the host volume at.public String getContainerPath()
The path on the container to mount the host volume at.
public AwsMountPoint withContainerPath(String containerPath)
The path on the container to mount the host volume at.
containerPath - The path on the container to mount the host volume at.public String toString()
toString in class ObjectObject.toString()public AwsMountPoint clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.