@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00") public interface PolicyRule extends ExtensibleResource, Deletable
Modifier and Type | Interface and Description |
---|---|
static class |
PolicyRule.StatusEnum
Enum status
|
static class |
PolicyRule.TypeEnum
Enum type
|
Modifier and Type | Method and Description |
---|---|
void |
activate()
Activates a policy rule.
|
void |
deactivate()
Deactivates a policy rule.
|
void |
delete()
Removes a policy rule.
|
PolicyRuleActions |
getActions() |
PolicyRuleConditions |
getConditions() |
Date |
getCreated() |
String |
getId() |
Date |
getLastUpdated() |
String |
getName() |
Integer |
getPriority() |
PolicyRule.StatusEnum |
getStatus() |
Boolean |
getSystem() |
PolicyRule.TypeEnum |
getType() |
PolicyRule |
setActions(PolicyRuleActions actions) |
PolicyRule |
setConditions(PolicyRuleConditions conditions) |
PolicyRule |
setName(String name) |
PolicyRule |
setPriority(Integer priority) |
PolicyRule |
setStatus(PolicyRule.StatusEnum status) |
PolicyRule |
setSystem(Boolean system) |
PolicyRule |
setType(PolicyRule.TypeEnum type) |
PolicyRule |
update()
Updates a policy rule.
|
getResourceHref, setResourceHref
getBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringList
clear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
PolicyRuleActions getActions()
PolicyRule setActions(PolicyRuleActions actions)
PolicyRuleConditions getConditions()
PolicyRule setConditions(PolicyRuleConditions conditions)
Date getCreated()
String getId()
Date getLastUpdated()
String getName()
PolicyRule setName(String name)
Integer getPriority()
PolicyRule setPriority(Integer priority)
PolicyRule.StatusEnum getStatus()
PolicyRule setStatus(PolicyRule.StatusEnum status)
Boolean getSystem()
PolicyRule setSystem(Boolean system)
PolicyRule.TypeEnum getType()
PolicyRule setType(PolicyRule.TypeEnum type)
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="PUT - /api/v1/policies/{policyId}/rules/{ruleId}") PolicyRule update()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/activate") void activate()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientApiCodegen", date="2023-07-07T09:07:50.516-05:00", comments="POST - /api/v1/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate") void deactivate()
Copyright © 2017–2023 Okta. All rights reserved.