Class ScimSchema.Builder
java.lang.Object
com.revetsec.scim.ScimSchema.Builder
- Enclosing class:
ScimSchema
Mutable, non-thread-safe schema configuration. Null restores the stated default.
- Since:
- 1.0.0
-
Method Summary
Modifier and TypeMethodDescriptionReplaces and snapshots the complete bounded definition list; null restores empty.build()Checks application-resource characteristics and creates an immutable schema.description(@Nullable String value) Sets the optional description; null restores absent.Sets the required schema name; null restores unset.
-
Method Details
-
name
Sets the required schema name; null restores unset.- Parameters:
value- the name, or null to restore unset- Returns:
- this builder
- Since:
- 1.0.0
-
description
Sets the optional description; null restores absent.- Parameters:
value- the description, or null to restore absent- Returns:
- this builder
- Since:
- 1.0.0
-
attributes
public @NonNull ScimSchema.Builder attributes(@Nullable List<@NonNull ScimAttributeDefinition> value) Replaces and snapshots the complete bounded definition list; null restores empty.- Parameters:
value- definitions, or null to restore empty- Returns:
- this builder
- Since:
- 1.0.0
-
build
Checks application-resource characteristics and creates an immutable schema.- Returns:
- the schema
- Since:
- 1.0.0
-