Class GovernanceBundleApi

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

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

    • GovernanceBundleApi

      public GovernanceBundleApi()
    • GovernanceBundleApi

      public GovernanceBundleApi(ApiClient apiClient)
  • Method Details

    • getApiClient

      public ApiClient getApiClient()
    • setApiClient

      public void setApiClient(ApiClient apiClient)
    • createGovernanceBundle

      public GovernanceBundle createGovernanceBundle(GovernanceBundleCreateRequest governanceBundleCreateRequest) throws ApiException
      Create a governance bundle Creates a governance bundle of entitlements for the Admin Console
      Parameters:
      governanceBundleCreateRequest - (required)
      Returns:
      GovernanceBundle
      Throws:
      ApiException - if fails to make API call
    • createGovernanceBundle

      public GovernanceBundle createGovernanceBundle(GovernanceBundleCreateRequest governanceBundleCreateRequest, Map<String,String> additionalHeaders) throws ApiException
      Create a governance bundle Creates a governance bundle of entitlements for the Admin Console
      Parameters:
      governanceBundleCreateRequest - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      GovernanceBundle
      Throws:
      ApiException - if fails to make API call
    • deleteGovernanceBundle

      public void deleteGovernanceBundle(String bundleId) throws ApiException
      Delete a governance bundle Deletes an Admin Console governance bundle
      Parameters:
      bundleId - The `id` of a bundle (required)
      Throws:
      ApiException - if fails to make API call
    • deleteGovernanceBundle

      public void deleteGovernanceBundle(String bundleId, Map<String,String> additionalHeaders) throws ApiException
      Delete a governance bundle Deletes an Admin Console governance bundle
      Parameters:
      bundleId - The `id` of a bundle (required)
      additionalHeaders - additionalHeaders for this call
      Throws:
      ApiException - if fails to make API call
    • getGovernanceBundle

      public GovernanceBundle getGovernanceBundle(String bundleId) throws ApiException
      Retrieve a governance bundle Retrieves a governance bundle for the Admin Console
      Parameters:
      bundleId - The `id` of a bundle (required)
      Returns:
      GovernanceBundle
      Throws:
      ApiException - if fails to make API call
    • getGovernanceBundle

      public GovernanceBundle getGovernanceBundle(String bundleId, Map<String,String> additionalHeaders) throws ApiException
      Retrieve a governance bundle Retrieves a governance bundle for the Admin Console
      Parameters:
      bundleId - The `id` of a bundle (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      GovernanceBundle
      Throws:
      ApiException - if fails to make API call
    • getOptInStatus

      public OptInStatusResponse getOptInStatus() throws ApiException
      Retrieve the Admin Console opt-in status Retrieves the entitlement management opt-in status for the Admin Console
      Returns:
      OptInStatusResponse
      Throws:
      ApiException - if fails to make API call
    • getOptInStatus

      public OptInStatusResponse getOptInStatus(Map<String,String> additionalHeaders) throws ApiException
      Retrieve the Admin Console opt-in status Retrieves the entitlement management opt-in status for the Admin Console
      Parameters:
      additionalHeaders - additionalHeaders for this call
      Returns:
      OptInStatusResponse
      Throws:
      ApiException - if fails to make API call
    • listBundleEntitlementValues

      public EntitlementValuesResponse listBundleEntitlementValues(String bundleId, String entitlementId, String after, Integer limit) throws ApiException
      List all values for a governance bundle entitlement Lists all entitlement values that are specific to a governance bundle entitlement
      Parameters:
      bundleId - The `id` of a bundle (required)
      entitlementId - The `id` of a bundle entitlement (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) and [Link header](https://developer.okta.com/docs/api/#link-header). (optional)
      limit - A limit on the number of objects to return (optional, default to 20)
      Returns:
      EntitlementValuesResponse
      Throws:
      ApiException - if fails to make API call
    • listBundleEntitlementValues

      public EntitlementValuesResponse listBundleEntitlementValues(String bundleId, String entitlementId, String after, Integer limit, Map<String,String> additionalHeaders) throws ApiException
      List all values for a governance bundle entitlement Lists all entitlement values that are specific to a governance bundle entitlement
      Parameters:
      bundleId - The `id` of a bundle (required)
      entitlementId - The `id` of a bundle entitlement (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) and [Link header](https://developer.okta.com/docs/api/#link-header). (optional)
      limit - A limit on the number of objects to return (optional, default to 20)
      additionalHeaders - additionalHeaders for this call
      Returns:
      EntitlementValuesResponse
      Throws:
      ApiException - if fails to make API call
    • listBundleEntitlements

      public BundleEntitlementsResponse listBundleEntitlements(String bundleId, String after, Integer limit) throws ApiException
      List all entitlements for a governance bundle Lists all entitlements specific to a governance bundle
      Parameters:
      bundleId - The `id` of a bundle (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) and [Link header](https://developer.okta.com/docs/api/#link-header). (optional)
      limit - A limit on the number of objects to return (optional, default to 20)
      Returns:
      BundleEntitlementsResponse
      Throws:
      ApiException - if fails to make API call
    • listBundleEntitlements

      public BundleEntitlementsResponse listBundleEntitlements(String bundleId, String after, Integer limit, Map<String,String> additionalHeaders) throws ApiException
      List all entitlements for a governance bundle Lists all entitlements specific to a governance bundle
      Parameters:
      bundleId - The `id` of a bundle (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) and [Link header](https://developer.okta.com/docs/api/#link-header). (optional)
      limit - A limit on the number of objects to return (optional, default to 20)
      additionalHeaders - additionalHeaders for this call
      Returns:
      BundleEntitlementsResponse
      Throws:
      ApiException - if fails to make API call
    • listGovernanceBundles

      public GovernanceBundlesResponse listGovernanceBundles(String after, Integer limit) throws ApiException
      List all governance bundles Lists all governance bundles for the Admin Console in your org
      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) and [Link header](https://developer.okta.com/docs/api/#link-header). (optional)
      limit - A limit on the number of objects to return (optional, default to 20)
      Returns:
      GovernanceBundlesResponse
      Throws:
      ApiException - if fails to make API call
    • listGovernanceBundles

      public GovernanceBundlesResponse listGovernanceBundles(String after, Integer limit, Map<String,String> additionalHeaders) throws ApiException
      List all governance bundles Lists all governance bundles for the Admin Console in your org
      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) and [Link header](https://developer.okta.com/docs/api/#link-header). (optional)
      limit - A limit on the number of objects to return (optional, default to 20)
      additionalHeaders - additionalHeaders for this call
      Returns:
      GovernanceBundlesResponse
      Throws:
      ApiException - if fails to make API call
    • optIn

      public OptInStatusResponse optIn() throws ApiException
      Opt in the Admin Console to entitlement management Opts in the Admin Console to entitlement management
      Returns:
      OptInStatusResponse
      Throws:
      ApiException - if fails to make API call
    • optIn

      public OptInStatusResponse optIn(Map<String,String> additionalHeaders) throws ApiException
      Opt in the Admin Console to entitlement management Opts in the Admin Console to entitlement management
      Parameters:
      additionalHeaders - additionalHeaders for this call
      Returns:
      OptInStatusResponse
      Throws:
      ApiException - if fails to make API call
    • optOut

      public OptInStatusResponse optOut() throws ApiException
      Opt out the Admin Console from entitlement management Opts out the Admin Console from entitlement management
      Returns:
      OptInStatusResponse
      Throws:
      ApiException - if fails to make API call
    • optOut

      public OptInStatusResponse optOut(Map<String,String> additionalHeaders) throws ApiException
      Opt out the Admin Console from entitlement management Opts out the Admin Console from entitlement management
      Parameters:
      additionalHeaders - additionalHeaders for this call
      Returns:
      OptInStatusResponse
      Throws:
      ApiException - if fails to make API call
    • replaceGovernanceBundle

      public GovernanceBundle replaceGovernanceBundle(String bundleId, GovernanceBundleUpdateRequest governanceBundleUpdateRequest) throws ApiException
      Replace a governance bundle Replaces the properties of a governance bundle for the Admin Console
      Parameters:
      bundleId - The `id` of a bundle (required)
      governanceBundleUpdateRequest - (required)
      Returns:
      GovernanceBundle
      Throws:
      ApiException - if fails to make API call
    • replaceGovernanceBundle

      public GovernanceBundle replaceGovernanceBundle(String bundleId, GovernanceBundleUpdateRequest governanceBundleUpdateRequest, Map<String,String> additionalHeaders) throws ApiException
      Replace a governance bundle Replaces the properties of a governance bundle for the Admin Console
      Parameters:
      bundleId - The `id` of a bundle (required)
      governanceBundleUpdateRequest - (required)
      additionalHeaders - additionalHeaders for this call
      Returns:
      GovernanceBundle
      Throws:
      ApiException - if fails to make API call
    • getObjectMapper

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