/* 
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */

package dev.plexapi.sdk.models.operations;

import dev.plexapi.sdk.utils.Utils;
import java.lang.String;

public class GetSourceConnectionInformationRequestBuilder {

    private String source;
    private final SDKMethodInterfaces.MethodCallGetSourceConnectionInformation sdk;

    public GetSourceConnectionInformationRequestBuilder(SDKMethodInterfaces.MethodCallGetSourceConnectionInformation sdk) {
        this.sdk = sdk;
    }

    public GetSourceConnectionInformationRequestBuilder source(String source) {
        Utils.checkNotNull(source, "source");
        this.source = source;
        return this;
    }

    public GetSourceConnectionInformationResponse call() throws Exception {

        return sdk.getSourceConnectionInformation(
            source);
    }
}
