public SupportedInstanceType withEbsStorageOnly(Boolean ebsStorageOnly) {
        setEbsStorageOnly(ebsStorageOnly);
        return this;
    }
<p>
Indicates whether the <code>SupportedInstanceType</code> only supports Amazon EBS.
</p>

@param ebsStorageOnly
       Indicates whether the <code>SupportedInstanceType</code> only supports Amazon EBS.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-emr/src/main/java/com/amazonaws/services/elasticmapreduce/model/SupportedInstanceType.java