Interface PolicyRule

    • Method Detail

      • getCreated

        java.util.Date getCreated()
      • getId

        java.lang.String getId()
      • getLastUpdated

        java.util.Date getLastUpdated()
      • getName

        java.lang.String getName()
      • setName

        PolicyRule setName​(java.lang.String name)
      • getPriority

        java.lang.Integer getPriority()
      • setPriority

        PolicyRule setPriority​(java.lang.Integer priority)
      • getSystem

        java.lang.Boolean getSystem()
      • setSystem

        PolicyRule setSystem​(java.lang.Boolean system)
      • update

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="PUT - /api/v1/policies/{policyId}/rules/{ruleId}")
        PolicyRule update()
        Updates a policy rule.
        Returns:
        PolicyRule
      • activate

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="POST - /api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate")
        void activate()
        Activates a policy rule.
      • deactivate

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="POST - /api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate")
        void deactivate()
        Deactivates a policy rule.
      • delete

        @Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen",
                   date="2022-02-14T12:54:39.514-06:00",
                   comments="DELETE - /api/v1/policies/{policyId}/rules/{ruleId}")
        void delete()
        Removes a policy rule.
        Specified by:
        delete in interface Deletable