All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aliyun.datahub.model.ListDataConnectorResult Maven / Gradle / Ivy

There is a newer version: 2.25.6
Show newest version
package com.aliyun.datahub.model;

import java.util.ArrayList;
import java.util.List;

public class ListDataConnectorResult extends Result {
    private com.aliyun.datahub.client.model.ListConnectorResult proxyResult;

    public ListDataConnectorResult(com.aliyun.datahub.client.model.ListConnectorResult proxyResult) {
        this.proxyResult = proxyResult;
        setRequestId(proxyResult.getRequestId());
    }


    public ListDataConnectorResult() {
        proxyResult = new com.aliyun.datahub.client.model.ListConnectorResult();
    }

    public void setDataConnectors(List connectors) {
        proxyResult.setConnectorNames(connectors);
    }

    public void addDataConnector(String connector) {
        List connectorNames = proxyResult.getConnectorNames();
        if (connectorNames == null) {
            connectorNames = new ArrayList<>();
            proxyResult.setConnectorNames(connectorNames);
        }
        connectorNames.add(connector);
    }

    public List getDataConnectors() {
        return proxyResult.getConnectorNames();
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy