public ScheduledInstancesEbs withDeleteOnTermination(Boolean deleteOnTermination) {
        setDeleteOnTermination(deleteOnTermination);
        return this;
    }
<p>
Indicates whether the volume is deleted on instance termination.
</p>

@param deleteOnTermination
       Indicates whether the volume is deleted on instance termination.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ec2/src/main/java/com/amazonaws/services/ec2/model/ScheduledInstancesEbs.java