Interface Optimizer
- 
- All Superinterfaces:
- AutoCloseable
 - All Known Implementing Classes:
- OptimizerClient
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200606") public interface Optimizer extends AutoCloseableUse the Cloud Advisor API to find potential inefficiencies in your tenancy and address them.Cloud Advisor can help you save money, improve performance, strengthen system resilience, and improve security. For more information, see Cloud Advisor. 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 BulkApplyRecommendationsResponsebulkApplyRecommendations(BulkApplyRecommendationsRequest request)Applies the specified recommendations to the resources.CreateProfileResponsecreateProfile(CreateProfileRequest request)Creates a new profile.DeleteProfileResponsedeleteProfile(DeleteProfileRequest request)Deletes the specified profile.FilterResourceActionsResponsefilterResourceActions(FilterResourceActionsRequest request)Queries the Cloud Advisor resource actions that are supported.GetCategoryResponsegetCategory(GetCategoryRequest request)Gets the category that corresponds to the specified OCID.StringgetEndpoint()Gets the set endpoint for REST call (ex, https://www.example.com)GetEnrollmentStatusResponsegetEnrollmentStatus(GetEnrollmentStatusRequest request)Gets the Cloud Advisor enrollment status.OptimizerPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetProfileResponsegetProfile(GetProfileRequest request)Gets the specified profile’s information.GetRecommendationResponsegetRecommendation(GetRecommendationRequest request)Gets the recommendation for the specified OCID.GetResourceActionResponsegetResourceAction(GetResourceActionRequest request)Gets the resource action that corresponds to the specified OCID.OptimizerWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets the status of the work request associated with the specified ID.ListCategoriesResponselistCategories(ListCategoriesRequest request)Lists the supported Cloud Advisor categories.ListEnrollmentStatusesResponselistEnrollmentStatuses(ListEnrollmentStatusesRequest request)Lists the Cloud Advisor enrollment statuses.ListHistoriesResponselistHistories(ListHistoriesRequest request)Lists changes to the recommendations based on user activity.ListProfileLevelsResponselistProfileLevels(ListProfileLevelsRequest request)Lists the existing profile levels.ListProfilesResponselistProfiles(ListProfilesRequest request)Lists the existing profiles.ListRecommendationsResponselistRecommendations(ListRecommendationsRequest request)Lists the Cloud Advisor recommendations that are currently supported.ListRecommendationStrategiesResponselistRecommendationStrategies(ListRecommendationStrategiesRequest request)Lists the existing strategies.ListResourceActionQueryableFieldsResponselistResourceActionQueryableFields(ListResourceActionQueryableFieldsRequest request)Lists the fields that are indexed for querying and their associated value types.ListResourceActionsResponselistResourceActions(ListResourceActionsRequest request)Lists the Cloud Advisor resource actions that are supported.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Lists errors associated with the specified work request.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Lists the logs associated with the specified work request.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in the tenancy.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’).UpdateEnrollmentStatusResponseupdateEnrollmentStatus(UpdateEnrollmentStatusRequest request)Updates the enrollment status of the tenancy.UpdateProfileResponseupdateProfile(UpdateProfileRequest request)Updates the specified profile.UpdateRecommendationResponseupdateRecommendation(UpdateRecommendationRequest request)Updates the recommendation that corresponds to the specified OCID.UpdateResourceActionResponseupdateResourceAction(UpdateResourceActionRequest request)Updates the resource action that corresponds to the specified OCID.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
 
 - 
bulkApplyRecommendationsBulkApplyRecommendationsResponse bulkApplyRecommendations(BulkApplyRecommendationsRequest request) Applies the specified recommendations to the resources.- 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/optimizer/BulkApplyRecommendationsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use BulkApplyRecommendations API. 
 
 - 
createProfileCreateProfileResponse createProfile(CreateProfileRequest request) Creates a new profile.- 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/optimizer/CreateProfileExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateProfile API. 
 
 - 
deleteProfileDeleteProfileResponse deleteProfile(DeleteProfileRequest request) Deletes the specified profile.Uses the profile’s OCID to determine which profile to delete. - 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/optimizer/DeleteProfileExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteProfile API. 
 
 - 
filterResourceActionsFilterResourceActionsResponse filterResourceActions(FilterResourceActionsRequest request) Queries the Cloud Advisor resource actions that are supported.- 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/optimizer/FilterResourceActionsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use FilterResourceActions API. 
 
 - 
getCategoryGetCategoryResponse getCategory(GetCategoryRequest request) Gets the category that corresponds to the specified 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/optimizer/GetCategoryExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetCategory API. 
 
 - 
getEnrollmentStatusGetEnrollmentStatusResponse getEnrollmentStatus(GetEnrollmentStatusRequest request) Gets the Cloud Advisor enrollment status.- 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/optimizer/GetEnrollmentStatusExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetEnrollmentStatus API. 
 
 - 
getProfileGetProfileResponse getProfile(GetProfileRequest request) Gets the specified profile’s information.Uses the profile’s OCID to determine which profile to retrieve. - 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/optimizer/GetProfileExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetProfile API. 
 
 - 
getRecommendationGetRecommendationResponse getRecommendation(GetRecommendationRequest request) Gets the recommendation for the specified 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/optimizer/GetRecommendationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetRecommendation API. 
 
 - 
getResourceActionGetResourceActionResponse getResourceAction(GetResourceActionRequest request) Gets the resource action that corresponds to the specified 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/optimizer/GetResourceActionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetResourceAction API. 
 
 - 
getWorkRequestGetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) Gets the status of the work request associated with the specified ID.- 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/optimizer/GetWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetWorkRequest API. 
 
 - 
listCategoriesListCategoriesResponse listCategories(ListCategoriesRequest request) Lists the supported Cloud Advisor categories.- 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/optimizer/ListCategoriesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListCategories API. 
 
 - 
listEnrollmentStatusesListEnrollmentStatusesResponse listEnrollmentStatuses(ListEnrollmentStatusesRequest request) Lists the Cloud Advisor enrollment statuses.- 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/optimizer/ListEnrollmentStatusesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListEnrollmentStatuses API. 
 
 - 
listHistoriesListHistoriesResponse listHistories(ListHistoriesRequest request) Lists changes to the recommendations based on user activity.For example, lists when recommendations have been implemented, dismissed, postponed, or reactivated. - 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/optimizer/ListHistoriesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListHistories API. 
 
 - 
listProfileLevelsListProfileLevelsResponse listProfileLevels(ListProfileLevelsRequest request) Lists the existing profile levels.- 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/optimizer/ListProfileLevelsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListProfileLevels API. 
 
 - 
listProfilesListProfilesResponse listProfiles(ListProfilesRequest request) Lists the existing profiles.- 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/optimizer/ListProfilesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListProfiles API. 
 
 - 
listRecommendationStrategiesListRecommendationStrategiesResponse listRecommendationStrategies(ListRecommendationStrategiesRequest request) Lists the existing strategies.- 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/optimizer/ListRecommendationStrategiesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListRecommendationStrategies API. 
 
 - 
listRecommendationsListRecommendationsResponse listRecommendations(ListRecommendationsRequest request) Lists the Cloud Advisor recommendations that are currently supported.- 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/optimizer/ListRecommendationsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListRecommendations API. 
 
 - 
listResourceActionQueryableFieldsListResourceActionQueryableFieldsResponse listResourceActionQueryableFields(ListResourceActionQueryableFieldsRequest request) Lists the fields that are indexed for querying and their associated value types.- 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/optimizer/ListResourceActionQueryableFieldsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListResourceActionQueryableFields API. 
 
 - 
listResourceActionsListResourceActionsResponse listResourceActions(ListResourceActionsRequest request) Lists the Cloud Advisor resource actions that are supported.- 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/optimizer/ListResourceActionsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListResourceActions API. 
 
 - 
listWorkRequestErrorsListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request) Lists errors associated with the specified work request.- 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/optimizer/ListWorkRequestErrorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestErrors API. 
 
 - 
listWorkRequestLogsListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request) Lists the logs associated with the specified work request.- 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/optimizer/ListWorkRequestLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestLogs API. 
 
 - 
listWorkRequestsListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request) Lists the work requests in the tenancy.The tenancy is the root 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/optimizer/ListWorkRequestsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequests API. 
 
 - 
updateEnrollmentStatusUpdateEnrollmentStatusResponse updateEnrollmentStatus(UpdateEnrollmentStatusRequest request) Updates the enrollment status of the tenancy.- 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/optimizer/UpdateEnrollmentStatusExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateEnrollmentStatus API. 
 
 - 
updateProfileUpdateProfileResponse updateProfile(UpdateProfileRequest request) Updates the specified profile.Uses the profile’s OCID to determine which profile to update. - 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/optimizer/UpdateProfileExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateProfile API. 
 
 - 
updateRecommendationUpdateRecommendationResponse updateRecommendation(UpdateRecommendationRequest request) Updates the recommendation that corresponds to the specified OCID.Use this operation to implement the following actions: Postpone recommendation * Dismiss recommendation * Reactivate recommendation - 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 will not retry by default, users can also use RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION provided by the SDK to enable retries for it. 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/optimizer/UpdateRecommendationExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateRecommendation API. 
 
 - 
updateResourceActionUpdateResourceActionResponse updateResourceAction(UpdateResourceActionRequest request) Updates the resource action that corresponds to the specified OCID.Use this operation to implement the following actions: Postpone resource action * Ignore resource action * Reactivate resource action - 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/optimizer/UpdateResourceActionExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateResourceAction API. 
 
 - 
getWaitersOptimizerWaiters getWaiters() Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
 
 - 
getPaginatorsOptimizerPaginators 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.
 
 
- 
 
-