public BlockDeviceMapping withEbs(Ebs ebs) {
        setEbs(ebs);
        return this;
    }
<p>
Information to attach an EBS volume to an instance at launch.
</p>

@param ebs
       Information to attach an EBS volume to an instance at launch.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-autoscaling/src/main/java/com/amazonaws/services/autoscaling/model/BlockDeviceMapping.java