Class ManagedInstanceGroupClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.osmanagementhub.ManagedInstanceGroupClient
-
- All Implemented Interfaces:
ManagedInstanceGroup
,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20220901") public class ManagedInstanceGroupClient extends BaseSyncClient implements ManagedInstanceGroup
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ManagedInstanceGroupClient.Builder
Builder class for this client.
-
Field Summary
Fields Modifier and Type Field 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 Summary
Constructors Constructor Description ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.ManagedInstanceGroupClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.ManagedInstanceGroupClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.ManagedInstanceGroupClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.
-
Method Summary
-
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClient
clientCall
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.osmanagementhub.ManagedInstanceGroup
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeManagedInstanceGroupClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeManagedInstanceGroupClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeManagedInstanceGroupClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeManagedInstanceGroupClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeManagedInstanceGroupClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeManagedInstanceGroupClient.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)
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeManagedInstanceGroupClient.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
-
ManagedInstanceGroupClient
@Deprecated public ManagedInstanceGroupClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeManagedInstanceGroupClient.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
-ManagedInstanceGroupClient.Builder.executorService
-
-
Method Detail
-
builder
public static ManagedInstanceGroupClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:ManagedInstanceGroup
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.- Specified by:
setRegion
in interfaceManagedInstanceGroup
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:ManagedInstanceGroup
Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion
.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)
and then callsetEndpoint
.- Specified by:
setRegion
in interfaceManagedInstanceGroup
- Parameters:
regionId
- The public region ID.
-
attachManagedInstancesToManagedInstanceGroup
public AttachManagedInstancesToManagedInstanceGroupResponse attachManagedInstancesToManagedInstanceGroup(AttachManagedInstancesToManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
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.
- Specified by:
attachManagedInstancesToManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
attachSoftwareSourcesToManagedInstanceGroup
public AttachSoftwareSourcesToManagedInstanceGroupResponse attachSoftwareSourcesToManagedInstanceGroup(AttachSoftwareSourcesToManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
Attaches software sources to the specified managed instance group.The software sources must be compatible with the type of instances in the group.
- Specified by:
attachSoftwareSourcesToManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeManagedInstanceGroupCompartment
public ChangeManagedInstanceGroupCompartmentResponse changeManagedInstanceGroupCompartment(ChangeManagedInstanceGroupCompartmentRequest request)
Description copied from interface:ManagedInstanceGroup
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.
- Specified by:
changeManagedInstanceGroupCompartment
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createManagedInstanceGroup
public CreateManagedInstanceGroupResponse createManagedInstanceGroup(CreateManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
Creates a new managed instance group.- Specified by:
createManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteManagedInstanceGroup
public DeleteManagedInstanceGroupResponse deleteManagedInstanceGroup(DeleteManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
Deletes the specified managed instance group.- Specified by:
deleteManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
detachManagedInstancesFromManagedInstanceGroup
public DetachManagedInstancesFromManagedInstanceGroupResponse detachManagedInstancesFromManagedInstanceGroup(DetachManagedInstancesFromManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
Removes a managed instance from the specified managed instance group.- Specified by:
detachManagedInstancesFromManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
detachSoftwareSourcesFromManagedInstanceGroup
public DetachSoftwareSourcesFromManagedInstanceGroupResponse detachSoftwareSourcesFromManagedInstanceGroup(DetachSoftwareSourcesFromManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
Detaches the specified software sources from a managed instance group.- Specified by:
detachSoftwareSourcesFromManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
disableModuleStreamOnManagedInstanceGroup
public DisableModuleStreamOnManagedInstanceGroupResponse disableModuleStreamOnManagedInstanceGroup(DisableModuleStreamOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
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.- Specified by:
disableModuleStreamOnManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
enableModuleStreamOnManagedInstanceGroup
public EnableModuleStreamOnManagedInstanceGroupResponse enableModuleStreamOnManagedInstanceGroup(EnableModuleStreamOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
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.- Specified by:
enableModuleStreamOnManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getManagedInstanceGroup
public GetManagedInstanceGroupResponse getManagedInstanceGroup(GetManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
Gets information about the specified managed instance group.- Specified by:
getManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
installModuleStreamProfileOnManagedInstanceGroup
public InstallModuleStreamProfileOnManagedInstanceGroupResponse installModuleStreamProfileOnManagedInstanceGroup(InstallModuleStreamProfileOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
Installs a profile for an enabled module stream.If a module stream defines multiple profiles, you can install each one independently.
- Specified by:
installModuleStreamProfileOnManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
installPackagesOnManagedInstanceGroup
public InstallPackagesOnManagedInstanceGroupResponse installPackagesOnManagedInstanceGroup(InstallPackagesOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
Installs the specified packages on each managed instance in a managed instance group.The package must be compatible with the instances in the group.
- Specified by:
installPackagesOnManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
installWindowsUpdatesOnManagedInstanceGroup
public InstallWindowsUpdatesOnManagedInstanceGroupResponse installWindowsUpdatesOnManagedInstanceGroup(InstallWindowsUpdatesOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
Installs Windows updates on each managed instance in the managed instance group.- Specified by:
installWindowsUpdatesOnManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceGroupAvailableModules
public ListManagedInstanceGroupAvailableModulesResponse listManagedInstanceGroupAvailableModules(ListManagedInstanceGroupAvailableModulesRequest request)
Description copied from interface:ManagedInstanceGroup
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.
- Specified by:
listManagedInstanceGroupAvailableModules
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceGroupAvailablePackages
public ListManagedInstanceGroupAvailablePackagesResponse listManagedInstanceGroupAvailablePackages(ListManagedInstanceGroupAvailablePackagesRequest request)
Description copied from interface:ManagedInstanceGroup
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.
- Specified by:
listManagedInstanceGroupAvailablePackages
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceGroupAvailableSoftwareSources
public ListManagedInstanceGroupAvailableSoftwareSourcesResponse listManagedInstanceGroupAvailableSoftwareSources(ListManagedInstanceGroupAvailableSoftwareSourcesRequest request)
Description copied from interface:ManagedInstanceGroup
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.
- Specified by:
listManagedInstanceGroupAvailableSoftwareSources
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceGroupInstalledPackages
public ListManagedInstanceGroupInstalledPackagesResponse listManagedInstanceGroupInstalledPackages(ListManagedInstanceGroupInstalledPackagesRequest request)
Description copied from interface:ManagedInstanceGroup
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.
- Specified by:
listManagedInstanceGroupInstalledPackages
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceGroupModules
public ListManagedInstanceGroupModulesResponse listManagedInstanceGroupModules(ListManagedInstanceGroupModulesRequest request)
Description copied from interface:ManagedInstanceGroup
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 \"
\". If this attribute is defined, only streams that belong to the specified module are included in the result set. If it is not defined, the request is not subject to this filter. 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.
- Specified by:
listManagedInstanceGroupModules
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listManagedInstanceGroups
public ListManagedInstanceGroupsResponse listManagedInstanceGroups(ListManagedInstanceGroupsRequest request)
Description copied from interface:ManagedInstanceGroup
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.
- Specified by:
listManagedInstanceGroups
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
manageModuleStreamsOnManagedInstanceGroup
public ManageModuleStreamsOnManagedInstanceGroupResponse manageModuleStreamsOnManagedInstanceGroup(ManageModuleStreamsOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
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.- Specified by:
manageModuleStreamsOnManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
rebootManagedInstanceGroup
public RebootManagedInstanceGroupResponse rebootManagedInstanceGroup(RebootManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
Reboots all managed instances in the specified group.- Specified by:
rebootManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removeModuleStreamProfileFromManagedInstanceGroup
public RemoveModuleStreamProfileFromManagedInstanceGroupResponse removeModuleStreamProfileFromManagedInstanceGroup(RemoveModuleStreamProfileFromManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
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.
- Specified by:
removeModuleStreamProfileFromManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
removePackagesFromManagedInstanceGroup
public RemovePackagesFromManagedInstanceGroupResponse removePackagesFromManagedInstanceGroup(RemovePackagesFromManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
Removes the specified packages from each managed instance in a managed instance group.- Specified by:
removePackagesFromManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
switchModuleStreamOnManagedInstanceGroup
public SwitchModuleStreamOnManagedInstanceGroupResponse switchModuleStreamOnManagedInstanceGroup(SwitchModuleStreamOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
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.
- Specified by:
switchModuleStreamOnManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateAllPackagesOnManagedInstanceGroup
public UpdateAllPackagesOnManagedInstanceGroupResponse updateAllPackagesOnManagedInstanceGroup(UpdateAllPackagesOnManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
Updates all packages on each managed instance in the specified managed instance group.- Specified by:
updateAllPackagesOnManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateManagedInstanceGroup
public UpdateManagedInstanceGroupResponse updateManagedInstanceGroup(UpdateManagedInstanceGroupRequest request)
Description copied from interface:ManagedInstanceGroup
Updates the specified managed instance group’s name, description, and tags.- Specified by:
updateManagedInstanceGroup
in interfaceManagedInstanceGroup
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public ManagedInstanceGroupWaiters getWaiters()
Description copied from interface:ManagedInstanceGroup
Gets the pre-configured waiters available for resources for this service.- Specified by:
getWaiters
in interfaceManagedInstanceGroup
- Returns:
- The service waiters.
-
getPaginators
public ManagedInstanceGroupPaginators getPaginators()
Description copied from interface:ManagedInstanceGroup
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterable
interface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginators
in interfaceManagedInstanceGroup
- Returns:
- The service paginators.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public 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
-
populateServiceParametersInEndpoint
public 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 userequiredParametersMap
- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public 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
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient
.This will call
ClientConfigurator
s again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-