Package com.okta.sdk.resource.api
Class RoleCResourceSetApi
java.lang.Object
com.okta.sdk.resource.api.RoleCResourceSetApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2024-09-23T08:35:59.300824-05:00[America/Chicago]",
comments="Generator version: 7.8.0")
public class RoleCResourceSetApi
extends Object
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateResourceSet
(CreateResourceSetRequest instance) Create a Resource Set Creates a new Resource Set.createResourceSet
(CreateResourceSetRequest instance, Map<String, String> additionalHeaders) Create a Resource Set Creates a new Resource Set.void
deleteResourceSet
(String resourceSetIdOrLabel) Delete a Resource Set Deletes a Resource Set by `resourceSetIdOrLabel`void
deleteResourceSet
(String resourceSetIdOrLabel, Map<String, String> additionalHeaders) Delete a Resource Set Deletes a Resource Set by `resourceSetIdOrLabel`protected static com.fasterxml.jackson.databind.ObjectMapper
getResourceSet
(String resourceSetIdOrLabel) Retrieve a Resource Set Retrieves a Resource Set by `resourceSetIdOrLabel`getResourceSet
(String resourceSetIdOrLabel, Map<String, String> additionalHeaders) Retrieve a Resource Set Retrieves a Resource Set by `resourceSetIdOrLabel`listResourceSets
(String after) List all Resource Sets Lists all Resource Sets with pagination supportlistResourceSets
(String after, Map<String, String> additionalHeaders) List all Resource Sets Lists all Resource Sets with pagination supportreplaceResourceSet
(String resourceSetIdOrLabel, ResourceSet instance) Replace a Resource Set Replaces the label and description of a Resource SetreplaceResourceSet
(String resourceSetIdOrLabel, ResourceSet instance, Map<String, String> additionalHeaders) Replace a Resource Set Replaces the label and description of a Resource Setvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
RoleCResourceSetApi
public RoleCResourceSetApi() -
RoleCResourceSetApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
createResourceSet
Create a Resource Set Creates a new Resource Set. See [Supported Resources](/openapi/okta-management/guides/roles/#supported-resources). > **Note:** The maximum number of `resources` allowed in a Resource Set object is 1000. Resources are identified by either an Okta Resource Name (ORN) or by a REST URL format. See [Okta Resource Name](/openapi/okta-management/guides/roles/#okta-resource-name-orn).- Parameters:
instance
- (required)- Returns:
- ResourceSet
- Throws:
ApiException
- if fails to make API call
-
createResourceSet
public ResourceSet createResourceSet(CreateResourceSetRequest instance, Map<String, String> additionalHeaders) throws ApiExceptionCreate a Resource Set Creates a new Resource Set. See [Supported Resources](/openapi/okta-management/guides/roles/#supported-resources). > **Note:** The maximum number of `resources` allowed in a Resource Set object is 1000. Resources are identified by either an Okta Resource Name (ORN) or by a REST URL format. See [Okta Resource Name](/openapi/okta-management/guides/roles/#okta-resource-name-orn).- Parameters:
instance
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- ResourceSet
- Throws:
ApiException
- if fails to make API call
-
deleteResourceSet
Delete a Resource Set Deletes a Resource Set by `resourceSetIdOrLabel`- Parameters:
resourceSetIdOrLabel
- `id` or `label` the Resource Set (required)- Throws:
ApiException
- if fails to make API call
-
deleteResourceSet
public void deleteResourceSet(String resourceSetIdOrLabel, Map<String, String> additionalHeaders) throws ApiExceptionDelete a Resource Set Deletes a Resource Set by `resourceSetIdOrLabel`- Parameters:
resourceSetIdOrLabel
- `id` or `label` the Resource Set (required)additionalHeaders
- additionalHeaders for this call- Throws:
ApiException
- if fails to make API call
-
getResourceSet
Retrieve a Resource Set Retrieves a Resource Set by `resourceSetIdOrLabel`- Parameters:
resourceSetIdOrLabel
- `id` or `label` the Resource Set (required)- Returns:
- ResourceSet
- Throws:
ApiException
- if fails to make API call
-
getResourceSet
public ResourceSet getResourceSet(String resourceSetIdOrLabel, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a Resource Set Retrieves a Resource Set by `resourceSetIdOrLabel`- Parameters:
resourceSetIdOrLabel
- `id` or `label` the Resource Set (required)additionalHeaders
- additionalHeaders for this call- Returns:
- ResourceSet
- Throws:
ApiException
- if fails to make API call
-
listResourceSets
List all Resource Sets Lists all Resource Sets with pagination support- Parameters:
after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](https://developer.okta.com/docs/api/#pagination). (optional)- Returns:
- ResourceSets
- Throws:
ApiException
- if fails to make API call
-
listResourceSets
public ResourceSets listResourceSets(String after, Map<String, String> additionalHeaders) throws ApiExceptionList all Resource Sets Lists all Resource Sets with pagination support- Parameters:
after
- The cursor to use for pagination. It is an opaque string that specifies your current location in the list and is obtained from the `Link` response header. See [Pagination](https://developer.okta.com/docs/api/#pagination). (optional)additionalHeaders
- additionalHeaders for this call- Returns:
- ResourceSets
- Throws:
ApiException
- if fails to make API call
-
replaceResourceSet
public ResourceSet replaceResourceSet(String resourceSetIdOrLabel, ResourceSet instance) throws ApiException Replace a Resource Set Replaces the label and description of a Resource Set- Parameters:
resourceSetIdOrLabel
- `id` or `label` the Resource Set (required)instance
- (required)- Returns:
- ResourceSet
- Throws:
ApiException
- if fails to make API call
-
replaceResourceSet
public ResourceSet replaceResourceSet(String resourceSetIdOrLabel, ResourceSet instance, Map<String, String> additionalHeaders) throws ApiExceptionReplace a Resource Set Replaces the label and description of a Resource Set- Parameters:
resourceSetIdOrLabel
- `id` or `label` the Resource Set (required)instance
- (required)additionalHeaders
- additionalHeaders for this call- Returns:
- ResourceSet
- Throws:
ApiException
- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-