public SourceConnection withConnectionParameters(SourceConnectionParameters connectionParameters) {
        setConnectionParameters(connectionParameters);
        return this;
    }
<p>
The connection details based on the connection <code>Type</code>.
</p>

@param connectionParameters
       The connection details based on the connection <code>Type</code>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-servicecatalog/src/main/java/com/amazonaws/services/servicecatalog/model/SourceConnection.java