Package com.okta.sdk.resource.api
Class RoleCResourceSetResourceApi
java.lang.Object
com.okta.sdk.resource.api.RoleCResourceSetResourceApi
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2026-03-13T17:36:05.533634+05:30[Asia/Kolkata]",
comments="Generator version: 7.15.0")
public class RoleCResourceSetResourceApi
extends Object
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddResourceSetResource(String resourceSetIdOrLabel, ResourceSetResourcePostRequest instance) Add a resource set resource with conditions Adds a resource with conditions for a resource setaddResourceSetResource(String resourceSetIdOrLabel, ResourceSetResourcePostRequest instance, Map<String, String> additionalHeaders) Add a resource set resource with conditions Adds a resource with conditions for a resource setaddResourceSetResources(String resourceSetIdOrLabel, ResourceSetResourcePatchRequest instance) Add more resources to a resource set Adds more resources to a resource setaddResourceSetResources(String resourceSetIdOrLabel, ResourceSetResourcePatchRequest instance, Map<String, String> additionalHeaders) Add more resources to a resource set Adds more resources to a resource setvoiddeleteResourceSetResource(String resourceSetIdOrLabel, String resourceId) Delete a resource set resource Deletes a resource (identified by `resourceId`) from a resource setvoiddeleteResourceSetResource(String resourceSetIdOrLabel, String resourceId, Map<String, String> additionalHeaders) Delete a resource set resource Deletes a resource (identified by `resourceId`) from a resource setprotected static com.fasterxml.jackson.databind.ObjectMappergetResourceSetResource(String resourceSetIdOrLabel, String resourceId) Retrieve a resource set resource Retrieves a resource identified by `resourceId` in a resource setgetResourceSetResource(String resourceSetIdOrLabel, String resourceId, Map<String, String> additionalHeaders) Retrieve a resource set resource Retrieves a resource identified by `resourceId` in a resource setlistResourceSetResources(String resourceSetIdOrLabel, String after, Integer limit) List all resource set resources Lists all resources for the resource setlistResourceSetResources(String resourceSetIdOrLabel, String after, Integer limit, Map<String, String> additionalHeaders) List all resource set resources Lists all resources for the resource setreplaceResourceSetResource(String resourceSetIdOrLabel, String resourceId, ResourceSetResourcePutRequest resourceSetResourcePutRequest) Replace the resource set resource conditions Replaces the conditions of a resource identified by `resourceId` in a resource setreplaceResourceSetResource(String resourceSetIdOrLabel, String resourceId, ResourceSetResourcePutRequest resourceSetResourcePutRequest, Map<String, String> additionalHeaders) Replace the resource set resource conditions Replaces the conditions of a resource identified by `resourceId` in a resource setvoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
RoleCResourceSetResourceApi
public RoleCResourceSetResourceApi() -
RoleCResourceSetResourceApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
addResourceSetResource
public ResourceSetResource addResourceSetResource(String resourceSetIdOrLabel, ResourceSetResourcePostRequest instance) throws ApiException Add a resource set resource with conditions Adds a resource with conditions for a resource set- Parameters:
resourceSetIdOrLabel- `id` or `label` of the resource set (required)instance- (required)- Returns:
- ResourceSetResource
- Throws:
ApiException- if fails to make API call
-
addResourceSetResource
public ResourceSetResource addResourceSetResource(String resourceSetIdOrLabel, ResourceSetResourcePostRequest instance, Map<String, String> additionalHeaders) throws ApiExceptionAdd a resource set resource with conditions Adds a resource with conditions for a resource set- Parameters:
resourceSetIdOrLabel- `id` or `label` of the resource set (required)instance- (required)additionalHeaders- additionalHeaders for this call- Returns:
- ResourceSetResource
- Throws:
ApiException- if fails to make API call
-
addResourceSetResources
public ResourceSet addResourceSetResources(String resourceSetIdOrLabel, ResourceSetResourcePatchRequest instance) throws ApiException Add more resources to a resource set Adds more resources to a resource set- Parameters:
resourceSetIdOrLabel- `id` or `label` of the resource set (required)instance- (required)- Returns:
- ResourceSet
- Throws:
ApiException- if fails to make API call
-
addResourceSetResources
public ResourceSet addResourceSetResources(String resourceSetIdOrLabel, ResourceSetResourcePatchRequest instance, Map<String, String> additionalHeaders) throws ApiExceptionAdd more resources to a resource set Adds more resources to a resource set- Parameters:
resourceSetIdOrLabel- `id` or `label` of the resource set (required)instance- (required)additionalHeaders- additionalHeaders for this call- Returns:
- ResourceSet
- Throws:
ApiException- if fails to make API call
-
deleteResourceSetResource
public void deleteResourceSetResource(String resourceSetIdOrLabel, String resourceId) throws ApiException Delete a resource set resource Deletes a resource (identified by `resourceId`) from a resource set- Parameters:
resourceSetIdOrLabel- `id` or `label` of the resource set (required)resourceId- `id` of the resource (required)- Throws:
ApiException- if fails to make API call
-
deleteResourceSetResource
public void deleteResourceSetResource(String resourceSetIdOrLabel, String resourceId, Map<String, String> additionalHeaders) throws ApiExceptionDelete a resource set resource Deletes a resource (identified by `resourceId`) from a resource set- Parameters:
resourceSetIdOrLabel- `id` or `label` of the resource set (required)resourceId- `id` of the resource (required)additionalHeaders- additionalHeaders for this call- Throws:
ApiException- if fails to make API call
-
getResourceSetResource
public ResourceSetResource getResourceSetResource(String resourceSetIdOrLabel, String resourceId) throws ApiException Retrieve a resource set resource Retrieves a resource identified by `resourceId` in a resource set- Parameters:
resourceSetIdOrLabel- `id` or `label` of the resource set (required)resourceId- `id` of the resource (required)- Returns:
- ResourceSetResource
- Throws:
ApiException- if fails to make API call
-
getResourceSetResource
public ResourceSetResource getResourceSetResource(String resourceSetIdOrLabel, String resourceId, Map<String, String> additionalHeaders) throws ApiExceptionRetrieve a resource set resource Retrieves a resource identified by `resourceId` in a resource set- Parameters:
resourceSetIdOrLabel- `id` or `label` of the resource set (required)resourceId- `id` of the resource (required)additionalHeaders- additionalHeaders for this call- Returns:
- ResourceSetResource
- Throws:
ApiException- if fails to make API call
-
listResourceSetResources
public ResourceSetResources listResourceSetResources(String resourceSetIdOrLabel, String after, Integer limit) throws ApiException List all resource set resources Lists all resources for the resource set- Parameters:
resourceSetIdOrLabel- `id` or `label` of the resource set (required)after- Specifies the pagination cursor for the next page of targets (optional)limit- Specifies the number of results returned. Defaults to `100`. (optional, default to 100)- Returns:
- ResourceSetResources
- Throws:
ApiException- if fails to make API call
-
listResourceSetResources
public ResourceSetResources listResourceSetResources(String resourceSetIdOrLabel, String after, Integer limit, Map<String, String> additionalHeaders) throws ApiExceptionList all resource set resources Lists all resources for the resource set- Parameters:
resourceSetIdOrLabel- `id` or `label` of the resource set (required)after- Specifies the pagination cursor for the next page of targets (optional)limit- Specifies the number of results returned. Defaults to `100`. (optional, default to 100)additionalHeaders- additionalHeaders for this call- Returns:
- ResourceSetResources
- Throws:
ApiException- if fails to make API call
-
replaceResourceSetResource
public ResourceSetResource replaceResourceSetResource(String resourceSetIdOrLabel, String resourceId, ResourceSetResourcePutRequest resourceSetResourcePutRequest) throws ApiException Replace the resource set resource conditions Replaces the conditions of a resource identified by `resourceId` in a resource set- Parameters:
resourceSetIdOrLabel- `id` or `label` of the resource set (required)resourceId- `id` of the resource (required)resourceSetResourcePutRequest- (required)- Returns:
- ResourceSetResource
- Throws:
ApiException- if fails to make API call
-
replaceResourceSetResource
public ResourceSetResource replaceResourceSetResource(String resourceSetIdOrLabel, String resourceId, ResourceSetResourcePutRequest resourceSetResourcePutRequest, Map<String, String> additionalHeaders) throws ApiExceptionReplace the resource set resource conditions Replaces the conditions of a resource identified by `resourceId` in a resource set- Parameters:
resourceSetIdOrLabel- `id` or `label` of the resource set (required)resourceId- `id` of the resource (required)resourceSetResourcePutRequest- (required)additionalHeaders- additionalHeaders for this call- Returns:
- ResourceSetResource
- Throws:
ApiException- if fails to make API call
-
getObjectMapper
protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()
-