@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00") public class DefaultRole extends AbstractInstanceResource<Role> implements Role
propertiesreadLock, writeLock| Constructor and Description |
|---|
DefaultRole(InternalDataStore dataStore) |
DefaultRole(InternalDataStore dataStore,
Map<String,Object> properties) |
| Modifier and Type | Method and Description |
|---|---|
void |
addAdminGroupTarget(String targetGroupId) |
void |
addAllAppsAsTargetToRole()
Success
|
void |
addAppInstanceTargetToAdminRole(String appName,
String applicationId)
Add App Instance Target to App Administrator Role given to a Group
Add App Instance Target to App Administrator Role given to a Group
|
void |
addAppTargetToAdminRole(String appName)
Success
|
void |
addAppTargetToAdminRoleForUser(String appName)
Success
|
void |
addAppTargetToAppAdminRoleForUser(String appName,
String applicationId)
Add App Instance Target to App Administrator Role given to a User
Add App Instance Target to App Administrator Role given to a User
|
RoleAssignmentType |
getAssignmentType() |
Date |
getCreated() |
String |
getDescription() |
Map<String,Object> |
getEmbedded() |
String |
getId() |
String |
getLabel() |
Date |
getLastUpdated() |
Map<String,Object> |
getLinks() |
Map<String,Property> |
getPropertyDescriptors() |
Class<? extends Resource> |
getResourceClass()
Returns the class this resource represents.
|
RoleStatus |
getStatus() |
RoleType |
getType() |
Role |
setAssignmentType(RoleAssignmentType assignmentType) |
Role |
setDescription(String description) |
Role |
setType(RoleType type) |
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, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetResourceHref, setResourceHrefgetBoolean, getInteger, getIntegerList, getNumber, getNumberList, getString, getStringListclear, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, equals, forEach, get, getOrDefault, hashCode, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, valuespublic DefaultRole(InternalDataStore dataStore)
public DefaultRole(InternalDataStore dataStore, Map<String,Object> properties)
public Map<String,Property> getPropertyDescriptors()
getPropertyDescriptors in class AbstractResourcepublic Class<? extends Resource> getResourceClass()
AbstractInstanceResourceFoo, in this case this method may return Foo.class.
(Defaults to getClass().)getResourceClass in class AbstractInstanceResource<Role>public Map<String,Object> getEmbedded()
getEmbedded in interface Rolepublic RoleAssignmentType getAssignmentType()
getAssignmentType in interface Rolepublic Role setAssignmentType(RoleAssignmentType assignmentType)
setAssignmentType in interface Rolepublic Date getCreated()
getCreated in interface Rolepublic String getDescription()
getDescription in interface Rolepublic Role setDescription(String description)
setDescription in interface Rolepublic Date getLastUpdated()
getLastUpdated in interface Rolepublic RoleStatus getStatus()
@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/groups/{groupId}/roles/{roleId}/targets/groups/{targetGroupId}") public void addAdminGroupTarget(String targetGroupId)
addAdminGroupTarget in interface RoletargetGroupId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}") public void addAppTargetToAdminRoleForUser(String appName)
addAppTargetToAdminRoleForUser in interface RoleappName - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}") public void addAppInstanceTargetToAdminRole(String appName, String applicationId)
addAppInstanceTargetToAdminRole in interface RoleappName - (required)applicationId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps/{appName}/{applicationId}") public void addAppTargetToAppAdminRoleForUser(String appName, String applicationId)
addAppTargetToAppAdminRoleForUser in interface RoleappName - (required)applicationId - (required)@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/users/{userId}/roles/{roleId}/targets/catalog/apps") public void addAllAppsAsTargetToRole()
addAllAppsAsTargetToRole in interface Role@Generated(value="com.okta.swagger.codegen.OktaJavaClientImplCodegen", date="2023-07-07T09:07:53.917-05:00", comments="PUT - /api/v1/groups/{groupId}/roles/{roleId}/targets/catalog/apps/{appName}") public void addAppTargetToAdminRole(String appName)
addAppTargetToAdminRole in interface RoleappName - (required)Copyright © 2017–2023 Okta. All rights reserved.