Package com.okta.sdk.resource.policy
Interface PolicyBuilder<T extends PolicyBuilder>
- All Known Subinterfaces:
OktaSignOnPolicyBuilder
,PasswordPolicyBuilder
- All Known Implementing Classes:
DefaultOktaSignOnPolicyBuilder
,DefaultPasswordPolicyBuilder
,DefaultPolicyBuilder
public interface PolicyBuilder<T extends PolicyBuilder>
-
Method Summary
Modifier and TypeMethodDescriptionbuildAndCreate
(PolicyApi client) static PolicyBuilder
<PolicyBuilder> instance()
setDescription
(String description) setPriority
(Integer priority) setStatus
(LifecycleStatus status) setType
(PolicyType policyType)
-
Method Details
-
instance
-
setName
-
setDescription
-
setType
-
setPriority
-
setStatus
-
buildAndCreate
- Throws:
ApiException
-