Class OptimizerClient
- java.lang.Object
- 
- com.oracle.bmc.http.internal.BaseSyncClient
- 
- com.oracle.bmc.optimizer.OptimizerClient
 
 
- 
- All Implemented Interfaces:
- Optimizer,- AutoCloseable
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20200606") public class OptimizerClient extends BaseSyncClient implements Optimizer
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classOptimizerClient.BuilderBuilder class for this client.
 - 
Field SummaryFields Modifier and Type Field Description StringclientCommonLibraryVersionCompatible SDK version, provided by the codegen.Optional<String>minimumClientCommonLibraryVersionFromClientMinimum compatible SDK version, maybe provided by the codegen.static ServiceSERVICEService instance for Optimizer.
 - 
Constructor SummaryConstructors Constructor Description OptimizerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.OptimizerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.OptimizerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.OptimizerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.OptimizerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.OptimizerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.OptimizerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.OptimizerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
 - 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static OptimizerClient.Builderbuilder()Create a builder for this client.BulkApplyRecommendationsResponsebulkApplyRecommendations(BulkApplyRecommendationsRequest request)Applies the specified recommendations to the resources.voidclose()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.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()GetEnrollmentStatusResponsegetEnrollmentStatus(GetEnrollmentStatusRequest request)Gets the Cloud Advisor enrollment status.Optional<String>getMinimumClientCommonLibraryVersionFromClient()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.voidpopulateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)Populate the parameters in the endpoint with its corresponding value and update the base endpoint.voidrefreshClient()Rebuild the backingHttpClient.voidsetEndpoint(String endpoint)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’).voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.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 useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.- 
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClientclientCall
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface java.lang.AutoCloseableclose
 - 
Methods inherited from interface com.oracle.bmc.optimizer.OptimizergetEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
 
- 
 
- 
- 
- 
Constructor Detail- 
OptimizerClient@Deprecated public OptimizerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- OptimizerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
 
 - 
OptimizerClient@Deprecated public OptimizerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- OptimizerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
 
 - 
OptimizerClient@Deprecated public OptimizerClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- OptimizerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
 
 - 
OptimizerClient@Deprecated public OptimizerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- OptimizerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
 
 - 
OptimizerClient@Deprecated public OptimizerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- OptimizerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
 
 - 
OptimizerClient@Deprecated public OptimizerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- OptimizerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
- endpoint-- ClientBuilderBase.endpoint(java.lang.String)
 
 - 
OptimizerClient@Deprecated public OptimizerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- OptimizerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
- endpoint-- ClientBuilderBase.endpoint(java.lang.String)
- signingStrategyRequestSignerFactories-- ClientBuilderBase.signingStrategyRequestSignerFactories
 
 - 
OptimizerClient@Deprecated public OptimizerClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- OptimizerClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
- endpoint-- ClientBuilderBase.endpoint(java.lang.String)
- signingStrategyRequestSignerFactories-- ClientBuilderBase.signingStrategyRequestSignerFactories
- executorService-- OptimizerClient.Builder.executorService
 
 
- 
 - 
Method Detail- 
builderpublic static OptimizerClient.Builder builder() Create a builder for this client.- Returns:
- builder
 
 - 
setRegionpublic void setRegion(Region region) Description copied from interface:OptimizerSets 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.
 - 
setRegionpublic void setRegion(String regionId) Description copied from interface:OptimizerSets 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.
 - 
bulkApplyRecommendationspublic BulkApplyRecommendationsResponse bulkApplyRecommendations(BulkApplyRecommendationsRequest request) Description copied from interface:OptimizerApplies the specified recommendations to the resources.- Specified by:
- bulkApplyRecommendationsin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
createProfilepublic CreateProfileResponse createProfile(CreateProfileRequest request) Description copied from interface:OptimizerCreates a new profile.- Specified by:
- createProfilein interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
deleteProfilepublic DeleteProfileResponse deleteProfile(DeleteProfileRequest request) Description copied from interface:OptimizerDeletes the specified profile.Uses the profile’s OCID to determine which profile to delete. - Specified by:
- deleteProfilein interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
filterResourceActionspublic FilterResourceActionsResponse filterResourceActions(FilterResourceActionsRequest request) Description copied from interface:OptimizerQueries the Cloud Advisor resource actions that are supported.- Specified by:
- filterResourceActionsin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getCategorypublic GetCategoryResponse getCategory(GetCategoryRequest request) Description copied from interface:OptimizerGets the category that corresponds to the specified OCID.- Specified by:
- getCategoryin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getEnrollmentStatuspublic GetEnrollmentStatusResponse getEnrollmentStatus(GetEnrollmentStatusRequest request) Description copied from interface:OptimizerGets the Cloud Advisor enrollment status.- Specified by:
- getEnrollmentStatusin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getProfilepublic GetProfileResponse getProfile(GetProfileRequest request) Description copied from interface:OptimizerGets the specified profile’s information.Uses the profile’s OCID to determine which profile to retrieve. - Specified by:
- getProfilein interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getRecommendationpublic GetRecommendationResponse getRecommendation(GetRecommendationRequest request) Description copied from interface:OptimizerGets the recommendation for the specified OCID.- Specified by:
- getRecommendationin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getResourceActionpublic GetResourceActionResponse getResourceAction(GetResourceActionRequest request) Description copied from interface:OptimizerGets the resource action that corresponds to the specified OCID.- Specified by:
- getResourceActionin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getWorkRequestpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request) Description copied from interface:OptimizerGets the status of the work request associated with the specified ID.- Specified by:
- getWorkRequestin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listCategoriespublic ListCategoriesResponse listCategories(ListCategoriesRequest request) Description copied from interface:OptimizerLists the supported Cloud Advisor categories.- Specified by:
- listCategoriesin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listEnrollmentStatusespublic ListEnrollmentStatusesResponse listEnrollmentStatuses(ListEnrollmentStatusesRequest request) Description copied from interface:OptimizerLists the Cloud Advisor enrollment statuses.- Specified by:
- listEnrollmentStatusesin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listHistoriespublic ListHistoriesResponse listHistories(ListHistoriesRequest request) Description copied from interface:OptimizerLists changes to the recommendations based on user activity.For example, lists when recommendations have been implemented, dismissed, postponed, or reactivated. - Specified by:
- listHistoriesin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listProfileLevelspublic ListProfileLevelsResponse listProfileLevels(ListProfileLevelsRequest request) Description copied from interface:OptimizerLists the existing profile levels.- Specified by:
- listProfileLevelsin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listProfilespublic ListProfilesResponse listProfiles(ListProfilesRequest request) Description copied from interface:OptimizerLists the existing profiles.- Specified by:
- listProfilesin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listRecommendationStrategiespublic ListRecommendationStrategiesResponse listRecommendationStrategies(ListRecommendationStrategiesRequest request) Description copied from interface:OptimizerLists the existing strategies.- Specified by:
- listRecommendationStrategiesin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listRecommendationspublic ListRecommendationsResponse listRecommendations(ListRecommendationsRequest request) Description copied from interface:OptimizerLists the Cloud Advisor recommendations that are currently supported.- Specified by:
- listRecommendationsin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listResourceActionQueryableFieldspublic ListResourceActionQueryableFieldsResponse listResourceActionQueryableFields(ListResourceActionQueryableFieldsRequest request) Description copied from interface:OptimizerLists the fields that are indexed for querying and their associated value types.- Specified by:
- listResourceActionQueryableFieldsin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listResourceActionspublic ListResourceActionsResponse listResourceActions(ListResourceActionsRequest request) Description copied from interface:OptimizerLists the Cloud Advisor resource actions that are supported.- Specified by:
- listResourceActionsin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestErrorspublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request) Description copied from interface:OptimizerLists errors associated with the specified work request.- Specified by:
- listWorkRequestErrorsin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestLogspublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request) Description copied from interface:OptimizerLists the logs associated with the specified work request.- Specified by:
- listWorkRequestLogsin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
listWorkRequestspublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request) Description copied from interface:OptimizerLists the work requests in the tenancy.The tenancy is the root compartment. - Specified by:
- listWorkRequestsin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateEnrollmentStatuspublic UpdateEnrollmentStatusResponse updateEnrollmentStatus(UpdateEnrollmentStatusRequest request) Description copied from interface:OptimizerUpdates the enrollment status of the tenancy.- Specified by:
- updateEnrollmentStatusin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateProfilepublic UpdateProfileResponse updateProfile(UpdateProfileRequest request) Description copied from interface:OptimizerUpdates the specified profile.Uses the profile’s OCID to determine which profile to update. - Specified by:
- updateProfilein interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateRecommendationpublic UpdateRecommendationResponse updateRecommendation(UpdateRecommendationRequest request) Description copied from interface:OptimizerUpdates the recommendation that corresponds to the specified OCID.Use this operation to implement the following actions: Postpone recommendation * Dismiss recommendation * Reactivate recommendation - Specified by:
- updateRecommendationin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
updateResourceActionpublic UpdateResourceActionResponse updateResourceAction(UpdateResourceActionRequest request) Description copied from interface:OptimizerUpdates 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 - Specified by:
- updateResourceActionin interface- Optimizer
- Parameters:
- request- The request object containing the details to send
- Returns:
- A response object containing details about the completed operation
 
 - 
getWaiterspublic OptimizerWaiters getWaiters() Description copied from interface:OptimizerGets the pre-configured waiters available for resources for this service.- Specified by:
- getWaitersin interface- Optimizer
- Returns:
- The service waiters.
 
 - 
getPaginatorspublic OptimizerPaginators getPaginators() Description copied from interface:OptimizerGets 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.- Specified by:
- getPaginatorsin interface- Optimizer
- Returns:
- The service paginators.
 
 - 
getDefaultConfiguratorprotected ClientConfigurator getDefaultConfigurator() 
 - 
useRealmSpecificEndpointTemplatepublic void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled) This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false - Parameters:
- useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
 
 - 
populateServiceParametersInEndpointpublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap) Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank. - Parameters:
- endpoint- The endpoint template in use
- requiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
 
 - 
updateBaseEndpointpublic final void updateBaseEndpoint(String endpoint) This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters. - Parameters:
- endpoint- The updated endpoint to use
 
 - 
setEndpointpublic final void setEndpoint(String endpoint) 
 - 
getEndpointpublic final String getEndpoint() 
 - 
refreshClientpublic final void refreshClient() Rebuild the backingHttpClient.This will call ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
 - 
closepublic final void close() - Specified by:
- closein interface- AutoCloseable
 
 - 
getClientCommonLibraryVersionpublic String getClientCommonLibraryVersion() 
 
- 
 
-