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="2024-09-23T16:19:57.008753975Z[Etc/UTC]",
comments="Generator version: 7.8.0")
public class ProfileEnrollmentPolicyRuleAction
extends Object
implements Serializable
ProfileEnrollmentPolicyRuleAction
- See Also:
-
Nested Class Summary
Modifier and TypeClassDescriptionstatic enum
**Note:** The Profile Enrollment Action object can't be modified to set the `access` property to `DENY` after the policy is created.static enum
Progressive profile enrollment helps evaluate the profile enrollment policy at every user login.static enum
Which action should be taken if this User is new -
Field Summary
-
Constructor Summary
-
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) boolean
**Note:** The Profile Enrollment Action object can't be modified to set the `access` property to `DENY` after the policy is created.Get activationRequirements<x-lifecycle class=\"ea\"></x-lifecycle> A 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 during registration or progressive profiling.Progressive profile enrollment helps evaluate the profile enrollment 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 newint
hashCode()
preRegistrationInlineHooks
(List<PreRegistrationInlineHook> preRegistrationInlineHooks) profileAttributes
(List<ProfileEnrollmentPolicyRuleProfileAttribute> profileAttributes) progressiveProfilingAction
(ProfileEnrollmentPolicyRuleAction.ProgressiveProfilingActionEnum progressiveProfilingAction) void
void
setActivationRequirements
(ProfileEnrollmentPolicyRuleActivationRequirement activationRequirements) void
setAllowedIdentifiers
(List<String> allowedIdentifiers) void
setEnrollAuthenticatorTypes
(List<String> enrollAuthenticatorTypes) void
setPreRegistrationInlineHooks
(List<PreRegistrationInlineHook> preRegistrationInlineHooks) void
setProfileAttributes
(List<ProfileEnrollmentPolicyRuleProfileAttribute> profileAttributes) void
setProgressiveProfilingAction
(ProfileEnrollmentPolicyRuleAction.ProgressiveProfilingActionEnum progressiveProfilingAction) void
setTargetGroupIds
(List<String> targetGroupIds) void
setUiSchemaId
(String uiSchemaId) void
setUnknownUserAction
(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
**Note:** The Profile Enrollment Action object can't be modified to set the `access` property to `DENY` after the policy is created.- Returns:
- access
-
setAccess
-
activationRequirements
public ProfileEnrollmentPolicyRuleAction activationRequirements(ProfileEnrollmentPolicyRuleActivationRequirement activationRequirements) -
getActivationRequirements
Get activationRequirements- Returns:
- activationRequirements
-
setActivationRequirements
public void setActivationRequirements(ProfileEnrollmentPolicyRuleActivationRequirement activationRequirements) -
allowedIdentifiers
-
addallowedIdentifiersItem
-
getAllowedIdentifiers
<x-lifecycle class=\"ea\"></x-lifecycle> 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 during registration or progressive profiling. Where defined on the User schema, these attributes are persisted in the User profile. Non-schema attributes can also be added, 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 profile enrollment 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
-