public void setVolumesFrom(java.util.Collection<VolumeFrom> volumesFrom) {
        if (volumesFrom == null) {
            this.volumesFrom = null;
            return;
        }

        this.volumesFrom = new com.amazonaws.internal.SdkInternalList<VolumeFrom>(volumesFrom);
    }
public void setVolumesFrom ( java . util . Collection < VolumeFrom > volumesFrom ) { if ( volumesFrom == null ) { this . volumesFrom = null ; return ; } this . volumesFrom = new com . amazonaws . internal . SdkInternalList < VolumeFrom > ( volumesFrom ) ; }
<p>
Data volumes to mount from another container. This parameter maps to <code>VolumesFrom</code> in the <a
href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section of the
<a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the <code>--volumes-from</code>
option to <a href="https://docs.docker.com/engine/reference/run/">docker run</a>.
</p>

@param volumesFrom
Data volumes to mount from another container. This parameter maps to <code>VolumesFrom</code> in the <a
href="https://docs.docker.com/engine/api/v1.35/#operation/ContainerCreate">Create a container</a> section
of the <a href="https://docs.docker.com/engine/api/v1.35/">Docker Remote API</a> and the
<code>--volumes-from</code> option to <a href="https://docs.docker.com/engine/reference/run/">docker
run</a>.