com.microsoft.graph.beta.generated.models.SecurityBaselineComplianceState Maven / Gradle / Ivy
package com.microsoft.graph.beta.models;
import com.microsoft.kiota.serialization.ValuedEnum;
import java.util.Objects;
/**
* Security Baseline Compliance State
*/
@jakarta.annotation.Generated("com.microsoft.kiota")
public enum SecurityBaselineComplianceState implements ValuedEnum {
/** Unknown state */
Unknown("unknown"),
/** Secure state */
Secure("secure"),
/** Not applicable state */
NotApplicable("notApplicable"),
/** Not secure state */
NotSecure("notSecure"),
/** Error state */
Error("error"),
/** Conflict state */
Conflict("conflict");
public final String value;
SecurityBaselineComplianceState(final String value) {
this.value = value;
}
@jakarta.annotation.Nonnull
public String getValue() { return this.value; }
@jakarta.annotation.Nullable
public static SecurityBaselineComplianceState forValue(@jakarta.annotation.Nonnull final String searchValue) {
Objects.requireNonNull(searchValue);
switch(searchValue) {
case "unknown": return Unknown;
case "secure": return Secure;
case "notApplicable": return NotApplicable;
case "notSecure": return NotSecure;
case "error": return Error;
case "conflict": return Conflict;
default: return null;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy