public EcsTaskProperties withEphemeralStorage(EphemeralStorage ephemeralStorage) {
        setEphemeralStorage(ephemeralStorage);
        return this;
    }
<p>
The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total amount of
ephemeral storage available, beyond the default amount, for tasks hosted on Fargate.
</p>

@param ephemeralStorage
       The amount of ephemeral storage to allocate for the task. This parameter is used to expand the total
       amount of ephemeral storage available, beyond the default amount, for tasks hosted on Fargate.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-batch/src/main/java/com/amazonaws/services/batch/model/EcsTaskProperties.java