Class MyDevice.Builder
- java.lang.Object
-
- com.oracle.bmc.identitydomains.model.MyDevice.Builder
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description MyDevice.Builder
additionalAttributes(List<MyDeviceAdditionalAttributes> additionalAttributes)
Device additional attributesMyDevice.Builder
appVersion(String appVersion)
Mobile Authenticator App VersionMyDevice.Builder
authenticationFactors(List<MyDeviceAuthenticationFactors> authenticationFactors)
Authentication FactorsMyDevice.Builder
authenticationMethod(String authenticationMethod)
Authentication method used in device.MyDevice.Builder
basePublicKey(String basePublicKey)
Device base public KeyMyDevice
build()
MyDevice.Builder
compartmentOcid(String compartmentOcid)
OCI Compartment Id (ocid) in which the resource lives.MyDevice.Builder
copy(MyDevice model)
MyDevice.Builder
countryCode(String countryCode)
Country code of user’s Phone NumberMyDevice.Builder
deleteInProgress(Boolean deleteInProgress)
A boolean flag indicating this resource in the process of being deleted.MyDevice.Builder
deviceType(String deviceType)
Device hardware name/modelMyDevice.Builder
deviceUUID(String deviceUUID)
Unique id sent from deviceMyDevice.Builder
displayName(String displayName)
Device friendly display nameMyDevice.Builder
domainOcid(String domainOcid)
OCI Domain Id (ocid) in which the resource lives.MyDevice.Builder
expiresOn(Integer expiresOn)
Attribute added for replication log, it is not used by IDCS, just added as place holderMyDevice.Builder
externalId(String externalId)
An identifier for the Resource as defined by the Service Consumer.MyDevice.Builder
id(String id)
Unique identifier for the SCIM Resource as defined by the Service Provider.MyDevice.Builder
idcsCreatedBy(IdcsCreatedBy idcsCreatedBy)
MyDevice.Builder
idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy)
MyDevice.Builder
idcsLastUpgradedInRelease(String idcsLastUpgradedInRelease)
The release number when the resource was upgraded.MyDevice.Builder
idcsPreventedOperations(List<IdcsPreventedOperations> idcsPreventedOperations)
Each value of this attribute specifies an operation that only an internal client may perform on this particular resource.MyDevice.Builder
isAccRecEnabled(Boolean isAccRecEnabled)
Flag that indicates whether the device is enrolled for account recoveryMyDevice.Builder
isCompliant(Boolean isCompliant)
Device Compliance StatusMyDevice.Builder
lastSyncTime(String lastSyncTime)
Last Sync time for deviceMyDevice.Builder
lastValidatedTime(String lastValidatedTime)
The most recent timestamp when the device was successfully validated using one time passcodeMyDevice.Builder
meta(Meta meta)
MyDevice.Builder
nonCompliances(List<MyDeviceNonCompliances> nonCompliances)
Device Non CompliancesMyDevice.Builder
ocid(String ocid)
Unique OCI identifier for the SCIM Resource.MyDevice.Builder
packageId(String packageId)
Mobile Authenticator App Package IdMyDevice.Builder
phoneNumber(String phoneNumber)
User’s Phone NumberMyDevice.Builder
platform(MyDevice.Platform platform)
Device PlatformMyDevice.Builder
pushNotificationTarget(MyDevicePushNotificationTarget pushNotificationTarget)
MyDevice.Builder
reason(String reason)
Additional comments/reasons for the change in device statusMyDevice.Builder
schemas(List<String> schemas)
REQUIRED.MyDevice.Builder
seed(String seed)
Attribute added for replication log, it is not used by IDCS, it is actual encrypted TOTP seed for the userMyDevice.Builder
seedDekId(String seedDekId)
Attribute added for replication log, it is not used by IDCS, the DEK that encrypts the specific seed for that userMyDevice.Builder
status(MyDevice.Status status)
Device StatusMyDevice.Builder
tags(List<Tags> tags)
A list of tags on this resource.MyDevice.Builder
tenancyOcid(String tenancyOcid)
OCI Tenant Id (ocid) in which the resource lives.MyDevice.Builder
thirdPartyFactor(MyDeviceThirdPartyFactor thirdPartyFactor)
MyDevice.Builder
user(MyDeviceUser user)
-
-
-
Method Detail
-
id
public MyDevice.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 MyDevice.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 MyDevice.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 MyDevice.Builder meta(Meta meta)
-
idcsCreatedBy
public MyDevice.Builder idcsCreatedBy(IdcsCreatedBy idcsCreatedBy)
-
idcsLastModifiedBy
public MyDevice.Builder idcsLastModifiedBy(IdcsLastModifiedBy idcsLastModifiedBy)
-
idcsPreventedOperations
public MyDevice.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 MyDevice.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 MyDevice.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 MyDevice.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 MyDevice.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 MyDevice.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 MyDevice.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 MyDevice.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 be 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
-
displayName
public MyDevice.Builder displayName(String displayName)
Device friendly display name*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true
- Parameters:
displayName
- the value to set- Returns:
- this builder
-
platform
public MyDevice.Builder platform(MyDevice.Platform platform)
Device Platform*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: default - type: string - uniqueness: none
- Parameters:
platform
- the value to set- Returns:
- this builder
-
status
public MyDevice.Builder status(MyDevice.Status status)
Device Status*SCIM++ Properties:** - caseExact: false - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true
- Parameters:
status
- the value to set- Returns:
- this builder
-
reason
public MyDevice.Builder reason(String reason)
Additional comments/reasons for the change in device status*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
- Parameters:
reason
- the value to set- Returns:
- this builder
-
deviceType
public MyDevice.Builder deviceType(String deviceType)
Device hardware name/model*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true
- Parameters:
deviceType
- the value to set- Returns:
- this builder
-
appVersion
public MyDevice.Builder appVersion(String appVersion)
Mobile Authenticator App Version*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true
- Parameters:
appVersion
- the value to set- Returns:
- this builder
-
packageId
public MyDevice.Builder packageId(String packageId)
Mobile Authenticator App Package Id*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true
- Parameters:
packageId
- the value to set- Returns:
- this builder
-
lastSyncTime
public MyDevice.Builder lastSyncTime(String lastSyncTime)
Last Sync time for device*SCIM++ Properties:** - idcsSearchable: true - multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: default - type: dateTime - uniqueness: none
- Parameters:
lastSyncTime
- the value to set- Returns:
- this builder
-
lastValidatedTime
public MyDevice.Builder lastValidatedTime(String lastValidatedTime)
The most recent timestamp when the device was successfully validated using one time passcode*Added In:** 17.3.6
*SCIM++ Properties:** - idcsSearchable: false - idcsAllowUpdatesInReadOnlyMode: true - multiValued: false - mutability: readWrite - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true - required: false - returned: default - type: dateTime - uniqueness: none
- Parameters:
lastValidatedTime
- the value to set- Returns:
- this builder
-
isCompliant
public MyDevice.Builder isCompliant(Boolean isCompliant)
Device Compliance Status*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readOnly - required: false - returned: default - type: boolean - uniqueness: none
- Parameters:
isCompliant
- the value to set- Returns:
- this builder
-
countryCode
public MyDevice.Builder countryCode(String countryCode)
Country code of user’s Phone Number*Added In:** 19.1.4
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable - required: false - returned: default - type: string - uniqueness: none - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true
- Parameters:
countryCode
- the value to set- Returns:
- this builder
-
phoneNumber
public MyDevice.Builder phoneNumber(String phoneNumber)
User’s Phone Number*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: immutable - required: false - returned: default - type: string - uniqueness: none - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true
- Parameters:
phoneNumber
- the value to set- Returns:
- this builder
-
isAccRecEnabled
public MyDevice.Builder isAccRecEnabled(Boolean isAccRecEnabled)
Flag that indicates whether the device is enrolled for account recovery*SCIM++ Properties:** - caseExact: true - idcsSearchable: true - multiValued: false - mutability: readWrite - required: false - returned: default - type: boolean - uniqueness: none - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true
- Parameters:
isAccRecEnabled
- the value to set- Returns:
- this builder
-
deviceUUID
public MyDevice.Builder deviceUUID(String deviceUUID)
Unique id sent from device*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true
- Parameters:
deviceUUID
- the value to set- Returns:
- this builder
-
basePublicKey
public MyDevice.Builder basePublicKey(String basePublicKey)
Device base public Key*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readOnly - required: false - returned: default - type: string - uniqueness: none - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true
- Parameters:
basePublicKey
- the value to set- Returns:
- this builder
-
authenticationMethod
public MyDevice.Builder authenticationMethod(String authenticationMethod)
Authentication method used in device.For FIDO, it will contain SECURITY_KEY/WINDOWS_HELLO etc
*Added In:** 2009232244
*SCIM++ Properties:** - idcsSearchable: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none - idcsRequiresWriteForAccessFlows: true - idcsRequiresImmediateReadAfterWriteForAccessFlows: true
- Parameters:
authenticationMethod
- the value to set- Returns:
- this builder
-
expiresOn
public MyDevice.Builder expiresOn(Integer expiresOn)
Attribute added for replication log, it is not used by IDCS, just added as place holder*Added In:** 2111040242
*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: integer - uniqueness: none
- Parameters:
expiresOn
- the value to set- Returns:
- this builder
-
seedDekId
public MyDevice.Builder seedDekId(String seedDekId)
Attribute added for replication log, it is not used by IDCS, the DEK that encrypts the specific seed for that user*Added In:** 2111040242
*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
- Parameters:
seedDekId
- the value to set- Returns:
- this builder
-
seed
public MyDevice.Builder seed(String seed)
Attribute added for replication log, it is not used by IDCS, it is actual encrypted TOTP seed for the user*Added In:** 2111040242
*SCIM++ Properties:** - caseExact: false - multiValued: false - mutability: readWrite - required: false - returned: default - type: string - uniqueness: none
- Parameters:
seed
- the value to set- Returns:
- this builder
-
thirdPartyFactor
public MyDevice.Builder thirdPartyFactor(MyDeviceThirdPartyFactor thirdPartyFactor)
-
user
public MyDevice.Builder user(MyDeviceUser user)
-
pushNotificationTarget
public MyDevice.Builder pushNotificationTarget(MyDevicePushNotificationTarget pushNotificationTarget)
-
additionalAttributes
public MyDevice.Builder additionalAttributes(List<MyDeviceAdditionalAttributes> additionalAttributes)
Device additional attributes*SCIM++ Properties:** - idcsCompositeKey: [key, value] - idcsSearchable: false - multiValued: true - mutability: readOnly - required: false - returned: default - type: complex
- Parameters:
additionalAttributes
- the value to set- Returns:
- this builder
-
authenticationFactors
public MyDevice.Builder authenticationFactors(List<MyDeviceAuthenticationFactors> authenticationFactors)
Authentication Factors*SCIM++ Properties:** - caseExact: true - idcsCompositeKey: [type] - idcsSearchable: true - multiValued: true - mutability: readWrite - required: true - returned: default - type: complex
- Parameters:
authenticationFactors
- the value to set- Returns:
- this builder
-
nonCompliances
public MyDevice.Builder nonCompliances(List<MyDeviceNonCompliances> nonCompliances)
Device Non Compliances*SCIM++ Properties:** - idcsCompositeKey: [name, value] - idcsSearchable: false - multiValued: true - mutability: readOnly - required: false - returned: default - type: complex
- Parameters:
nonCompliances
- the value to set- Returns:
- this builder
-
build
public MyDevice build()
-
copy
public MyDevice.Builder copy(MyDevice model)
-
-