Class RoleDResourceSetBindingApi

java.lang.Object
com.okta.sdk.resource.api.RoleDResourceSetBindingApi

@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 RoleDResourceSetBindingApi extends Object
  • Constructor Details

    • RoleDResourceSetBindingApi

      public RoleDResourceSetBindingApi()
    • RoleDResourceSetBindingApi

      public RoleDResourceSetBindingApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createResourceSetBinding

      public ResourceSetBindingResponse createResourceSetBinding(String resourceSetIdOrLabel, ResourceSetBindingCreateRequest instance) throws ApiException
      Create a Role Resource Set Binding Creates a Binding for the Resource Set, Custom Role, and members (Users or Groups)
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      instance - (required)
      Returns:
      ResourceSetBindingResponse
      Throws:
      ApiException - if fails to make API call
    • createResourceSetBinding

      public ResourceSetBindingResponse createResourceSetBinding(String resourceSetIdOrLabel, ResourceSetBindingCreateRequest instance, Map<String,String> additionalHeaders) throws ApiException
      Create a Role Resource Set Binding Creates a Binding for the Resource Set, Custom Role, and members (Users or Groups)
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      instance - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      ResourceSetBindingResponse
      Throws:
      ApiException - if fails to make API call
    • deleteBinding

      public void deleteBinding(String resourceSetIdOrLabel, String roleIdOrLabel) throws ApiException
      Delete a Role Resource Set Binding Deletes a Binding of a Role (identified by `roleIdOrLabel`) and a Resource Set (identified by `resourceSetIdOrLabel`)
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      roleIdOrLabel - `id` or `label` of the Role (required)
      Throws:
      ApiException - if fails to make API call
    • deleteBinding

      public void deleteBinding(String resourceSetIdOrLabel, String roleIdOrLabel, Map<String,String> additionalHeaders) throws ApiException
      Delete a Role Resource Set Binding Deletes a Binding of a Role (identified by `roleIdOrLabel`) and a Resource Set (identified by `resourceSetIdOrLabel`)
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      roleIdOrLabel - `id` or `label` of the Role (required)
      additionalHeaders - additionalHeaders for this call
      Throws:
      ApiException - if fails to make API call
    • getBinding

      public ResourceSetBindingResponse getBinding(String resourceSetIdOrLabel, String roleIdOrLabel) throws ApiException
      Retrieve a Role Resource Set Binding Retrieves the Binding of a Role (identified by `roleIdOrLabel`) in a Resource Set (identified by `resourceSetIdOrLabel`)
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      roleIdOrLabel - `id` or `label` of the Role (required)
      Returns:
      ResourceSetBindingResponse
      Throws:
      ApiException - if fails to make API call
    • getBinding

      public ResourceSetBindingResponse getBinding(String resourceSetIdOrLabel, String roleIdOrLabel, Map<String,String> additionalHeaders) throws ApiException
      Retrieve a Role Resource Set Binding Retrieves the Binding of a Role (identified by `roleIdOrLabel`) in a Resource Set (identified by `resourceSetIdOrLabel`)
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      roleIdOrLabel - `id` or `label` of the Role (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      ResourceSetBindingResponse
      Throws:
      ApiException - if fails to make API call
    • listBindings

      public ResourceSetBindings listBindings(String resourceSetIdOrLabel, String after) throws ApiException
      List all Role Resource Set Bindings Lists all Bindings for a Resource Set with pagination support
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      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:
      ResourceSetBindings
      Throws:
      ApiException - if fails to make API call
    • listBindings

      public ResourceSetBindings listBindings(String resourceSetIdOrLabel, String after, Map<String,String> additionalHeaders) throws ApiException
      List all Role Resource Set Bindings Lists all Bindings for a Resource Set with pagination support
      Parameters:
      resourceSetIdOrLabel - `id` or `label` the Resource Set (required)
      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:
      ResourceSetBindings
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

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