public NotebookMetadata withType(String type) {
        setType(type);
        return this;
    }
<p>
The type of notebook. Currently, the only valid type is <code>IPYNB</code>.
</p>

@param type
       The type of notebook. Currently, the only valid type is <code>IPYNB</code>.
@return Returns a reference to this object so that method calls can be chained together.
@see NotebookType
aws-java-sdk-athena/src/main/java/com/amazonaws/services/athena/model/NotebookMetadata.java