public java.util.List<AwsEcsTaskDefinitionVolumesDetails> getVolumes() {
        return volumes;
    }
<p>
The data volume definitions for the task.
</p>

@return The data volume definitions for the task.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/AwsEcsTaskDefinitionDetails.java