Class ManagedInstanceAsyncClient
- java.lang.Object
- 
- com.oracle.bmc.http.internal.BaseAsyncClient
- 
- com.oracle.bmc.osmanagementhub.ManagedInstanceAsyncClient
 
 
- 
- All Implemented Interfaces:
- ManagedInstanceAsync,- AutoCloseable
 
 @Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public class ManagedInstanceAsyncClient extends BaseAsyncClient implements ManagedInstanceAsyncAsync client implementation for ManagedInstance service.
 There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response to the call is anInputStream, like getObject Api in object storage service, developers need to process the stream in AsyncHandler, and not anywhere else, because the stream will be closed right after the AsyncHandler is invoked.
 2. Use Java Future: using Java Future, developers need to close the stream after they are done with the Java Future.
 Accessing the result should be done in a mutually exclusive manner, either through the Future or the AsyncHandler, but not both. If the Future is used, the caller should pass in null as the AsyncHandler. If the AsyncHandler is used, it is still safe to use the Future to determine whether or not the request was completed via Future.isDone/isCancelled.
 Please refer to https://github.com/oracle/oci-java-sdk/blob/master/bmc-examples/src/main/java/ResteasyClientWithObjectStorageExample.java
- 
- 
Nested Class SummaryNested Classes Modifier and Type Class Description static classManagedInstanceAsyncClient.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 ManagedInstance.
 - 
Constructor SummaryConstructors Constructor Description ManagedInstanceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.ManagedInstanceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.ManagedInstanceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ManagedInstanceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.ManagedInstanceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.ManagedInstanceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.ManagedInstanceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
 - 
Method Summary- 
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.osmanagementhub.ManagedInstanceAsyncgetEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
 
- 
 
- 
- 
- 
Constructor Detail- 
ManagedInstanceAsyncClient@Deprecated public ManagedInstanceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ManagedInstanceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
 
 - 
ManagedInstanceAsyncClient@Deprecated public ManagedInstanceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ManagedInstanceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
 
 - 
ManagedInstanceAsyncClient@Deprecated public ManagedInstanceAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ManagedInstanceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
 
 - 
ManagedInstanceAsyncClient@Deprecated public ManagedInstanceAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory) Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
- authenticationDetailsProvider- The authentication details (see- ManagedInstanceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
 
 - 
ManagedInstanceAsyncClient@Deprecated public ManagedInstanceAsyncClient(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- ManagedInstanceAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
- configuration-- ClientBuilderBase.configuration
- clientConfigurator-- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
- defaultRequestSignerFactory-- ClientBuilderBase.requestSignerFactory
- additionalClientConfigurators-- ClientBuilderBase.additionalClientConfigurators
 
 - 
ManagedInstanceAsyncClient@Deprecated public ManagedInstanceAsyncClient(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- ManagedInstanceAsyncClient.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)
 
 - 
ManagedInstanceAsyncClient@Deprecated public ManagedInstanceAsyncClient(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- ManagedInstanceAsyncClient.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
 
 
- 
 - 
Method Detail- 
builderpublic static ManagedInstanceAsyncClient.Builder builder() Create a builder for this client.- Returns:
- builder
 
 - 
setRegionpublic void setRegion(Region region) Description copied from interface:ManagedInstanceAsyncSets 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.- Specified by:
- setRegionin interface- ManagedInstanceAsync
- Parameters:
- region- The region of the service.
 
 - 
setRegionpublic void setRegion(String regionId) Description copied from interface:ManagedInstanceAsyncSets 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.- Specified by:
- setRegionin interface- ManagedInstanceAsync
- Parameters:
- regionId- The public region ID.
 
 - 
associateManagedInstancesWithManagementStationpublic Future<AssociateManagedInstancesWithManagementStationResponse> associateManagedInstancesWithManagementStation(AssociateManagedInstancesWithManagementStationRequest request, AsyncHandler<AssociateManagedInstancesWithManagementStationRequest,AssociateManagedInstancesWithManagementStationResponse> handler) Description copied from interface:ManagedInstanceAsyncAssociates managed instances to the specified management station- Specified by:
- associateManagedInstancesWithManagementStationin interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
attachProfileToManagedInstancepublic Future<AttachProfileToManagedInstanceResponse> attachProfileToManagedInstance(AttachProfileToManagedInstanceRequest request, AsyncHandler<AttachProfileToManagedInstanceRequest,AttachProfileToManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncAdds profile to a managed instance.After the profile has been added, the instance can be registered as a managed instance. - Specified by:
- attachProfileToManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
attachSoftwareSourcesToManagedInstancepublic Future<AttachSoftwareSourcesToManagedInstanceResponse> attachSoftwareSourcesToManagedInstance(AttachSoftwareSourcesToManagedInstanceRequest request, AsyncHandler<AttachSoftwareSourcesToManagedInstanceRequest,AttachSoftwareSourcesToManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncAdds software sources to a managed instance.After the software source has been added, then packages from that software source can be installed on the managed instance. - Specified by:
- attachSoftwareSourcesToManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
deleteManagedInstancepublic Future<DeleteManagedInstanceResponse> deleteManagedInstance(DeleteManagedInstanceRequest request, AsyncHandler<DeleteManagedInstanceRequest,DeleteManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncUnregisters the specified managed instance from the service.Once unregistered, the service will no longer manage the instance. For Linux instances, yum or DNF repository files will be restored to their state prior to registration. - Specified by:
- deleteManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
detachProfileFromManagedInstancepublic Future<DetachProfileFromManagedInstanceResponse> detachProfileFromManagedInstance(DetachProfileFromManagedInstanceRequest request, AsyncHandler<DetachProfileFromManagedInstanceRequest,DetachProfileFromManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncDetaches profile from a managed instance.After the profile has been removed, the instance cannot be registered as a managed instance. - Specified by:
- detachProfileFromManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
detachSoftwareSourcesFromManagedInstancepublic Future<DetachSoftwareSourcesFromManagedInstanceResponse> detachSoftwareSourcesFromManagedInstance(DetachSoftwareSourcesFromManagedInstanceRequest request, AsyncHandler<DetachSoftwareSourcesFromManagedInstanceRequest,DetachSoftwareSourcesFromManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncRemoves software sources from a managed instance.Packages will no longer be able to be installed from these software sources. - Specified by:
- detachSoftwareSourcesFromManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
disableModuleStreamOnManagedInstancepublic Future<DisableModuleStreamOnManagedInstanceResponse> disableModuleStreamOnManagedInstance(DisableModuleStreamOnManagedInstanceRequest request, AsyncHandler<DisableModuleStreamOnManagedInstanceRequest,DisableModuleStreamOnManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncDisables a module stream on a managed instance.After the stream is disabled, it is no longer possible to install the profiles that are contained by the stream. All installed profiles must be removed prior to disabling a module stream. - Specified by:
- disableModuleStreamOnManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
enableModuleStreamOnManagedInstancepublic Future<EnableModuleStreamOnManagedInstanceResponse> enableModuleStreamOnManagedInstance(EnableModuleStreamOnManagedInstanceRequest request, AsyncHandler<EnableModuleStreamOnManagedInstanceRequest,EnableModuleStreamOnManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncEnables a module stream on a managed instance.After the stream is enabled, it is possible to install the profiles that are contained by the stream. Enabling a stream that is already enabled will succeed. Attempting to enable a different stream for a module that already has a stream enabled results in an error. - Specified by:
- enableModuleStreamOnManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
getManagedInstancepublic Future<GetManagedInstanceResponse> getManagedInstance(GetManagedInstanceRequest request, AsyncHandler<GetManagedInstanceRequest,GetManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncGets information about the specified managed instance.- Specified by:
- getManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
getWindowsUpdatepublic Future<GetWindowsUpdateResponse> getWindowsUpdate(GetWindowsUpdateRequest request, AsyncHandler<GetWindowsUpdateRequest,GetWindowsUpdateResponse> handler) Description copied from interface:ManagedInstanceAsyncReturns a Windows Update object.- Specified by:
- getWindowsUpdatein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
installAllWindowsUpdatesOnManagedInstancesInCompartmentpublic Future<InstallAllWindowsUpdatesOnManagedInstancesInCompartmentResponse> installAllWindowsUpdatesOnManagedInstancesInCompartment(InstallAllWindowsUpdatesOnManagedInstancesInCompartmentRequest request, AsyncHandler<InstallAllWindowsUpdatesOnManagedInstancesInCompartmentRequest,InstallAllWindowsUpdatesOnManagedInstancesInCompartmentResponse> handler) Description copied from interface:ManagedInstanceAsyncInstalls all of the available Windows updates for managed instances in a compartment.This applies only to standalone Windows instances. This will not update instances that belong to a group. - Specified by:
- installAllWindowsUpdatesOnManagedInstancesInCompartmentin interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
installModuleStreamProfileOnManagedInstancepublic Future<InstallModuleStreamProfileOnManagedInstanceResponse> installModuleStreamProfileOnManagedInstance(InstallModuleStreamProfileOnManagedInstanceRequest request, AsyncHandler<InstallModuleStreamProfileOnManagedInstanceRequest,InstallModuleStreamProfileOnManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncInstalls a profile for an module stream.The stream must be enabled before a profile can be installed. If a module stream defines multiple profiles, each one can be installed independently. - Specified by:
- installModuleStreamProfileOnManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
installPackagesOnManagedInstancepublic Future<InstallPackagesOnManagedInstanceResponse> installPackagesOnManagedInstance(InstallPackagesOnManagedInstanceRequest request, AsyncHandler<InstallPackagesOnManagedInstanceRequest,InstallPackagesOnManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncInstalls packages on a managed instance.- Specified by:
- installPackagesOnManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
installWindowsUpdatesOnManagedInstancepublic Future<InstallWindowsUpdatesOnManagedInstanceResponse> installWindowsUpdatesOnManagedInstance(InstallWindowsUpdatesOnManagedInstanceRequest request, AsyncHandler<InstallWindowsUpdatesOnManagedInstanceRequest,InstallWindowsUpdatesOnManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncInstalls Windows updates on the specified managed instance.- Specified by:
- installWindowsUpdatesOnManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listManagedInstanceAvailablePackagespublic Future<ListManagedInstanceAvailablePackagesResponse> listManagedInstanceAvailablePackages(ListManagedInstanceAvailablePackagesRequest request, AsyncHandler<ListManagedInstanceAvailablePackagesRequest,ListManagedInstanceAvailablePackagesResponse> handler) Description copied from interface:ManagedInstanceAsyncReturns a list of packages that are available for installation on a managed instance.- Specified by:
- listManagedInstanceAvailablePackagesin interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listManagedInstanceAvailableSoftwareSourcespublic Future<ListManagedInstanceAvailableSoftwareSourcesResponse> listManagedInstanceAvailableSoftwareSources(ListManagedInstanceAvailableSoftwareSourcesRequest request, AsyncHandler<ListManagedInstanceAvailableSoftwareSourcesRequest,ListManagedInstanceAvailableSoftwareSourcesResponse> handler) Description copied from interface:ManagedInstanceAsyncReturns a list of software sources that can be attached to the specified managed instance.Any software sources already attached to the instance are not included in the list. - Specified by:
- listManagedInstanceAvailableSoftwareSourcesin interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listManagedInstanceAvailableWindowsUpdatespublic Future<ListManagedInstanceAvailableWindowsUpdatesResponse> listManagedInstanceAvailableWindowsUpdates(ListManagedInstanceAvailableWindowsUpdatesRequest request, AsyncHandler<ListManagedInstanceAvailableWindowsUpdatesRequest,ListManagedInstanceAvailableWindowsUpdatesResponse> handler) Description copied from interface:ManagedInstanceAsyncReturns a list of Windows updates that can be installed on the specified managed instance.- Specified by:
- listManagedInstanceAvailableWindowsUpdatesin interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listManagedInstanceErratapublic Future<ListManagedInstanceErrataResponse> listManagedInstanceErrata(ListManagedInstanceErrataRequest request, AsyncHandler<ListManagedInstanceErrataRequest,ListManagedInstanceErrataResponse> handler) Description copied from interface:ManagedInstanceAsyncReturns a list of applicable errata on the managed instance.- Specified by:
- listManagedInstanceErratain interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listManagedInstanceInstalledPackagespublic Future<ListManagedInstanceInstalledPackagesResponse> listManagedInstanceInstalledPackages(ListManagedInstanceInstalledPackagesRequest request, AsyncHandler<ListManagedInstanceInstalledPackagesRequest,ListManagedInstanceInstalledPackagesResponse> handler) Description copied from interface:ManagedInstanceAsyncLists the packages that are installed on the managed instance.- Specified by:
- listManagedInstanceInstalledPackagesin interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listManagedInstanceInstalledWindowsUpdatespublic Future<ListManagedInstanceInstalledWindowsUpdatesResponse> listManagedInstanceInstalledWindowsUpdates(ListManagedInstanceInstalledWindowsUpdatesRequest request, AsyncHandler<ListManagedInstanceInstalledWindowsUpdatesRequest,ListManagedInstanceInstalledWindowsUpdatesResponse> handler) Description copied from interface:ManagedInstanceAsyncReturns a list of Windows updates that have been installed on the specified managed instance.- Specified by:
- listManagedInstanceInstalledWindowsUpdatesin interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listManagedInstanceModulespublic Future<ListManagedInstanceModulesResponse> listManagedInstanceModules(ListManagedInstanceModulesRequest request, AsyncHandler<ListManagedInstanceModulesRequest,ListManagedInstanceModulesResponse> handler) Description copied from interface:ManagedInstanceAsyncRetrieves a list of modules, along with streams of the modules, from a managed instance.Filters may be applied to select a subset of modules based on the filter criteria. - Specified by:
- listManagedInstanceModulesin interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listManagedInstanceUpdatablePackagespublic Future<ListManagedInstanceUpdatablePackagesResponse> listManagedInstanceUpdatablePackages(ListManagedInstanceUpdatablePackagesRequest request, AsyncHandler<ListManagedInstanceUpdatablePackagesRequest,ListManagedInstanceUpdatablePackagesResponse> handler) Description copied from interface:ManagedInstanceAsyncReturns a list of updatable packages for a managed instance.- Specified by:
- listManagedInstanceUpdatablePackagesin interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listManagedInstancespublic Future<ListManagedInstancesResponse> listManagedInstances(ListManagedInstancesRequest request, AsyncHandler<ListManagedInstancesRequest,ListManagedInstancesResponse> handler) Description copied from interface:ManagedInstanceAsyncLists managed instances that match the specified compartment or managed instance OCID.Filter the list against a variety of criteria including but not limited to its name, status, architecture, and OS version. - Specified by:
- listManagedInstancesin interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
listWindowsUpdatespublic Future<ListWindowsUpdatesResponse> listWindowsUpdates(ListWindowsUpdatesRequest request, AsyncHandler<ListWindowsUpdatesRequest,ListWindowsUpdatesResponse> handler) Description copied from interface:ManagedInstanceAsyncLists Windows updates that have been reported to the service.- Specified by:
- listWindowsUpdatesin interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
manageModuleStreamsOnManagedInstancepublic Future<ManageModuleStreamsOnManagedInstanceResponse> manageModuleStreamsOnManagedInstance(ManageModuleStreamsOnManagedInstanceRequest request, AsyncHandler<ManageModuleStreamsOnManagedInstanceRequest,ManageModuleStreamsOnManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncEnables or disables module streams and installs or removes module stream profiles.Once complete, the state of the modules, streams, and profiles will match the state indicated in the operation. See manageModuleStreamsOnManagedInstanceDetailsfor more information. You can preform this operation as a dry run. For a dry run, the service evaluates the operation against the current module, stream, and profile state on the managed instance, but does not commit the changes. Instead, the service returns work request log or error entries indicating the impact of the operation.- Specified by:
- manageModuleStreamsOnManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
rebootManagedInstancepublic Future<RebootManagedInstanceResponse> rebootManagedInstance(RebootManagedInstanceRequest request, AsyncHandler<RebootManagedInstanceRequest,RebootManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncInitiates a reboot of the specified managed instance.You can also specify the number of minutes the service waits before marking the reboot operation as failed. - Specified by:
- rebootManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
refreshSoftwareOnManagedInstancepublic Future<RefreshSoftwareOnManagedInstanceResponse> refreshSoftwareOnManagedInstance(RefreshSoftwareOnManagedInstanceRequest request, AsyncHandler<RefreshSoftwareOnManagedInstanceRequest,RefreshSoftwareOnManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncRefreshes the package or Windows update information on a managed instance with the latest data from the software source.This does not update packages on the instance. It provides the service with the latest package data. - Specified by:
- refreshSoftwareOnManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
removeModuleStreamProfileFromManagedInstancepublic Future<RemoveModuleStreamProfileFromManagedInstanceResponse> removeModuleStreamProfileFromManagedInstance(RemoveModuleStreamProfileFromManagedInstanceRequest request, AsyncHandler<RemoveModuleStreamProfileFromManagedInstanceRequest,RemoveModuleStreamProfileFromManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncRemoves a profile for a module stream that is installed on a managed instance.If a module stream is provided, rather than a fully qualified profile, all profiles that have been installed for the module stream will be removed. - Specified by:
- removeModuleStreamProfileFromManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
removePackagesFromManagedInstancepublic Future<RemovePackagesFromManagedInstanceResponse> removePackagesFromManagedInstance(RemovePackagesFromManagedInstanceRequest request, AsyncHandler<RemovePackagesFromManagedInstanceRequest,RemovePackagesFromManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncRemoves an installed package from a managed instance.- Specified by:
- removePackagesFromManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
switchModuleStreamOnManagedInstancepublic Future<SwitchModuleStreamOnManagedInstanceResponse> switchModuleStreamOnManagedInstance(SwitchModuleStreamOnManagedInstanceRequest request, AsyncHandler<SwitchModuleStreamOnManagedInstanceRequest,SwitchModuleStreamOnManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncEnables a new stream for a module that already has a stream enabled.If any profiles or packages from the original module are installed, switching to a new stream will remove the existing packages and install their counterparts in the new stream. - Specified by:
- switchModuleStreamOnManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
updateAllPackagesOnManagedInstancesInCompartmentpublic Future<UpdateAllPackagesOnManagedInstancesInCompartmentResponse> updateAllPackagesOnManagedInstancesInCompartment(UpdateAllPackagesOnManagedInstancesInCompartmentRequest request, AsyncHandler<UpdateAllPackagesOnManagedInstancesInCompartmentRequest,UpdateAllPackagesOnManagedInstancesInCompartmentResponse> handler) Description copied from interface:ManagedInstanceAsyncInstall all of the available package updates for all of the managed instances in a compartment.This applies only to standalone non-Windows instances. This will not update instances that belong to a group or lifecycle environment. - Specified by:
- updateAllPackagesOnManagedInstancesInCompartmentin interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
updateManagedInstancepublic Future<UpdateManagedInstanceResponse> updateManagedInstance(UpdateManagedInstanceRequest request, AsyncHandler<UpdateManagedInstanceRequest,UpdateManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncUpdates the specified managed instance information, such as description, ONS topic, and associated management station.- Specified by:
- updateManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
updatePackagesOnManagedInstancepublic Future<UpdatePackagesOnManagedInstanceResponse> updatePackagesOnManagedInstance(UpdatePackagesOnManagedInstanceRequest request, AsyncHandler<UpdatePackagesOnManagedInstanceRequest,UpdatePackagesOnManagedInstanceResponse> handler) Description copied from interface:ManagedInstanceAsyncUpdates a package on a managed instance.- Specified by:
- updatePackagesOnManagedInstancein interface- ManagedInstanceAsync
- Parameters:
- request- The request object containing the details to send
- handler- The request handler to invoke upon completion, may be null.
- Returns:
- A Future that can be used to get the response if no AsyncHandler was provided. Note, if you provide an AsyncHandler and use the Future, some types of responses (like java.io.InputStream) may not be able to be read in both places as the underlying stream may only be consumed once.
 
 - 
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() 
 - 
getMinimumClientCommonLibraryVersionFromClientpublic Optional<String> getMinimumClientCommonLibraryVersionFromClient() 
 - 
clientCallprotected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder) 
 
- 
 
-