public Task withEphemeralStorage(EphemeralStorage ephemeralStorage) {
        setEphemeralStorage(ephemeralStorage);
        return this;
    }
<p>
The ephemeral storage settings for the task.
</p>

@param ephemeralStorage
       The ephemeral storage settings for the task.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/Task.java