public class DefaultPolicyRuleBuilder<T extends PolicyRuleBuilder> extends Object implements PolicyRuleBuilder<T>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
priority |
protected PolicyRule.StatusEnum |
status |
protected PolicyRule.TypeEnum |
type |
| Modifier and Type | Method and Description |
|---|---|
PolicyRule |
buildAndCreate(Client client,
Policy policy) |
protected T |
self() |
T |
setPriority(Integer priority) |
T |
setStatus(PolicyRule.StatusEnum status) |
T |
setType(PolicyRule.TypeEnum type) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitinstanceprotected Integer priority
protected PolicyRule.TypeEnum type
protected PolicyRule.StatusEnum status
public T setPriority(Integer priority)
setPriority in interface PolicyRuleBuilder<T extends PolicyRuleBuilder>public T setStatus(PolicyRule.StatusEnum status)
setStatus in interface PolicyRuleBuilder<T extends PolicyRuleBuilder>public T setType(PolicyRule.TypeEnum type)
setType in interface PolicyRuleBuilder<T extends PolicyRuleBuilder>public PolicyRule buildAndCreate(Client client, Policy policy)
buildAndCreate in interface PolicyRuleBuilder<T extends PolicyRuleBuilder>protected T self()
Copyright © 2017–2023 Okta. All rights reserved.