com.aliyun.datahub.client.model.ConnectorState Maven / Gradle / Ivy
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