com.azure.resourcemanager.security.models.State Maven / Gradle / Ivy
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.security.models;
import com.azure.core.util.ExpandableStringEnum;
import java.util.Collection;
/**
* Aggregative state based on the standard's supported controls states.
*/
public final class State extends ExpandableStringEnum {
/**
* Static value Passed for State.
*/
public static final State PASSED = fromString("Passed");
/**
* Static value Failed for State.
*/
public static final State FAILED = fromString("Failed");
/**
* Static value Skipped for State.
*/
public static final State SKIPPED = fromString("Skipped");
/**
* Static value Unsupported for State.
*/
public static final State UNSUPPORTED = fromString("Unsupported");
/**
* Creates a new instance of State value.
*
* @deprecated Use the {@link #fromString(String)} factory method.
*/
@Deprecated
public State() {
}
/**
* Creates or finds a State from its string representation.
*
* @param name a name to look for.
* @return the corresponding State.
*/
public static State fromString(String name) {
return fromString(name, State.class);
}
/**
* Gets known State values.
*
* @return known State values.
*/
public static Collection values() {
return values(State.class);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy