Class IdentitySetting.Builder
- java.lang.Object
-
- com.oracle.bmc.identitydomains.model.IdentitySetting.Builder
-
- Enclosing class:
- IdentitySetting
public static class IdentitySetting.Builder extends Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description IdentitySetting
build()
IdentitySetting.Builder
compartmentOcid(String compartmentOcid)
OCI Compartment Id (ocid) in which the resource lives.IdentitySetting.Builder
copy(IdentitySetting model)
IdentitySetting.Builder
deleteInProgress(Boolean deleteInProgress)
A boolean flag indicating this resource in the process of being deleted.IdentitySetting.Builder
domainOcid(String domainOcid)
OCI Domain Id (ocid) in which the resource lives.IdentitySetting.Builder
emitLockedMessageWhenUserIsLocked(Boolean emitLockedMessageWhenUserIsLocked)
Indicates whether to show the ‘user-is-locked’ message during authentication if the user is already locked.IdentitySetting.Builder
externalId(String externalId)
An identifier for the Resource as defined by the Service Consumer.IdentitySetting.Builder
id(String id)
Unique identifier for the SCIM Resource as defined by the Service Provider.IdentitySetting.Builder
idcsCreatedBy(IdcsCreatedBy idcsCreatedBy)
IdentitySetting.Builder
idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy)
IdentitySetting.Builder
idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease)
The release number when the resource was upgraded.IdentitySetting.Builder
idcsPreventedOperations(List<IdcsPreventedOperations> idcsPreventedOperations)
Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.IdentitySetting.Builder
meta(Meta meta)
IdentitySetting.Builder
myProfile(IdentitySettingsMyProfile myProfile)
IdentitySetting.Builder
ocid(String ocid)
Unique OCI identifier for the SCIM Resource.IdentitySetting.Builder
pOSIXGid(IdentitySettingsPOSIXGid pOSIXGid)
IdentitySetting.Builder
pOSIXUid(IdentitySettingsPOSIXUid pOSIXUid)
IdentitySetting.Builder
primaryEmailRequired(Boolean primaryEmailRequired)
Indicates whether the primary email is required.IdentitySetting.Builder
removeInvalidEmails(Boolean removeInvalidEmails)
Indicates whether to remove non-RFC5322 compliant emails before creating a user.IdentitySetting.Builder
returnInactiveOverLockedMessage(Boolean returnInactiveOverLockedMessage)
Added In: 2302092332IdentitySetting.Builder
schemas(List<String> schemas)
REQUIRED.IdentitySetting.Builder
tags(List<Tags> tags)
A list of tags on this resource.IdentitySetting.Builder
tenancyOcid(String tenancyOcid)
OCI Tenant Id (ocid) in which the resource lives.IdentitySetting.Builder
tokens(List<IdentitySettingsTokens> tokens)
A list of tokens and their expiry length.IdentitySetting.Builder
userAllowedToSetRecoveryEmail(Boolean userAllowedToSetRecoveryEmail)
Indicates whether a user is allowed to change their own recovery email.
-
-
-
Method Detail
-
id
public IdentitySetting.Builder id(String id)
Unique identifier for the SCIM Resource as defined by the Service Provider.Each representation of the Resource MUST include a non-empty id value. This identifier MUST be unique across the Service Provider’s entire set of Resources. It MUST be a stable, non-reassignable identifier that does not change when the same Resource is returned in subsequent requests. The value of the id attribute is always issued by the Service Provider and MUST never be specified by the Service Consumer. bulkId: is a reserved keyword and MUST NOT be used in the unique identifier.
*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: always - type: string - uniqueness: global
- Parameters:
id
- the value to set- Returns:
- this builder
-
ocid
public IdentitySetting.Builder ocid(String ocid)
Unique OCI identifier for the SCIM Resource.*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: immutable - required: false - returned: default - type: string - uniqueness: global
- Parameters:
ocid
- the value to set- Returns:
- this builder
-
schemas
public IdentitySetting.Builder schemas(List<String> schemas)
REQUIRED.The schemas attribute is an array of Strings which allows introspection of the supported schema version for a SCIM representation as well any schema extensions supported by that representation. Each String value must be a unique URI. This specification defines URIs for User, Group, and a standard \“enterprise\” extension. All representations of SCIM schema MUST include a non-zero value array with value(s) of the URIs supported by that representation. Duplicate values MUST NOT be included. Value order is not specified and MUST not impact behavior.
*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: true - mutability: readWrite - required: true - returned: default - type: string - uniqueness: none
- Parameters:
schemas
- the value to set- Returns:
- this builder
-
meta
public IdentitySetting.Builder meta(Meta meta)
-
idcsCreatedBy
public IdentitySetting.Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy)
-
idcsLastModifiedBy
public IdentitySetting.Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy)
-
idcsPreventedOperations
public IdentitySetting.Builder idcsPreventedOperations(List<IdcsPreventedOperations> idcsPreventedOperations)
Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.*SCIM++ Properties:** - idcsSearchable: false - multiValued: true - mutability: readOnly - required: false - returned: request - type: string - uniqueness: none
- Parameters:
idcsPreventedOperations
- the value to set- Returns:
- this builder
-
tags
public IdentitySetting.Builder tags(List<Tags> tags)
A list of tags on this resource.*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: true - multiValued: true - mutability: readWrite - required: false - returned: request - type: complex - uniqueness: none
- Parameters:
tags
- the value to set- Returns:
- this builder
-
deleteInProgress
public IdentitySetting.Builder deleteInProgress(Boolean deleteInProgress)
A boolean flag indicating this resource in the process of being deleted.Usually set to true when synchronous deletion of the resource would take too long.
*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none
- Parameters:
deleteInProgress
- the value to set- Returns:
- this builder
-
idcsLastUpgradedInRelease
public IdentitySetting.Builder idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease)
The release number when the resource was upgraded.*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: request - type: string - uniqueness: none
- Parameters:
idcsLastUpgradedInRelease
- the value to set- Returns:
- this builder
-
domainOcid
public IdentitySetting.Builder domainOcid(String domainOcid)
OCI Domain Id (ocid) in which the resource lives.*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none
- Parameters:
domainOcid
- the value to set- Returns:
- this builder
-
compartmentOcid
public IdentitySetting.Builder compartmentOcid(String compartmentOcid)
OCI Compartment Id (ocid) in which the resource lives.*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none
- Parameters:
compartmentOcid
- the value to set- Returns:
- this builder
-
tenancyOcid
public IdentitySetting.Builder tenancyOcid(String tenancyOcid)
OCI Tenant Id (ocid) in which the resource lives.*SCIM++ Properties:** - caseExact: false - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none
- Parameters:
tenancyOcid
- the value to set- Returns:
- this builder
-
externalId
public IdentitySetting.Builder externalId(String externalId)
An identifier for the Resource as defined by the Service Consumer.The externalId may simplify identification of the Resource between Service Consumer and Service Provider by allowing the Consumer to refer to the Resource with its own identifier, obviating the need to store a local mapping between the local identifier of the Resource and the identifier used by the Service Provider. Each Resource MAY include a non-empty externalId value. The value of the externalId attribute is always issued by the Service Consumer and can never be specified by the Service Provider. The Service Provider MUST always interpret the externalId as scoped to the Service Consumer’s tenant.
*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
- Parameters:
externalId
- the value to set- Returns:
- this builder
-
userAllowedToSetRecoveryEmail
public IdentitySetting.Builder userAllowedToSetRecoveryEmail(Boolean userAllowedToSetRecoveryEmail)
Indicates whether a user is allowed to change their own recovery email.*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none
- Parameters:
userAllowedToSetRecoveryEmail
- the value to set- Returns:
- this builder
-
emitLockedMessageWhenUserIsLocked
public IdentitySetting.Builder emitLockedMessageWhenUserIsLocked(Boolean emitLockedMessageWhenUserIsLocked)
Indicates whether to show the ‘user-is-locked’ message during authentication if the user is already locked.The default value is false, which tells the system to show a generic ‘authentication-failure’ message. This is the most secure behavior. If the option is set to true, the system shows a more detailed ‘error-message’ that says the user is locked. This is more helpful but is less secure, for example, because the difference in error-messages could be used to determine which usernames exist and which do not.
*Added In:** 19.2.1
*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none
- Parameters:
emitLockedMessageWhenUserIsLocked
- the value to set- Returns:
- this builder
-
primaryEmailRequired
public IdentitySetting.Builder primaryEmailRequired(Boolean primaryEmailRequired)
Indicates whether the primary email is required.*Added In:** 19.1.4
*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none
- Parameters:
primaryEmailRequired
- the value to set- Returns:
- this builder
-
removeInvalidEmails
public IdentitySetting.Builder removeInvalidEmails(Boolean removeInvalidEmails)
Indicates whether to remove non-RFC5322 compliant emails before creating a user.*Added In:** 2106170416
*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none
- Parameters:
removeInvalidEmails
- the value to set- Returns:
- this builder
-
returnInactiveOverLockedMessage
public IdentitySetting.Builder returnInactiveOverLockedMessage(Boolean returnInactiveOverLockedMessage)
Added In: 2302092332*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none Determines the PasswordAuthenticator API response when a user is both 'locked' and 'inactive.' If false (default), a 'locked' message is shown. If true, an 'inactive' message is shown.
- Parameters:
returnInactiveOverLockedMessage
- the value to set- Returns:
- this builder
-
myProfile
public IdentitySetting.Builder myProfile(IdentitySettingsMyProfile myProfile)
-
pOSIXUid
public IdentitySetting.Builder pOSIXUid(IdentitySettingsPOSIXUid pOSIXUid)
-
pOSIXGid
public IdentitySetting.Builder pOSIXGid(IdentitySettingsPOSIXGid pOSIXGid)
-
tokens
public IdentitySetting.Builder tokens(List<IdentitySettingsTokens> tokens)
A list of tokens and their expiry length.*SCIM++ Properties:** - caseExact: false - idcsCompositeKey: [type] - multiValued: true - required: false - type: complex - uniqueness: none
- Parameters:
tokens
- the value to set- Returns:
- this builder
-
build
public IdentitySetting build()
-
copy
public IdentitySetting.Builder copy(IdentitySetting model)
-
-