Interface DemandSignal
- 
- All Superinterfaces:
- AutoCloseable
 - All Known Implementing Classes:
- DemandSignalClient
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20231107") public interface DemandSignal extends AutoCloseableOCI Control Center (OCC) Capacity Management enables you to manage capacity requests in realms where OCI Control Center Capacity Management is available.For more information, see OCI Control Center. This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user. 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description BulkCreateOccmDemandSignalItemResponsebulkCreateOccmDemandSignalItem(BulkCreateOccmDemandSignalItemRequest request)This API will help in bulk creation of demand signal items.CreateOccmDemandSignalResponsecreateOccmDemandSignal(CreateOccmDemandSignalRequest request)This is a post API to create occm demand signal.CreateOccmDemandSignalItemResponsecreateOccmDemandSignalItem(CreateOccmDemandSignalItemRequest request)This API will create a demand signal item representing a resource request.DeleteOccmDemandSignalResponsedeleteOccmDemandSignal(DeleteOccmDemandSignalRequest request)This is a DELETE API which deletes a demand signal with the provided demand signal ocid.DeleteOccmDemandSignalItemResponsedeleteOccmDemandSignalItem(DeleteOccmDemandSignalItemRequest request)This is a DELETE API which deletes a demand signal item with the provided demand signal item ocid.StringgetEndpoint()Gets the set endpoint for REST call (ex, https://www.example.com)GetOccmDemandSignalResponsegetOccmDemandSignal(GetOccmDemandSignalRequest request)This is a GET API which gets the detailed information about a specific demand signal.GetOccmDemandSignalItemResponsegetOccmDemandSignalItem(GetOccmDemandSignalItemRequest request)This is a GET API to get the details of a demand signal item resource representing the details of the resource demanded by you.DemandSignalPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.DemandSignalWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.ListOccmDemandSignalCatalogResourcesResponselistOccmDemandSignalCatalogResources(ListOccmDemandSignalCatalogResourcesRequest request)This API will list all the resources across all demand signal catalogs for a given namespace and customer group containing the caller compartment.ListOccmDemandSignalDeliveriesResponselistOccmDemandSignalDeliveries(ListOccmDemandSignalDeliveriesRequest request)This GET call is used to list all demand signals delivery resources within the compartment passed as a query param.ListOccmDemandSignalItemsResponselistOccmDemandSignalItems(ListOccmDemandSignalItemsRequest request)This API will list the detailed information about the resources demanded as part of the demand signal.ListOccmDemandSignalsResponselistOccmDemandSignals(ListOccmDemandSignalsRequest request)This GET call is used to list all demand signals within the compartment passed as a query parameter.voidrefreshClient()Rebuilds the client from scratch.voidsetEndpoint(String endpoint)Sets the endpoint to call (ex, https://www.example.com).voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).UpdateOccmDemandSignalResponseupdateOccmDemandSignal(UpdateOccmDemandSignalRequest request)This is a PUT API which shall be used to update the metadata of the demand signal.UpdateOccmDemandSignalItemResponseupdateOccmDemandSignalItem(UpdateOccmDemandSignalItemRequest request)This is a PUT API which can be used to update the demand signal item resource.voiduseRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)Determines whether realm specific endpoint should be used or not.- 
Methods inherited from interface java.lang.AutoCloseableclose
 
- 
 
- 
- 
- 
Method Detail- 
refreshClientvoid refreshClient() Rebuilds the client from scratch.Useful to refresh certificates. 
 - 
setEndpointvoid setEndpoint(String endpoint) Sets the endpoint to call (ex, https://www.example.com).- Parameters:
- endpoint- The endpoint of the service.
 
 - 
getEndpointString getEndpoint() Gets the set endpoint for REST call (ex, https://www.example.com)
 - 
setRegionvoid setRegion(Region region) Sets the region to call (ex, Region.US_PHOENIX_1).Note, this will call setEndpointafter resolving the endpoint. If the service is not available in this Region, however, an IllegalArgumentException will be raised.- Parameters:
- region- The region of the service.
 
 - 
setRegionvoid setRegion(String regionId) Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format ( Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Parameters:
- regionId- The public region ID.
 
 - 
useRealmSpecificEndpointTemplatevoid useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled) Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false” - Parameters:
- realmSpecificEndpointTemplateEnabled- flag to enable the use of realm specific endpoint template
 
 - 
bulkCreateOccmDemandSignalItemBulkCreateOccmDemandSignalItemResponse bulkCreateOccmDemandSignalItem(BulkCreateOccmDemandSignalItemRequest request) This API will help in bulk creation of demand signal items.This API is atomic i.e either all the demand signal item resources will be created or none will be created. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/capacitymanagement/BulkCreateOccmDemandSignalItemExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use BulkCreateOccmDemandSignalItem API. 
 
 - 
createOccmDemandSignalCreateOccmDemandSignalResponse createOccmDemandSignal(CreateOccmDemandSignalRequest request) This is a post API to create occm demand signal.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/capacitymanagement/CreateOccmDemandSignalExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateOccmDemandSignal API. 
 
 - 
createOccmDemandSignalItemCreateOccmDemandSignalItemResponse createOccmDemandSignalItem(CreateOccmDemandSignalItemRequest request) This API will create a demand signal item representing a resource request.This needs to be grouped under a demand signal. - Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/capacitymanagement/CreateOccmDemandSignalItemExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateOccmDemandSignalItem API. 
 
 - 
deleteOccmDemandSignalDeleteOccmDemandSignalResponse deleteOccmDemandSignal(DeleteOccmDemandSignalRequest request) This is a DELETE API which deletes a demand signal with the provided demand signal ocid.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/capacitymanagement/DeleteOccmDemandSignalExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteOccmDemandSignal API. 
 
 - 
deleteOccmDemandSignalItemDeleteOccmDemandSignalItemResponse deleteOccmDemandSignalItem(DeleteOccmDemandSignalItemRequest request) This is a DELETE API which deletes a demand signal item with the provided demand signal item ocid.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/capacitymanagement/DeleteOccmDemandSignalItemExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteOccmDemandSignalItem API. 
 
 - 
getOccmDemandSignalGetOccmDemandSignalResponse getOccmDemandSignal(GetOccmDemandSignalRequest request) This is a GET API which gets the detailed information about a specific demand signal.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/capacitymanagement/GetOccmDemandSignalExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetOccmDemandSignal API. 
 
 - 
getOccmDemandSignalItemGetOccmDemandSignalItemResponse getOccmDemandSignalItem(GetOccmDemandSignalItemRequest request) This is a GET API to get the details of a demand signal item resource representing the details of the resource demanded by you.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/capacitymanagement/GetOccmDemandSignalItemExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetOccmDemandSignalItem API. 
 
 - 
listOccmDemandSignalCatalogResourcesListOccmDemandSignalCatalogResourcesResponse listOccmDemandSignalCatalogResources(ListOccmDemandSignalCatalogResourcesRequest request) This API will list all the resources across all demand signal catalogs for a given namespace and customer group containing the caller compartment.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/capacitymanagement/ListOccmDemandSignalCatalogResourcesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccmDemandSignalCatalogResources API. 
 
 - 
listOccmDemandSignalDeliveriesListOccmDemandSignalDeliveriesResponse listOccmDemandSignalDeliveries(ListOccmDemandSignalDeliveriesRequest request) This GET call is used to list all demand signals delivery resources within the compartment passed as a query param.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/capacitymanagement/ListOccmDemandSignalDeliveriesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccmDemandSignalDeliveries API. 
 
 - 
listOccmDemandSignalItemsListOccmDemandSignalItemsResponse listOccmDemandSignalItems(ListOccmDemandSignalItemsRequest request) This API will list the detailed information about the resources demanded as part of the demand signal.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/capacitymanagement/ListOccmDemandSignalItemsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccmDemandSignalItems API. 
 
 - 
listOccmDemandSignalsListOccmDemandSignalsResponse listOccmDemandSignals(ListOccmDemandSignalsRequest request) This GET call is used to list all demand signals within the compartment passed as a query parameter.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/capacitymanagement/ListOccmDemandSignalsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListOccmDemandSignals API. 
 
 - 
updateOccmDemandSignalUpdateOccmDemandSignalResponse updateOccmDemandSignal(UpdateOccmDemandSignalRequest request) This is a PUT API which shall be used to update the metadata of the demand signal.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/capacitymanagement/UpdateOccmDemandSignalExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateOccmDemandSignal API. 
 
 - 
updateOccmDemandSignalItemUpdateOccmDemandSignalItemResponse updateOccmDemandSignalItem(UpdateOccmDemandSignalItemRequest request) This is a PUT API which can be used to update the demand signal item resource.- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
- Throws:
- BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_Retries- Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/3.75.0/capacitymanagement/UpdateOccmDemandSignalItemExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateOccmDemandSignalItem API. 
 
 - 
getWaitersDemandSignalWaiters getWaiters() Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
 
 - 
getPaginatorsDemandSignalPaginators getPaginators() Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Returns:
- The service paginators.
 
 
- 
 
-