@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00") public class DefaultAuthorizationServerPolicy extends AbstractInstanceResource<AuthorizationServerPolicy> implements AuthorizationServerPolicy
AuthorizationServerPolicy.StatusEnum
properties
readLock, writeLock
Constructor and Description |
---|
DefaultAuthorizationServerPolicy(InternalDataStore dataStore) |
DefaultAuthorizationServerPolicy(InternalDataStore dataStore,
Map<String,Object> properties) |
delete, save
clear, 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, values
getBoolean, 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, setProperty
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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
public DefaultAuthorizationServerPolicy(InternalDataStore dataStore)
public DefaultAuthorizationServerPolicy(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors
in class AbstractResource
public Class<? extends Resource> getResourceClass()
AbstractInstanceResource
Foo
, in this case this method may return Foo.class
.
(Defaults to getClass()
.)getResourceClass
in class AbstractInstanceResource<AuthorizationServerPolicy>
public Map<String,Object> getEmbedded()
getEmbedded
in interface AuthorizationServerPolicy
public Map<String,Object> getLinks()
getLinks
in interface AuthorizationServerPolicy
public PolicyRuleConditions getConditions()
getConditions
in interface AuthorizationServerPolicy
public AuthorizationServerPolicy setConditions(PolicyRuleConditions conditions)
setConditions
in interface AuthorizationServerPolicy
public Date getCreated()
getCreated
in interface AuthorizationServerPolicy
public String getDescription()
getDescription
in interface AuthorizationServerPolicy
public AuthorizationServerPolicy setDescription(String description)
setDescription
in interface AuthorizationServerPolicy
public String getId()
getId
in interface AuthorizationServerPolicy
public Date getLastUpdated()
getLastUpdated
in interface AuthorizationServerPolicy
public String getName()
getName
in interface AuthorizationServerPolicy
public AuthorizationServerPolicy setName(String name)
setName
in interface AuthorizationServerPolicy
public Integer getPriority()
getPriority
in interface AuthorizationServerPolicy
public AuthorizationServerPolicy setPriority(Integer priority)
setPriority
in interface AuthorizationServerPolicy
public AuthorizationServerPolicy.StatusEnum getStatus()
getStatus
in interface AuthorizationServerPolicy
public AuthorizationServerPolicy setStatus(AuthorizationServerPolicy.StatusEnum status)
setStatus
in interface AuthorizationServerPolicy
public Boolean getSystem()
getSystem
in interface AuthorizationServerPolicy
public AuthorizationServerPolicy setSystem(Boolean system)
setSystem
in interface AuthorizationServerPolicy
public PolicyType getType()
getType
in interface AuthorizationServerPolicy
public AuthorizationServerPolicy setType(PolicyType type)
setType
in interface AuthorizationServerPolicy
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}") public AuthorizationServerPolicyRule getPolicyRule(String authServerId, String ruleId)
getPolicyRule
in interface AuthorizationServerPolicy
authServerId
- (required)ruleId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/deactivate") public void deactivate(String authServerId)
deactivate
in interface AuthorizationServerPolicy
authServerId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules") public AuthorizationServerPolicyRule createPolicyRule(String authServerId, AuthorizationServerPolicyRule policyRule)
createPolicyRule
in interface AuthorizationServerPolicy
authServerId
- (required)policyRule
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/authorizationServers/{authServerId}/policies/{policyId}") public AuthorizationServerPolicy update(String authServerId)
update
in interface AuthorizationServerPolicy
authServerId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/policies/{policyId}") public void delete(String authServerId)
delete
in interface AuthorizationServerPolicy
authServerId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="GET - /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules") public AuthorizationServerPolicyRuleList listPolicyRules(String authServerId)
listPolicyRules
in interface AuthorizationServerPolicy
authServerId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="POST - /api/v1/authorizationServers/{authServerId}/policies/{policyId}/lifecycle/activate") public void activate(String authServerId)
activate
in interface AuthorizationServerPolicy
authServerId
- (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="DELETE - /api/v1/authorizationServers/{authServerId}/policies/{policyId}/rules/{ruleId}") public void deletePolicyRule(String authServerId, String ruleId)
deletePolicyRule
in interface AuthorizationServerPolicy
authServerId
- (required)ruleId
- (required)Copyright © 2017–2023 Okta. All rights reserved.