Package com.okta.sdk.resource.api
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptioncreateGovernanceBundle(GovernanceBundleCreateRequest governanceBundleCreateRequest) Create a governance bundle Creates a governance bundle of entitlements for the Admin ConsolecreateGovernanceBundle(GovernanceBundleCreateRequest governanceBundleCreateRequest, Map<String, String> additionalHeaders) Create a governance bundle Creates a governance bundle of entitlements for the Admin ConsolevoiddeleteGovernanceBundle(String bundleId) Delete a governance bundle Deletes an Admin Console governance bundlevoiddeleteGovernanceBundle(String bundleId, Map<String, String> additionalHeaders) Delete a governance bundle Deletes an Admin Console governance bundlegetGovernanceBundle(String bundleId) Retrieve a governance bundle Retrieves a governance bundle for the Admin ConsolegetGovernanceBundle(String bundleId, Map<String, String> additionalHeaders) Retrieve a governance bundle Retrieves a governance bundle for the Admin Consoleprotected static com.fasterxml.jackson.databind.ObjectMapperRetrieve the Admin Console opt-in status Retrieves the entitlement management opt-in status for the Admin ConsolegetOptInStatus(Map<String, String> additionalHeaders) Retrieve the Admin Console opt-in status Retrieves the entitlement management opt-in status for the Admin ConsolelistBundleEntitlements(String bundleId, String after, Integer limit) List all entitlements for a governance bundle Lists all entitlements specific to a governance bundlelistBundleEntitlements(String bundleId, String after, Integer limit, Map<String, String> additionalHeaders) List all entitlements for a governance bundle Lists all entitlements specific to a governance bundlelistBundleEntitlementValues(String bundleId, String entitlementId, String after, Integer limit) List all values for a governance bundle entitlement Lists all entitlement values that are specific to a governance bundle entitlementlistBundleEntitlementValues(String bundleId, String entitlementId, String after, Integer limit, Map<String, String> additionalHeaders) List all values for a governance bundle entitlement Lists all entitlement values that are specific to a governance bundle entitlementlistGovernanceBundles(String after, Integer limit) List all governance bundles Lists all governance bundles for the Admin Console in your orgList all governance bundles Lists all governance bundles for the Admin Console in your orgoptIn()Opt in the Admin Console to entitlement management Opts in the Admin Console to entitlement managementOpt in the Admin Console to entitlement management Opts in the Admin Console to entitlement managementoptOut()Opt out the Admin Console from entitlement management Opts out the Admin Console from entitlement managementOpt out the Admin Console from entitlement management Opts out the Admin Console from entitlement managementreplaceGovernanceBundle(String bundleId, GovernanceBundleUpdateRequest governanceBundleUpdateRequest) Replace a governance bundle Replaces the properties of a governance bundle for the Admin ConsolereplaceGovernanceBundle(String bundleId, GovernanceBundleUpdateRequest governanceBundleUpdateRequest, Map<String, String> additionalHeaders) Replace a governance bundle Replaces the properties of a governance bundle for the Admin ConsolevoidsetApiClient(ApiClient apiClient)
-
Constructor Details
-
GovernanceBundleApi
public GovernanceBundleApi() -
GovernanceBundleApi
-
-
Method Details
-
getApiClient
-
setApiClient
-
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 ApiExceptionCreate 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
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 ApiExceptionDelete 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
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 ApiExceptionRetrieve 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
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
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 ApiExceptionList 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 ApiExceptionList 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 ApiExceptionList 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
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
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
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
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 ApiExceptionReplace 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()
-