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 Details

    • RoleCResourceSetResourceApi

      public RoleCResourceSetResourceApi()
    • RoleCResourceSetResourceApi

      public RoleCResourceSetResourceApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • 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 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)
      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 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)
      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 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)
      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 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)
      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 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)
      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 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)
      additionalHeaders - additionalHeaders for this call
      Returns:
      ResourceSetResource
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

      protected static com.fasterxml.jackson.databind.ObjectMapper getObjectMapper()