public Connection withConnectionType(ConnectionType connectionType) {
        this.connectionType = connectionType.toString();
        return this;
    }
<p>
The type of the connection. Currently, SFTP is not supported.
</p>

@param connectionType
       The type of the connection. Currently, SFTP is not supported.
@return Returns a reference to this object so that method calls can be chained together.
@see ConnectionType
aws-java-sdk-glue/src/main/java/com/amazonaws/services/glue/model/Connection.java