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

com.aliyun.datahub.client.model.ConnectorState Maven / Gradle / Ivy

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

import com.fasterxml.jackson.annotation.JsonValue;

public enum ConnectorState {
    @Deprecated CREATED("CONNECTOR_CREATED"),
    @Deprecated PAUSED("CONNECTOR_PAUSED"),
    STOPPED("CONNECTOR_STOPPED"),
    RUNNING("CONNECTOR_RUNNING");

    ConnectorState(String value) {
        this.value = value;
    }

    private String value;

    @JsonValue
    public String getValue() {
        return value;
    }

    public static ConnectorState fromString(String text) {
        for (ConnectorState e : ConnectorState.values()) {
            if (e.value.equalsIgnoreCase(text)) {
                return e;
            }
        }
        return null;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy