Package org.ovirt.engine.sdk4.types
Enum FipsMode
- java.lang.Object
-
- java.lang.Enum<FipsMode>
-
- org.ovirt.engine.sdk4.types.FipsMode
-
- All Implemented Interfaces:
Serializable
,Comparable<FipsMode>
public enum FipsMode extends Enum<FipsMode>
Representation of the FIPS mode to the cluster.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FipsMode
fromValue(String value)
String
value()
static FipsMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static FipsMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final FipsMode DISABLED
The FIPS mode is disabled. Its implication is that the FIPS mode is disabled and the hosts within should be with FIPS mode disabled, otherwise they would be non-operational.
-
ENABLED
public static final FipsMode ENABLED
The FIPS mode is enabled. Its implication is that the FIPS mode is enabled and the hosts within should be with FIPS mode enabled, otherwise they should be non-operational.
-
UNDEFINED
public static final FipsMode UNDEFINED
The FIPS mode is not yet evaluated. Currently, its implication is that the FIPS mode is undetermined. Once a host is added, this value will switch according to the host settings.
-
-
Method Detail
-
values
public static FipsMode[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (FipsMode c : FipsMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FipsMode valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public String value()
-
-