Sha256: 1b5df62225176e28a480146728b008477d2b75b6bf1e60029ad8578d2e0d9ee2
Contents?: true
Size: 827 Bytes
Versions: 14
Compression:
Stored size: 827 Bytes
Contents
package org.embulk.output.redshift; import com.fasterxml.jackson.annotation.JsonCreator; import com.fasterxml.jackson.annotation.JsonValue; import org.embulk.config.ConfigException; public enum Ssl { ENABLE, DISABLE, VERIFY; @JsonValue @Override public String toString() { return this.name().toLowerCase(); } @JsonCreator public static Ssl fromString(String value) { switch(value) { case "enable": case "true": return ENABLE; case "disable": case "false": return DISABLE; case "verify": return VERIFY; default: throw new ConfigException(String.format("Unknown SSL value '%s'. Supported values are enable, true, disable, false or verify.", value)); } } }
Version data entries
14 entries across 14 versions & 1 rubygems