@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-10-11T13:51:56.108-05:00")
public class DefaultAuthorizationServerPolicyRule
extends AbstractInstanceResource<AuthorizationServerPolicyRule>
implements AuthorizationServerPolicyRule
AuthorizationServerPolicyRule.StatusEnum, AuthorizationServerPolicyRule.TypeEnumpropertiesreadLock, writeLock| Constructor and Description |
|---|
DefaultAuthorizationServerPolicyRule(InternalDataStore dataStore) |
DefaultAuthorizationServerPolicyRule(InternalDataStore dataStore,
java.util.Map<java.lang.String,java.lang.Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
activate(java.lang.String authServerId)
Activate Authorization Server Policy Rule
|
void |
deactivate(java.lang.String authServerId)
Deactivate Authorization Server Policy Rule
|
void |
delete(java.lang.String authServerId)
Deletes a Policy Rule defined in the specified Custom Authorization Server and Policy.
|
AuthorizationServerPolicyRuleActions |
getActions() |
AuthorizationServerPolicyRuleConditions |
getConditions() |
java.util.Date |
getCreated() |
java.lang.String |
getId() |
java.util.Date |
getLastUpdated() |
java.lang.String |
getName() |
java.lang.Integer |
getPriority() |
java.util.Map<java.lang.String,Property> |
getPropertyDescriptors() |
java.lang.Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
AuthorizationServerPolicyRule.StatusEnum |
getStatus() |
java.lang.Boolean |
getSystem() |
AuthorizationServerPolicyRule.TypeEnum |
getType() |
AuthorizationServerPolicyRule |
setActions(AuthorizationServerPolicyRuleActions actions) |
AuthorizationServerPolicyRule |
setConditions(AuthorizationServerPolicyRuleConditions conditions) |
AuthorizationServerPolicyRule |
setName(java.lang.String name) |
AuthorizationServerPolicyRule |
setPriority(java.lang.Integer priority) |
AuthorizationServerPolicyRule |
setStatus(AuthorizationServerPolicyRule.StatusEnum status) |
AuthorizationServerPolicyRule |
setSystem(java.lang.Boolean system) |
AuthorizationServerPolicyRule |
setType(AuthorizationServerPolicyRule.TypeEnum type) |
AuthorizationServerPolicyRule |
update(java.lang.String authServerId)
Updates the configuration of the Policy Rule defined in the specified Custom Authorization Server and Policy.
|
delete, saveclear, containsKey, containsValue, createPropertyDescriptorMap, createPropertyDescriptorMap, entrySet, equals, get, getDataStore, getDeletedPropertyNames, getInternalProperties, getParamsFromHref, getProperty, getPropertyNames, getResourceHref, getResourceListProperty, getResourceProperty, getUpdatedPropertyNames, hashCode, hasProperty, isDirty, isEmpty, isPrintableProperty, keySet, materialize, put, putAll, remove, setInternalProperties, setProperty, setProperty, setResourceHref, size, toString, valuesgetBoolean, getBoolean, getBooleanProperty, getCharArray, getDateProperty, getDoubleProperty, getDoubleProperty, getEnumListProperty, getEnumProperty, getEnumProperty, getInt, getInteger, getIntegerList, getIntProperty, getIntProperty, getListProperty, getListProperty, getMap, getMapProperty, getNonEmptyMap, getNullableBoolean, getNullableBooleanProperty, getNumber, getNumberList, getString, getString, getStringList, getStringProperty, setProperty, setPropertyclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetResourceHref, setResourceHrefgetBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringListpublic DefaultAuthorizationServerPolicyRule(InternalDataStore dataStore)
public DefaultAuthorizationServerPolicyRule(InternalDataStore dataStore, java.util.Map<java.lang.String,java.lang.Object> properties)
public java.util.Map<java.lang.String,Property> getPropertyDescriptors()
getPropertyDescriptors in class AbstractResourcepublic java.lang.Class<? extends Resource> getResourceClass()
AbstractInstanceResourceFoo, in this case this method may return Foo.class.
(Defaults to getClass().)getResourceClass in class AbstractInstanceResource<AuthorizationServerPolicyRule>public AuthorizationServerPolicyRuleActions getActions()
getActions in interface AuthorizationServerPolicyRulepublic AuthorizationServerPolicyRule setActions(AuthorizationServerPolicyRuleActions actions)
setActions in interface AuthorizationServerPolicyRulepublic AuthorizationServerPolicyRuleConditions getConditions()
getConditions in interface AuthorizationServerPolicyRulepublic AuthorizationServerPolicyRule setConditions(AuthorizationServerPolicyRuleConditions conditions)
setConditions in interface AuthorizationServerPolicyRulepublic java.util.Date getCreated()
getCreated in interface AuthorizationServerPolicyRulepublic java.lang.String getId()
getId in interface AuthorizationServerPolicyRulepublic java.util.Date getLastUpdated()
getLastUpdated in interface AuthorizationServerPolicyRulepublic java.lang.String getName()
getName in interface AuthorizationServerPolicyRulepublic AuthorizationServerPolicyRule setName(java.lang.String name)
setName in interface AuthorizationServerPolicyRulepublic java.lang.Integer getPriority()
getPriority in interface AuthorizationServerPolicyRulepublic AuthorizationServerPolicyRule setPriority(java.lang.Integer priority)
setPriority in interface AuthorizationServerPolicyRulepublic AuthorizationServerPolicyRule.StatusEnum getStatus()
getStatus in interface AuthorizationServerPolicyRulepublic AuthorizationServerPolicyRule setStatus(AuthorizationServerPolicyRule.StatusEnum status)
setStatus in interface AuthorizationServerPolicyRulepublic java.lang.Boolean getSystem()
getSystem in interface AuthorizationServerPolicyRulepublic AuthorizationServerPolicyRule setSystem(java.lang.Boolean system)
setSystem in interface AuthorizationServerPolicyRulepublic AuthorizationServerPolicyRule.TypeEnum getType()
getType in interface AuthorizationServerPolicyRulepublic AuthorizationServerPolicyRule setType(AuthorizationServerPolicyRule.TypeEnum type)
setType in interface AuthorizationServerPolicyRule@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-10-11T13:51:56.108-05:00",
comments="PUT - /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}")
public AuthorizationServerPolicyRule update(java.lang.String authServerId)
update in interface AuthorizationServerPolicyRuleauthServerId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-10-11T13:51:56.108-05:00",
comments="POST - /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/activate")
public void activate(java.lang.String authServerId)
activate in interface AuthorizationServerPolicyRuleauthServerId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-10-11T13:51:56.108-05:00",
comments="POST - /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}/lifecycle/deactivate")
public void deactivate(java.lang.String authServerId)
deactivate in interface AuthorizationServerPolicyRuleauthServerId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen",
date="2021-10-11T13:51:56.108-05:00",
comments="DELETE - /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}")
public void delete(java.lang.String authServerId)
delete in interface AuthorizationServerPolicyRuleauthServerId - (required)Copyright © 2017-2021 Okta. All Rights Reserved.