Class SettingsTenantCustomClaims.Builder
- java.lang.Object
-
- com.oracle.bmc.identitydomains.model.SettingsTenantCustomClaims.Builder
-
- Enclosing class:
- SettingsTenantCustomClaims
public static class SettingsTenantCustomClaims.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SettingsTenantCustomClaims.Builder
allScopes(Boolean allScopes)
Indicates if the custom claim is associated with all scopesSettingsTenantCustomClaims
build()
SettingsTenantCustomClaims.Builder
copy(SettingsTenantCustomClaims model)
SettingsTenantCustomClaims.Builder
expression(Boolean expression)
Indicates if the custom claim is an expressionSettingsTenantCustomClaims.Builder
mode(SettingsTenantCustomClaims.Mode mode)
Indicates under what scenario the custom claim will be returnSettingsTenantCustomClaims.Builder
name(String name)
Custom claim nameSettingsTenantCustomClaims.Builder
scopes(List<String> scopes)
Scopes associated with a specific custom claimSettingsTenantCustomClaims.Builder
tokenType(SettingsTenantCustomClaims.TokenType tokenType)
Indicates what type of token the custom claim will be embeddedSettingsTenantCustomClaims.Builder
value(String value)
Custom claim value
-
-
-
Method Detail
-
name
public SettingsTenantCustomClaims.Builder name(String name)
Custom claim name*Added In:** 18.4.2
*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: server
- Parameters:
name
- the value to set- Returns:
- this builder
-
value
public SettingsTenantCustomClaims.Builder value(String value)
Custom claim value*Added In:** 18.4.2
*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none
- Parameters:
value
- the value to set- Returns:
- this builder
-
mode
public SettingsTenantCustomClaims.Builder mode(SettingsTenantCustomClaims.Mode mode)
Indicates under what scenario the custom claim will be return*Added In:** 18.4.2
*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none
- Parameters:
mode
- the value to set- Returns:
- this builder
-
expression
public SettingsTenantCustomClaims.Builder expression(Boolean expression)
Indicates if the custom claim is an expression*Added In:** 18.4.2
*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: true - returned: default - type: boolean - uniqueness: none
- Parameters:
expression
- the value to set- Returns:
- this builder
-
allScopes
public SettingsTenantCustomClaims.Builder allScopes(Boolean allScopes)
Indicates if the custom claim is associated with all scopes*Added In:** 18.4.2
*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: true - returned: default - type: boolean - uniqueness: none
- Parameters:
allScopes
- the value to set- Returns:
- this builder
-
tokenType
public SettingsTenantCustomClaims.Builder tokenType(SettingsTenantCustomClaims.TokenType tokenType)
Indicates what type of token the custom claim will be embedded*Added In:** 18.4.2
*SCIM++ Properties:** - multiValued: false - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none
- Parameters:
tokenType
- the value to set- Returns:
- this builder
-
scopes
public SettingsTenantCustomClaims.Builder scopes(List<String> scopes)
Scopes associated with a specific custom claim*Added In:** 18.4.2
*SCIM++ Properties:** - multiValued: true - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
- Parameters:
scopes
- the value to set- Returns:
- this builder
-
build
public SettingsTenantCustomClaims build()
-
copy
public SettingsTenantCustomClaims.Builder copy(SettingsTenantCustomClaims model)
-
-