@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public class ManagedInstanceGroupAsyncClient extends BaseAsyncClient implements ManagedInstanceGroupAsync
Async client implementation for ManagedInstanceGroup service.
There are two ways to use async client: 1. Use AsyncHandler: using AsyncHandler, if the response
to the call is an InputStream
, 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
Modifier and Type | Class and Description |
---|---|
static class |
ManagedInstanceGroupAsyncClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for ManagedInstanceGroup.
|
Constructor and Description |
---|
ManagedInstanceGroupAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
ManagedInstanceGroupAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
ManagedInstanceGroupAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
ManagedInstanceGroupAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
ManagedInstanceGroupAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
ManagedInstanceGroupAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
ManagedInstanceGroupAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for ManagedInstanceGroup.
public final String clientCommonLibraryVersion
@Deprecated public ManagedInstanceGroupAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagedInstanceGroupAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public ManagedInstanceGroupAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagedInstanceGroupAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public ManagedInstanceGroupAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagedInstanceGroupAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public ManagedInstanceGroupAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagedInstanceGroupAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public ManagedInstanceGroupAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagedInstanceGroupAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public ManagedInstanceGroupAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagedInstanceGroupAsyncClient.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)
@Deprecated public ManagedInstanceGroupAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see ManagedInstanceGroupAsyncClient.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
public static ManagedInstanceGroupAsyncClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
ManagedInstanceGroupAsync
Sets the region to call (ex, Region.US_PHOENIX_1).
Note, this will call setEndpoint
after resolving the
endpoint. If the service is not available in this region, however, an
IllegalArgumentException will be raised.
setRegion
in interface ManagedInstanceGroupAsync
region
- The region of the service.public void setRegion(String regionId)
ManagedInstanceGroupAsync
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 call setEndpoint
.
setRegion
in interface ManagedInstanceGroupAsync
regionId
- The public region ID.public Future<AttachManagedInstancesToManagedInstanceGroupResponse> attachManagedInstancesToManagedInstanceGroup(AttachManagedInstancesToManagedInstanceGroupRequest request, AsyncHandler<AttachManagedInstancesToManagedInstanceGroupRequest,AttachManagedInstancesToManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Adds managed instances to the specified managed instance group. After adding instances to the group, any operation applied to the group will be applied to all instances in the group.
attachManagedInstancesToManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<AttachSoftwareSourcesToManagedInstanceGroupResponse> attachSoftwareSourcesToManagedInstanceGroup(AttachSoftwareSourcesToManagedInstanceGroupRequest request, AsyncHandler<AttachSoftwareSourcesToManagedInstanceGroupRequest,AttachSoftwareSourcesToManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Attaches software sources to the specified managed instance group. The software sources must be compatible with the type of instances in the group.
attachSoftwareSourcesToManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ChangeManagedInstanceGroupCompartmentResponse> changeManagedInstanceGroupCompartment(ChangeManagedInstanceGroupCompartmentRequest request, AsyncHandler<ChangeManagedInstanceGroupCompartmentRequest,ChangeManagedInstanceGroupCompartmentResponse> handler)
ManagedInstanceGroupAsync
Moves the specified managed instance group to a different compartment within the same tenancy. For information about moving resources between compartments, see Moving Resources to a Different Compartment.
changeManagedInstanceGroupCompartment
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<CreateManagedInstanceGroupResponse> createManagedInstanceGroup(CreateManagedInstanceGroupRequest request, AsyncHandler<CreateManagedInstanceGroupRequest,CreateManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Creates a new managed instance group.
createManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DeleteManagedInstanceGroupResponse> deleteManagedInstanceGroup(DeleteManagedInstanceGroupRequest request, AsyncHandler<DeleteManagedInstanceGroupRequest,DeleteManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Deletes the specified managed instance group.
deleteManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DetachManagedInstancesFromManagedInstanceGroupResponse> detachManagedInstancesFromManagedInstanceGroup(DetachManagedInstancesFromManagedInstanceGroupRequest request, AsyncHandler<DetachManagedInstancesFromManagedInstanceGroupRequest,DetachManagedInstancesFromManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Removes a managed instance from the specified managed instance group.
detachManagedInstancesFromManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DetachSoftwareSourcesFromManagedInstanceGroupResponse> detachSoftwareSourcesFromManagedInstanceGroup(DetachSoftwareSourcesFromManagedInstanceGroupRequest request, AsyncHandler<DetachSoftwareSourcesFromManagedInstanceGroupRequest,DetachSoftwareSourcesFromManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Detaches the specified software sources from a managed instance group.
detachSoftwareSourcesFromManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<DisableModuleStreamOnManagedInstanceGroupResponse> disableModuleStreamOnManagedInstanceGroup(DisableModuleStreamOnManagedInstanceGroupRequest request, AsyncHandler<DisableModuleStreamOnManagedInstanceGroupRequest,DisableModuleStreamOnManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Disables a module stream on a managed instance group. After the stream is disabled, you can
no longer install the profiles contained by the stream. Before removing the stream, you must
remove all installed profiles for the stream by using the removeModuleStreamProfileFromManagedInstanceGroup
operation.
disableModuleStreamOnManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<EnableModuleStreamOnManagedInstanceGroupResponse> enableModuleStreamOnManagedInstanceGroup(EnableModuleStreamOnManagedInstanceGroupRequest request, AsyncHandler<EnableModuleStreamOnManagedInstanceGroupRequest,EnableModuleStreamOnManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Enables a module stream on a managed instance group. After the stream is enabled, you can
install a module stream profile. Enabling a stream that is already enabled will succeed.
Enabling a different stream for a module that already has a stream enabled results in an
error. Instead, use the switchModuleStreamOnManagedInstanceGroup
operation.
enableModuleStreamOnManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<GetManagedInstanceGroupResponse> getManagedInstanceGroup(GetManagedInstanceGroupRequest request, AsyncHandler<GetManagedInstanceGroupRequest,GetManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Gets information about the specified managed instance group.
getManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<InstallModuleStreamProfileOnManagedInstanceGroupResponse> installModuleStreamProfileOnManagedInstanceGroup(InstallModuleStreamProfileOnManagedInstanceGroupRequest request, AsyncHandler<InstallModuleStreamProfileOnManagedInstanceGroupRequest,InstallModuleStreamProfileOnManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Installs a profile for an enabled module stream. If a module stream defines multiple profiles, you can install each one independently.
installModuleStreamProfileOnManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<InstallPackagesOnManagedInstanceGroupResponse> installPackagesOnManagedInstanceGroup(InstallPackagesOnManagedInstanceGroupRequest request, AsyncHandler<InstallPackagesOnManagedInstanceGroupRequest,InstallPackagesOnManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Installs the specified packages on each managed instance in a managed instance group. The package must be compatible with the instances in the group.
installPackagesOnManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<InstallWindowsUpdatesOnManagedInstanceGroupResponse> installWindowsUpdatesOnManagedInstanceGroup(InstallWindowsUpdatesOnManagedInstanceGroupRequest request, AsyncHandler<InstallWindowsUpdatesOnManagedInstanceGroupRequest,InstallWindowsUpdatesOnManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Installs Windows updates on each managed instance in the managed instance group.
installWindowsUpdatesOnManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListManagedInstanceGroupAvailableModulesResponse> listManagedInstanceGroupAvailableModules(ListManagedInstanceGroupAvailableModulesRequest request, AsyncHandler<ListManagedInstanceGroupAvailableModulesRequest,ListManagedInstanceGroupAvailableModulesResponse> handler)
ManagedInstanceGroupAsync
List modules that are available for installation on the specified managed instance group. Filter the list against a variety of criteria including but not limited to module name.
listManagedInstanceGroupAvailableModules
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListManagedInstanceGroupAvailablePackagesResponse> listManagedInstanceGroupAvailablePackages(ListManagedInstanceGroupAvailablePackagesRequest request, AsyncHandler<ListManagedInstanceGroupAvailablePackagesRequest,ListManagedInstanceGroupAvailablePackagesResponse> handler)
ManagedInstanceGroupAsync
Lists available packages on the specified managed instances group. Filter the list against a variety of criteria including but not limited to the package name.
listManagedInstanceGroupAvailablePackages
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListManagedInstanceGroupAvailableSoftwareSourcesResponse> listManagedInstanceGroupAvailableSoftwareSources(ListManagedInstanceGroupAvailableSoftwareSourcesRequest request, AsyncHandler<ListManagedInstanceGroupAvailableSoftwareSourcesRequest,ListManagedInstanceGroupAvailableSoftwareSourcesResponse> handler)
ManagedInstanceGroupAsync
Lists available software sources for a specified managed instance group. Filter the list against a variety of criteria including but not limited to the software source name. The results list only software sources that have not already been added to the group.
listManagedInstanceGroupAvailableSoftwareSources
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListManagedInstanceGroupInstalledPackagesResponse> listManagedInstanceGroupInstalledPackages(ListManagedInstanceGroupInstalledPackagesRequest request, AsyncHandler<ListManagedInstanceGroupInstalledPackagesRequest,ListManagedInstanceGroupInstalledPackagesResponse> handler)
ManagedInstanceGroupAsync
Lists installed packages on the specified managed instances group. Filter the list against a variety of criteria including but not limited to the package name.
listManagedInstanceGroupInstalledPackages
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListManagedInstanceGroupModulesResponse> listManagedInstanceGroupModules(ListManagedInstanceGroupModulesRequest request, AsyncHandler<ListManagedInstanceGroupModulesRequest,ListManagedInstanceGroupModulesResponse> handler)
ManagedInstanceGroupAsync
Retrieve a list of module streams, along with a summary of their status, from a managed instance group. Filters may be applied to select a subset of module streams based on the filter criteria.
The 'moduleName' attribute filters against the name of a module. It accepts strings of the
format \" The \"status\" attribute filters against the state of a module stream. Valid values are
\"ENABLED\", \"DISABLED\", and \"ACTIVE\". If the attribute is set to \"ENABLED\", only
module streams that are enabled are included in the result set. If the attribute is set to
\"DISABLED\", only module streams that are not enabled are included in the result set. If the
attribute is set to \"ACTIVE\", only module streams that are active are included in the
result set. If the attribute is not defined, the request is not subject to this filter.
When sorting by the display name, the result set is sorted first by the module name and
then by the stream name.
listManagedInstanceGroupModules
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ListManagedInstanceGroupsResponse> listManagedInstanceGroups(ListManagedInstanceGroupsRequest request, AsyncHandler<ListManagedInstanceGroupsRequest,ListManagedInstanceGroupsResponse> handler)
ManagedInstanceGroupAsync
Lists managed instance groups that match the specified compartment or managed instance group OCID. Filter the list against a variety of criteria including but not limited to name, status, architecture, and OS family.
listManagedInstanceGroups
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<ManageModuleStreamsOnManagedInstanceGroupResponse> manageModuleStreamsOnManagedInstanceGroup(ManageModuleStreamsOnManagedInstanceGroupRequest request, AsyncHandler<ManageModuleStreamsOnManagedInstanceGroupRequest,ManageModuleStreamsOnManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Enables 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 manageModuleStreamsOnManagedInstanceGroupDetails
for 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.
manageModuleStreamsOnManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemoveModuleStreamProfileFromManagedInstanceGroupResponse> removeModuleStreamProfileFromManagedInstanceGroup(RemoveModuleStreamProfileFromManagedInstanceGroupRequest request, AsyncHandler<RemoveModuleStreamProfileFromManagedInstanceGroupRequest,RemoveModuleStreamProfileFromManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Removes a profile for a module stream that is installed on a managed instance group. Providing the module stream name (without specifying a profile name) removes all profiles that have been installed for the module stream.
removeModuleStreamProfileFromManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<RemovePackagesFromManagedInstanceGroupResponse> removePackagesFromManagedInstanceGroup(RemovePackagesFromManagedInstanceGroupRequest request, AsyncHandler<RemovePackagesFromManagedInstanceGroupRequest,RemovePackagesFromManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Removes the specified packages from each managed instance in a managed instance group.
removePackagesFromManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<SwitchModuleStreamOnManagedInstanceGroupResponse> switchModuleStreamOnManagedInstanceGroup(SwitchModuleStreamOnManagedInstanceGroupRequest request, AsyncHandler<SwitchModuleStreamOnManagedInstanceGroupRequest,SwitchModuleStreamOnManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Enables 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.
switchModuleStreamOnManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateAllPackagesOnManagedInstanceGroupResponse> updateAllPackagesOnManagedInstanceGroup(UpdateAllPackagesOnManagedInstanceGroupRequest request, AsyncHandler<UpdateAllPackagesOnManagedInstanceGroupRequest,UpdateAllPackagesOnManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Updates all packages on each managed instance in the specified managed instance group.
updateAllPackagesOnManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.public Future<UpdateManagedInstanceGroupResponse> updateManagedInstanceGroup(UpdateManagedInstanceGroupRequest request, AsyncHandler<UpdateManagedInstanceGroupRequest,UpdateManagedInstanceGroupResponse> handler)
ManagedInstanceGroupAsync
Updates the specified managed instance group’s name, description, and tags.
updateManagedInstanceGroup
in interface ManagedInstanceGroupAsync
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
protected <REQ extends BmcRequest<?>,RESP extends BmcResponse,RESP_BUILDER extends BmcResponse.Builder<RESP>> ClientCall<REQ,RESP,RESP_BUILDER> clientCall(REQ request, Supplier<RESP_BUILDER> responseBuilder)
Copyright © 2016–2024. All rights reserved.