public java.util.List<Volume> getVolumes() {
        if (volumes == null) {
            volumes = new com.amazonaws.internal.SdkInternalList<Volume>();
        }
        return volumes;
    }
<p>
A list of volume definitions in JSON format that containers in your task might use.
</p>

@return A list of volume definitions in JSON format that containers in your task might use.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/RegisterTaskDefinitionRequest.java