com.atlan.model.enums.MongoDBCollectionValidationAction Maven / Gradle / Ivy
// Generated by delombok at Thu Oct 10 18:56:33 UTC 2024
/* SPDX-License-Identifier: Apache-2.0
Copyright 2022 Atlan Pte. Ltd. */
package com.atlan.model.enums;
import com.fasterxml.jackson.annotation.JsonValue;
import javax.annotation.processing.Generated;
@Generated("com.atlan.generators.ModelGeneratorV2")
public enum MongoDBCollectionValidationAction implements AtlanEnum {
ERROR("ERROR"), WARN("WARN");
@JsonValue
private final String value;
MongoDBCollectionValidationAction(String value) {
this.value = value;
}
public static MongoDBCollectionValidationAction fromValue(String value) {
for (MongoDBCollectionValidationAction b : MongoDBCollectionValidationAction.values()) {
if (b.value.equals(value)) {
return b;
}
}
return null;
}
@Override
@java.lang.SuppressWarnings("all")
@lombok.Generated
public String getValue() {
return this.value;
}
}