Package com.okta.sdk.resource.api
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 Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreateResourceSetBinding
(String resourceSetIdOrLabel, ResourceSetBindingCreateRequest instance) Create a Role Resource Set Binding Creates a Binding for the Resource Set, Custom Role, and members (Users or Groups)createResourceSetBinding
(String resourceSetIdOrLabel, ResourceSetBindingCreateRequest instance, Map<String, String> additionalHeaders) Create a Role Resource Set Binding Creates a Binding for the Resource Set, Custom Role, and members (Users or Groups)void
deleteBinding
(String resourceSetIdOrLabel, String roleIdOrLabel) Delete a Role Resource Set Binding Deletes a Binding of a Role (identified by `roleIdOrLabel`) and a Resource Set (identified by `resourceSetIdOrLabel`)void
deleteBinding
(String resourceSetIdOrLabel, String roleIdOrLabel, Map<String, String> additionalHeaders) Delete a Role Resource Set Binding Deletes a Binding of a Role (identified by `roleIdOrLabel`) and a Resource Set (identified by `resourceSetIdOrLabel`)getBinding
(String resourceSetIdOrLabel, String roleIdOrLabel) Retrieve a Role Resource Set Binding Retrieves the Binding of a Role (identified by `roleIdOrLabel`) in a Resource Set (identified by `resourceSetIdOrLabel`)Retrieve a Role Resource Set Binding Retrieves the Binding of a Role (identified by `roleIdOrLabel`) in a Resource Set (identified by `resourceSetIdOrLabel`)protected static com.fasterxml.jackson.databind.ObjectMapper
listBindings
(String resourceSetIdOrLabel, String after) List all Role Resource Set Bindings Lists all Bindings for a Resource Set with pagination supportList all Role Resource Set Bindings Lists all Bindings for a Resource Set with pagination supportvoid
setApiClient
(ApiClient apiClient)
-
Constructor Details
-
RoleDResourceSetBindingApi
public RoleDResourceSetBindingApi() -
RoleDResourceSetBindingApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 ApiExceptionCreate 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
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 ApiExceptionDelete 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 ApiExceptionRetrieve 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 ApiExceptionList 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()
-