Package com.okta.sdk.resource.model
Class ProfileEnrollmentPolicyRuleAction
java.lang.Object
com.okta.sdk.resource.model.ProfileEnrollmentPolicyRuleAction
- All Implemented Interfaces:
Serializable
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]",
comments="Generator version: 7.15.0")
public class ProfileEnrollmentPolicyRuleAction
extends Object
implements Serializable
ProfileEnrollmentPolicyRuleAction
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumIndicates if the user profile is granted access > **Note:** You can't set the `access` property to `DENY` after you create the policystatic enumProgressive profile enrollment helps evaluate the user profile policy at every user login.static enumWhich action should be taken if this user is new -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionactivationRequirements(ProfileEnrollmentPolicyRuleActivationRequirement activationRequirements) addallowedIdentifiersItem(String allowedIdentifiersItem) addenrollAuthenticatorTypesItem(String enrollAuthenticatorTypesItem) addpreRegistrationInlineHooksItem(PreRegistrationInlineHook preRegistrationInlineHooksItem) addprofileAttributesItem(ProfileEnrollmentPolicyRuleProfileAttribute profileAttributesItem) addtargetGroupIdsItem(String targetGroupIdsItem) allowedIdentifiers(List<String> allowedIdentifiers) enrollAuthenticatorTypes(List<String> enrollAuthenticatorTypes) booleanIndicates if the user profile is granted access > **Note:** You can't set the `access` property to `DENY` after you create the policyGet activationRequirementsA list of attributes to identify an end user.Additional authenticator fields that can be used on the first page of user registration.(Optional) The `id` of at most one registration inline hookA list of attributes to prompt the user for during registration or progressive profiling.Progressive profile enrollment helps evaluate the user profile policy at every user login.(Optional, max 1 entry) The `id` of a group that this user should be added toValue created by the backend.Which action should be taken if this user is newinthashCode()preRegistrationInlineHooks(List<PreRegistrationInlineHook> preRegistrationInlineHooks) profileAttributes(List<ProfileEnrollmentPolicyRuleProfileAttribute> profileAttributes) progressiveProfilingAction(ProfileEnrollmentPolicyRuleAction.ProgressiveProfilingActionEnum progressiveProfilingAction) voidvoidsetActivationRequirements(ProfileEnrollmentPolicyRuleActivationRequirement activationRequirements) voidsetAllowedIdentifiers(List<String> allowedIdentifiers) voidsetEnrollAuthenticatorTypes(List<String> enrollAuthenticatorTypes) voidsetPreRegistrationInlineHooks(List<PreRegistrationInlineHook> preRegistrationInlineHooks) voidsetProfileAttributes(List<ProfileEnrollmentPolicyRuleProfileAttribute> profileAttributes) voidsetProgressiveProfilingAction(ProfileEnrollmentPolicyRuleAction.ProgressiveProfilingActionEnum progressiveProfilingAction) voidsetTargetGroupIds(List<String> targetGroupIds) voidsetUiSchemaId(String uiSchemaId) voidsetUnknownUserAction(ProfileEnrollmentPolicyRuleAction.UnknownUserActionEnum unknownUserAction) targetGroupIds(List<String> targetGroupIds) toString()uiSchemaId(String uiSchemaId) unknownUserAction(ProfileEnrollmentPolicyRuleAction.UnknownUserActionEnum unknownUserAction)
-
Field Details
-
JSON_PROPERTY_ACCESS
- See Also:
-
JSON_PROPERTY_ACTIVATION_REQUIREMENTS
- See Also:
-
JSON_PROPERTY_ALLOWED_IDENTIFIERS
- See Also:
-
JSON_PROPERTY_ENROLL_AUTHENTICATOR_TYPES
- See Also:
-
JSON_PROPERTY_PRE_REGISTRATION_INLINE_HOOKS
- See Also:
-
JSON_PROPERTY_PROFILE_ATTRIBUTES
- See Also:
-
JSON_PROPERTY_PROGRESSIVE_PROFILING_ACTION
- See Also:
-
JSON_PROPERTY_TARGET_GROUP_IDS
- See Also:
-
JSON_PROPERTY_UI_SCHEMA_ID
- See Also:
-
JSON_PROPERTY_UNKNOWN_USER_ACTION
- See Also:
-
-
Constructor Details
-
ProfileEnrollmentPolicyRuleAction
public ProfileEnrollmentPolicyRuleAction()
-
-
Method Details
-
access
public ProfileEnrollmentPolicyRuleAction access(ProfileEnrollmentPolicyRuleAction.AccessEnum access) -
getAccess
Indicates if the user profile is granted access > **Note:** You can't set the `access` property to `DENY` after you create the policy- Returns:
- access
-
setAccess
-
activationRequirements
public ProfileEnrollmentPolicyRuleAction activationRequirements(ProfileEnrollmentPolicyRuleActivationRequirement activationRequirements) -
getActivationRequirements
Get activationRequirements- Returns:
- activationRequirements
-
setActivationRequirements
public void setActivationRequirements(ProfileEnrollmentPolicyRuleActivationRequirement activationRequirements) -
allowedIdentifiers
-
addallowedIdentifiersItem
-
getAllowedIdentifiers
A list of attributes to identify an end user. Can be used across Okta sign-in, unlock, and recovery flows.- Returns:
- allowedIdentifiers
-
setAllowedIdentifiers
-
enrollAuthenticatorTypes
public ProfileEnrollmentPolicyRuleAction enrollAuthenticatorTypes(List<String> enrollAuthenticatorTypes) -
addenrollAuthenticatorTypesItem
public ProfileEnrollmentPolicyRuleAction addenrollAuthenticatorTypesItem(String enrollAuthenticatorTypesItem) -
getEnrollAuthenticatorTypes
Additional authenticator fields that can be used on the first page of user registration. Valid values only includes `'password'`.- Returns:
- enrollAuthenticatorTypes
-
setEnrollAuthenticatorTypes
-
preRegistrationInlineHooks
public ProfileEnrollmentPolicyRuleAction preRegistrationInlineHooks(List<PreRegistrationInlineHook> preRegistrationInlineHooks) -
addpreRegistrationInlineHooksItem
public ProfileEnrollmentPolicyRuleAction addpreRegistrationInlineHooksItem(PreRegistrationInlineHook preRegistrationInlineHooksItem) -
getPreRegistrationInlineHooks
(Optional) The `id` of at most one registration inline hook- Returns:
- preRegistrationInlineHooks
-
setPreRegistrationInlineHooks
public void setPreRegistrationInlineHooks(List<PreRegistrationInlineHook> preRegistrationInlineHooks) -
profileAttributes
public ProfileEnrollmentPolicyRuleAction profileAttributes(List<ProfileEnrollmentPolicyRuleProfileAttribute> profileAttributes) -
addprofileAttributesItem
public ProfileEnrollmentPolicyRuleAction addprofileAttributesItem(ProfileEnrollmentPolicyRuleProfileAttribute profileAttributesItem) -
getProfileAttributes
A list of attributes to prompt the user for during registration or progressive profiling. Where defined on the user schema, these attributes are persisted in the user profile. You can also add non-schema attributes, which aren't persisted to the user's profile, but are included in requests to the registration inline hook. A maximum of 10 profile properties is supported.- Returns:
- profileAttributes
-
setProfileAttributes
public void setProfileAttributes(List<ProfileEnrollmentPolicyRuleProfileAttribute> profileAttributes) -
progressiveProfilingAction
public ProfileEnrollmentPolicyRuleAction progressiveProfilingAction(ProfileEnrollmentPolicyRuleAction.ProgressiveProfilingActionEnum progressiveProfilingAction) -
getProgressiveProfilingAction
@Nullable public ProfileEnrollmentPolicyRuleAction.ProgressiveProfilingActionEnum getProgressiveProfilingAction()Progressive profile enrollment helps evaluate the user profile policy at every user login. Users can be prompted to provide input for newly required attributes.- Returns:
- progressiveProfilingAction
-
setProgressiveProfilingAction
public void setProgressiveProfilingAction(ProfileEnrollmentPolicyRuleAction.ProgressiveProfilingActionEnum progressiveProfilingAction) -
targetGroupIds
-
addtargetGroupIdsItem
-
getTargetGroupIds
(Optional, max 1 entry) The `id` of a group that this user should be added to- Returns:
- targetGroupIds
-
setTargetGroupIds
-
uiSchemaId
-
getUiSchemaId
Value created by the backend. If present, all policy updates must include this attribute/value.- Returns:
- uiSchemaId
-
setUiSchemaId
-
unknownUserAction
public ProfileEnrollmentPolicyRuleAction unknownUserAction(ProfileEnrollmentPolicyRuleAction.UnknownUserActionEnum unknownUserAction) -
getUnknownUserAction
Which action should be taken if this user is new- Returns:
- unknownUserAction
-
setUnknownUserAction
public void setUnknownUserAction(ProfileEnrollmentPolicyRuleAction.UnknownUserActionEnum unknownUserAction) -
equals
-
hashCode
public int hashCode() -
toString
-