Enum SchemaAttributes.Uniqueness
- java.lang.Object
-
- java.lang.Enum<SchemaAttributes.Uniqueness>
-
- com.oracle.bmc.identitydomains.model.SchemaAttributes.Uniqueness
-
- All Implemented Interfaces:
BmcEnum
,Serializable
,Comparable<SchemaAttributes.Uniqueness>
- Enclosing class:
- SchemaAttributes
public static enum SchemaAttributes.Uniqueness extends Enum<SchemaAttributes.Uniqueness> implements BmcEnum
A single keyword value that specifies how the Service Provider enforces uniqueness of attribute values.A server MAY reject an invalid value based on uniqueness by returning an HTTP response code of 400 (Bad Request). A client MAY enforce uniqueness on the client side to a greater degree than the Service Provider enforces. For example, a client could make a value unique while the server has the uniqueness of \“none\”.
*SCIM++ Properties:** - caseExact: true - multiValued: false - required: false - returned: default - type: string - uniqueness: none
-
-
Enum Constant Summary
Enum Constants Enum Constant Description Global
None
Server
UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static SchemaAttributes.Uniqueness
create(String key)
String
getValue()
static SchemaAttributes.Uniqueness
valueOf(String name)
Returns the enum constant of this type with the specified name.static SchemaAttributes.Uniqueness[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
None
public static final SchemaAttributes.Uniqueness None
-
Server
public static final SchemaAttributes.Uniqueness Server
-
Global
public static final SchemaAttributes.Uniqueness Global
-
UnknownEnumValue
public static final SchemaAttributes.Uniqueness UnknownEnumValue
This value is used if a service returns a value for this enum that is not recognized by this version of the SDK.
-
-
Method Detail
-
values
public static SchemaAttributes.Uniqueness[] 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 (SchemaAttributes.Uniqueness c : SchemaAttributes.Uniqueness.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaAttributes.Uniqueness 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
-
create
public static SchemaAttributes.Uniqueness create(String key)
-
-