Class DatabaseToolsAsyncClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseAsyncClient
-
- com.oracle.bmc.databasetools.DatabaseToolsAsyncClient
-
- All Implemented Interfaces:
DatabaseToolsAsync,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20201005") public class DatabaseToolsAsyncClient extends BaseAsyncClient implements DatabaseToolsAsyncAsync client implementation for DatabaseTools 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 Summary
Nested Classes Modifier and Type Class Description static classDatabaseToolsAsyncClient.BuilderBuilder class for this client.
-
Field Summary
Fields 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 DatabaseTools.
-
Constructor Summary
Constructors Constructor Description DatabaseToolsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.DatabaseToolsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.DatabaseToolsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.DatabaseToolsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.DatabaseToolsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.DatabaseToolsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.DatabaseToolsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
-
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.databasetools.DatabaseToolsAsync
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
DatabaseToolsAsyncClient
@Deprecated public DatabaseToolsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDatabaseToolsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
DatabaseToolsAsyncClient
@Deprecated public DatabaseToolsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDatabaseToolsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
DatabaseToolsAsyncClient
@Deprecated public DatabaseToolsAsyncClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDatabaseToolsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
DatabaseToolsAsyncClient
@Deprecated public DatabaseToolsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDatabaseToolsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
DatabaseToolsAsyncClient
@Deprecated public DatabaseToolsAsyncClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDatabaseToolsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
DatabaseToolsAsyncClient
@Deprecated public DatabaseToolsAsyncClient(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 (seeDatabaseToolsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)
-
DatabaseToolsAsyncClient
@Deprecated public DatabaseToolsAsyncClient(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 (seeDatabaseToolsAsyncClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfiguratorsendpoint-ClientBuilderBase.endpoint(java.lang.String)signingStrategyRequestSignerFactories-ClientBuilderBase.signingStrategyRequestSignerFactories
-
-
Method Detail
-
builder
public static DatabaseToolsAsyncClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:DatabaseToolsAsyncSets 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 interfaceDatabaseToolsAsync- Parameters:
region- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:DatabaseToolsAsyncSets 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 interfaceDatabaseToolsAsync- Parameters:
regionId- The public region ID.
-
addDatabaseToolsConnectionLock
public Future<AddDatabaseToolsConnectionLockResponse> addDatabaseToolsConnectionLock(AddDatabaseToolsConnectionLockRequest request, AsyncHandler<AddDatabaseToolsConnectionLockRequest,AddDatabaseToolsConnectionLockResponse> handler)
Description copied from interface:DatabaseToolsAsyncAdds a lock to a DatabaseToolsConnection resource.- Specified by:
addDatabaseToolsConnectionLockin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
addDatabaseToolsDatabaseApiGatewayConfigLock
public Future<AddDatabaseToolsDatabaseApiGatewayConfigLockResponse> addDatabaseToolsDatabaseApiGatewayConfigLock(AddDatabaseToolsDatabaseApiGatewayConfigLockRequest request, AsyncHandler<AddDatabaseToolsDatabaseApiGatewayConfigLockRequest,AddDatabaseToolsDatabaseApiGatewayConfigLockResponse> handler)
Description copied from interface:DatabaseToolsAsyncAdds a lock to a DatabaseToolsDatabaseApiGatewayConfig resource.- Specified by:
addDatabaseToolsDatabaseApiGatewayConfigLockin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
addDatabaseToolsIdentityLock
public Future<AddDatabaseToolsIdentityLockResponse> addDatabaseToolsIdentityLock(AddDatabaseToolsIdentityLockRequest request, AsyncHandler<AddDatabaseToolsIdentityLockRequest,AddDatabaseToolsIdentityLockResponse> handler)
Description copied from interface:DatabaseToolsAsyncAdds a lock to a DatabaseToolsIdentity resource.- Specified by:
addDatabaseToolsIdentityLockin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
addDatabaseToolsMcpServerLock
public Future<AddDatabaseToolsMcpServerLockResponse> addDatabaseToolsMcpServerLock(AddDatabaseToolsMcpServerLockRequest request, AsyncHandler<AddDatabaseToolsMcpServerLockRequest,AddDatabaseToolsMcpServerLockResponse> handler)
Description copied from interface:DatabaseToolsAsyncAdds a lock to a DatabaseToolsMcpServer resource.- Specified by:
addDatabaseToolsMcpServerLockin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
addDatabaseToolsMcpToolsetLock
public Future<AddDatabaseToolsMcpToolsetLockResponse> addDatabaseToolsMcpToolsetLock(AddDatabaseToolsMcpToolsetLockRequest request, AsyncHandler<AddDatabaseToolsMcpToolsetLockRequest,AddDatabaseToolsMcpToolsetLockResponse> handler)
Description copied from interface:DatabaseToolsAsyncAdds a lock to a DatabaseToolsMcpToolset resource.- Specified by:
addDatabaseToolsMcpToolsetLockin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
addDatabaseToolsPrivateEndpointLock
public Future<AddDatabaseToolsPrivateEndpointLockResponse> addDatabaseToolsPrivateEndpointLock(AddDatabaseToolsPrivateEndpointLockRequest request, AsyncHandler<AddDatabaseToolsPrivateEndpointLockRequest,AddDatabaseToolsPrivateEndpointLockResponse> handler)
Description copied from interface:DatabaseToolsAsyncAdds a lock to a DatabaseToolsPrivateEndpoint resource.- Specified by:
addDatabaseToolsPrivateEndpointLockin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
addDatabaseToolsSqlReportLock
public Future<AddDatabaseToolsSqlReportLockResponse> addDatabaseToolsSqlReportLock(AddDatabaseToolsSqlReportLockRequest request, AsyncHandler<AddDatabaseToolsSqlReportLockRequest,AddDatabaseToolsSqlReportLockResponse> handler)
Description copied from interface:DatabaseToolsAsyncAdds a lock to a DatabaseToolsSqlReport resource.- Specified by:
addDatabaseToolsSqlReportLockin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
cascadingDeleteDatabaseToolsMcpServer
public Future<CascadingDeleteDatabaseToolsMcpServerResponse> cascadingDeleteDatabaseToolsMcpServer(CascadingDeleteDatabaseToolsMcpServerRequest request, AsyncHandler<CascadingDeleteDatabaseToolsMcpServerRequest,CascadingDeleteDatabaseToolsMcpServerResponse> handler)
Description copied from interface:DatabaseToolsAsyncDeletes Database Tools McpServer resource.- Specified by:
cascadingDeleteDatabaseToolsMcpServerin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
changeDatabaseToolsConnectionCompartment
public Future<ChangeDatabaseToolsConnectionCompartmentResponse> changeDatabaseToolsConnectionCompartment(ChangeDatabaseToolsConnectionCompartmentRequest request, AsyncHandler<ChangeDatabaseToolsConnectionCompartmentRequest,ChangeDatabaseToolsConnectionCompartmentResponse> handler)
Description copied from interface:DatabaseToolsAsyncMoves the specified Database Tools connection to a different compartment in the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeDatabaseToolsConnectionCompartmentin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
changeDatabaseToolsDatabaseApiGatewayConfigCompartment
public Future<ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentResponse> changeDatabaseToolsDatabaseApiGatewayConfigCompartment(ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest request, AsyncHandler<ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentRequest,ChangeDatabaseToolsDatabaseApiGatewayConfigCompartmentResponse> handler)
Description copied from interface:DatabaseToolsAsyncMoves the specified Database Tools database API gateway config to a different compartment in the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeDatabaseToolsDatabaseApiGatewayConfigCompartmentin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
changeDatabaseToolsIdentityCompartment
public Future<ChangeDatabaseToolsIdentityCompartmentResponse> changeDatabaseToolsIdentityCompartment(ChangeDatabaseToolsIdentityCompartmentRequest request, AsyncHandler<ChangeDatabaseToolsIdentityCompartmentRequest,ChangeDatabaseToolsIdentityCompartmentResponse> handler)
Description copied from interface:DatabaseToolsAsyncMoves the specified Database Tools identity to a different compartment in the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeDatabaseToolsIdentityCompartmentin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
changeDatabaseToolsMcpServerCompartment
public Future<ChangeDatabaseToolsMcpServerCompartmentResponse> changeDatabaseToolsMcpServerCompartment(ChangeDatabaseToolsMcpServerCompartmentRequest request, AsyncHandler<ChangeDatabaseToolsMcpServerCompartmentRequest,ChangeDatabaseToolsMcpServerCompartmentResponse> handler)
Description copied from interface:DatabaseToolsAsyncMoves the specified Database Tools mcpserver to a different compartment in the same tenancy.- Specified by:
changeDatabaseToolsMcpServerCompartmentin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
changeDatabaseToolsMcpToolsetCompartment
public Future<ChangeDatabaseToolsMcpToolsetCompartmentResponse> changeDatabaseToolsMcpToolsetCompartment(ChangeDatabaseToolsMcpToolsetCompartmentRequest request, AsyncHandler<ChangeDatabaseToolsMcpToolsetCompartmentRequest,ChangeDatabaseToolsMcpToolsetCompartmentResponse> handler)
Description copied from interface:DatabaseToolsAsyncMoves the specified Database Tools MCP Toolset to a different compartment in the same tenancy.- Specified by:
changeDatabaseToolsMcpToolsetCompartmentin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
changeDatabaseToolsPrivateEndpointCompartment
public Future<ChangeDatabaseToolsPrivateEndpointCompartmentResponse> changeDatabaseToolsPrivateEndpointCompartment(ChangeDatabaseToolsPrivateEndpointCompartmentRequest request, AsyncHandler<ChangeDatabaseToolsPrivateEndpointCompartmentRequest,ChangeDatabaseToolsPrivateEndpointCompartmentResponse> handler)
Description copied from interface:DatabaseToolsAsyncMoves a Database Tools private endpoint into a different compartment in the same tenancy.For information about moving resources between compartments, see Moving Resources to a Different Compartment.
- Specified by:
changeDatabaseToolsPrivateEndpointCompartmentin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
changeDatabaseToolsSqlReportCompartment
public Future<ChangeDatabaseToolsSqlReportCompartmentResponse> changeDatabaseToolsSqlReportCompartment(ChangeDatabaseToolsSqlReportCompartmentRequest request, AsyncHandler<ChangeDatabaseToolsSqlReportCompartmentRequest,ChangeDatabaseToolsSqlReportCompartmentResponse> handler)
Description copied from interface:DatabaseToolsAsyncMoves the specified Database Tools SQL Report to a different compartment in the same tenancy.- Specified by:
changeDatabaseToolsSqlReportCompartmentin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
createDatabaseToolsConnection
public Future<CreateDatabaseToolsConnectionResponse> createDatabaseToolsConnection(CreateDatabaseToolsConnectionRequest request, AsyncHandler<CreateDatabaseToolsConnectionRequest,CreateDatabaseToolsConnectionResponse> handler)
Description copied from interface:DatabaseToolsAsyncCreates a new Database Tools connection.- Specified by:
createDatabaseToolsConnectionin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
createDatabaseToolsDatabaseApiGatewayConfig
public Future<CreateDatabaseToolsDatabaseApiGatewayConfigResponse> createDatabaseToolsDatabaseApiGatewayConfig(CreateDatabaseToolsDatabaseApiGatewayConfigRequest request, AsyncHandler<CreateDatabaseToolsDatabaseApiGatewayConfigRequest,CreateDatabaseToolsDatabaseApiGatewayConfigResponse> handler)
Description copied from interface:DatabaseToolsAsyncCreates a new Database Tools database API gateway config.- Specified by:
createDatabaseToolsDatabaseApiGatewayConfigin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
createDatabaseToolsIdentity
public Future<CreateDatabaseToolsIdentityResponse> createDatabaseToolsIdentity(CreateDatabaseToolsIdentityRequest request, AsyncHandler<CreateDatabaseToolsIdentityRequest,CreateDatabaseToolsIdentityResponse> handler)
Description copied from interface:DatabaseToolsAsyncCreates a new Database Tools identity.- Specified by:
createDatabaseToolsIdentityin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
createDatabaseToolsMcpServer
public Future<CreateDatabaseToolsMcpServerResponse> createDatabaseToolsMcpServer(CreateDatabaseToolsMcpServerRequest request, AsyncHandler<CreateDatabaseToolsMcpServerRequest,CreateDatabaseToolsMcpServerResponse> handler)
Description copied from interface:DatabaseToolsAsyncCreates a new Database Tools MCP server.- Specified by:
createDatabaseToolsMcpServerin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
createDatabaseToolsMcpToolset
public Future<CreateDatabaseToolsMcpToolsetResponse> createDatabaseToolsMcpToolset(CreateDatabaseToolsMcpToolsetRequest request, AsyncHandler<CreateDatabaseToolsMcpToolsetRequest,CreateDatabaseToolsMcpToolsetResponse> handler)
Description copied from interface:DatabaseToolsAsyncCreates a new Database Tools MCP Toolset.- Specified by:
createDatabaseToolsMcpToolsetin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
createDatabaseToolsPrivateEndpoint
public Future<CreateDatabaseToolsPrivateEndpointResponse> createDatabaseToolsPrivateEndpoint(CreateDatabaseToolsPrivateEndpointRequest request, AsyncHandler<CreateDatabaseToolsPrivateEndpointRequest,CreateDatabaseToolsPrivateEndpointResponse> handler)
Description copied from interface:DatabaseToolsAsyncCreates a new Database Tools private endpoint.- Specified by:
createDatabaseToolsPrivateEndpointin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
createDatabaseToolsSqlReport
public Future<CreateDatabaseToolsSqlReportResponse> createDatabaseToolsSqlReport(CreateDatabaseToolsSqlReportRequest request, AsyncHandler<CreateDatabaseToolsSqlReportRequest,CreateDatabaseToolsSqlReportResponse> handler)
Description copied from interface:DatabaseToolsAsyncCreates a new Database Tools Sql Report.- Specified by:
createDatabaseToolsSqlReportin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
deleteDatabaseToolsConnection
public Future<DeleteDatabaseToolsConnectionResponse> deleteDatabaseToolsConnection(DeleteDatabaseToolsConnectionRequest request, AsyncHandler<DeleteDatabaseToolsConnectionRequest,DeleteDatabaseToolsConnectionResponse> handler)
Description copied from interface:DatabaseToolsAsyncDeletes the specified Database Tools connection resource.- Specified by:
deleteDatabaseToolsConnectionin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
deleteDatabaseToolsDatabaseApiGatewayConfig
public Future<DeleteDatabaseToolsDatabaseApiGatewayConfigResponse> deleteDatabaseToolsDatabaseApiGatewayConfig(DeleteDatabaseToolsDatabaseApiGatewayConfigRequest request, AsyncHandler<DeleteDatabaseToolsDatabaseApiGatewayConfigRequest,DeleteDatabaseToolsDatabaseApiGatewayConfigResponse> handler)
Description copied from interface:DatabaseToolsAsyncDeletes the specified Database Tools database API gateway config resource.- Specified by:
deleteDatabaseToolsDatabaseApiGatewayConfigin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
deleteDatabaseToolsIdentity
public Future<DeleteDatabaseToolsIdentityResponse> deleteDatabaseToolsIdentity(DeleteDatabaseToolsIdentityRequest request, AsyncHandler<DeleteDatabaseToolsIdentityRequest,DeleteDatabaseToolsIdentityResponse> handler)
Description copied from interface:DatabaseToolsAsyncDeletes the specified Database Tools identity resource.- Specified by:
deleteDatabaseToolsIdentityin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
deleteDatabaseToolsMcpServer
public Future<DeleteDatabaseToolsMcpServerResponse> deleteDatabaseToolsMcpServer(DeleteDatabaseToolsMcpServerRequest request, AsyncHandler<DeleteDatabaseToolsMcpServerRequest,DeleteDatabaseToolsMcpServerResponse> handler)
Description copied from interface:DatabaseToolsAsyncDeletes the specified Database Tools MCP server resource.- Specified by:
deleteDatabaseToolsMcpServerin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
deleteDatabaseToolsMcpToolset
public Future<DeleteDatabaseToolsMcpToolsetResponse> deleteDatabaseToolsMcpToolset(DeleteDatabaseToolsMcpToolsetRequest request, AsyncHandler<DeleteDatabaseToolsMcpToolsetRequest,DeleteDatabaseToolsMcpToolsetResponse> handler)
Description copied from interface:DatabaseToolsAsyncDeletes the specified Database Tools MCP Toolset resource.- Specified by:
deleteDatabaseToolsMcpToolsetin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
deleteDatabaseToolsPrivateEndpoint
public Future<DeleteDatabaseToolsPrivateEndpointResponse> deleteDatabaseToolsPrivateEndpoint(DeleteDatabaseToolsPrivateEndpointRequest request, AsyncHandler<DeleteDatabaseToolsPrivateEndpointRequest,DeleteDatabaseToolsPrivateEndpointResponse> handler)
Description copied from interface:DatabaseToolsAsyncDeletes the specified Database Tools private endpoint.- Specified by:
deleteDatabaseToolsPrivateEndpointin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
deleteDatabaseToolsSqlReport
public Future<DeleteDatabaseToolsSqlReportResponse> deleteDatabaseToolsSqlReport(DeleteDatabaseToolsSqlReportRequest request, AsyncHandler<DeleteDatabaseToolsSqlReportRequest,DeleteDatabaseToolsSqlReportResponse> handler)
Description copied from interface:DatabaseToolsAsyncDeletes the specified Database Tools SQL Report resource.- Specified by:
deleteDatabaseToolsSqlReportin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
getDatabaseToolsConnection
public Future<GetDatabaseToolsConnectionResponse> getDatabaseToolsConnection(GetDatabaseToolsConnectionRequest request, AsyncHandler<GetDatabaseToolsConnectionRequest,GetDatabaseToolsConnectionResponse> handler)
Description copied from interface:DatabaseToolsAsyncGets details of the specified Database Tools connection.- Specified by:
getDatabaseToolsConnectionin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
getDatabaseToolsDatabaseApiGatewayConfig
public Future<GetDatabaseToolsDatabaseApiGatewayConfigResponse> getDatabaseToolsDatabaseApiGatewayConfig(GetDatabaseToolsDatabaseApiGatewayConfigRequest request, AsyncHandler<GetDatabaseToolsDatabaseApiGatewayConfigRequest,GetDatabaseToolsDatabaseApiGatewayConfigResponse> handler)
Description copied from interface:DatabaseToolsAsyncGets details of the specified Database Tools database API gateway config.- Specified by:
getDatabaseToolsDatabaseApiGatewayConfigin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
getDatabaseToolsEndpointService
public Future<GetDatabaseToolsEndpointServiceResponse> getDatabaseToolsEndpointService(GetDatabaseToolsEndpointServiceRequest request, AsyncHandler<GetDatabaseToolsEndpointServiceRequest,GetDatabaseToolsEndpointServiceResponse> handler)
Description copied from interface:DatabaseToolsAsyncGets details for the specified Database Tools endpoint service.- Specified by:
getDatabaseToolsEndpointServicein interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
getDatabaseToolsIdentity
public Future<GetDatabaseToolsIdentityResponse> getDatabaseToolsIdentity(GetDatabaseToolsIdentityRequest request, AsyncHandler<GetDatabaseToolsIdentityRequest,GetDatabaseToolsIdentityResponse> handler)
Description copied from interface:DatabaseToolsAsyncGets details of the specified Database Tools identity.- Specified by:
getDatabaseToolsIdentityin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
getDatabaseToolsMcpServer
public Future<GetDatabaseToolsMcpServerResponse> getDatabaseToolsMcpServer(GetDatabaseToolsMcpServerRequest request, AsyncHandler<GetDatabaseToolsMcpServerRequest,GetDatabaseToolsMcpServerResponse> handler)
Description copied from interface:DatabaseToolsAsyncGets details of the specified Database Tools MCP server.- Specified by:
getDatabaseToolsMcpServerin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
getDatabaseToolsMcpToolset
public Future<GetDatabaseToolsMcpToolsetResponse> getDatabaseToolsMcpToolset(GetDatabaseToolsMcpToolsetRequest request, AsyncHandler<GetDatabaseToolsMcpToolsetRequest,GetDatabaseToolsMcpToolsetResponse> handler)
Description copied from interface:DatabaseToolsAsyncGets details of the specified Database Tools MCP Toolset.- Specified by:
getDatabaseToolsMcpToolsetin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
getDatabaseToolsPrivateEndpoint
public Future<GetDatabaseToolsPrivateEndpointResponse> getDatabaseToolsPrivateEndpoint(GetDatabaseToolsPrivateEndpointRequest request, AsyncHandler<GetDatabaseToolsPrivateEndpointRequest,GetDatabaseToolsPrivateEndpointResponse> handler)
Description copied from interface:DatabaseToolsAsyncGets details of a specified Database Tools private endpoint.- Specified by:
getDatabaseToolsPrivateEndpointin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
getDatabaseToolsSqlReport
public Future<GetDatabaseToolsSqlReportResponse> getDatabaseToolsSqlReport(GetDatabaseToolsSqlReportRequest request, AsyncHandler<GetDatabaseToolsSqlReportRequest,GetDatabaseToolsSqlReportResponse> handler)
Description copied from interface:DatabaseToolsAsyncGets details of the specified Database Tools SQL report.- Specified by:
getDatabaseToolsSqlReportin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
getWorkRequest
public Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Description copied from interface:DatabaseToolsAsyncGets the status of the specified work request.- Specified by:
getWorkRequestin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listDatabaseToolsConnections
public Future<ListDatabaseToolsConnectionsResponse> listDatabaseToolsConnections(ListDatabaseToolsConnectionsRequest request, AsyncHandler<ListDatabaseToolsConnectionsRequest,ListDatabaseToolsConnectionsResponse> handler)
Description copied from interface:DatabaseToolsAsyncReturns a list of Database Tools connections.- Specified by:
listDatabaseToolsConnectionsin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listDatabaseToolsDatabaseApiGatewayConfigs
public Future<ListDatabaseToolsDatabaseApiGatewayConfigsResponse> listDatabaseToolsDatabaseApiGatewayConfigs(ListDatabaseToolsDatabaseApiGatewayConfigsRequest request, AsyncHandler<ListDatabaseToolsDatabaseApiGatewayConfigsRequest,ListDatabaseToolsDatabaseApiGatewayConfigsResponse> handler)
Description copied from interface:DatabaseToolsAsyncReturns a list of Database Tools database API gateway configs.- Specified by:
listDatabaseToolsDatabaseApiGatewayConfigsin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listDatabaseToolsEndpointServices
public Future<ListDatabaseToolsEndpointServicesResponse> listDatabaseToolsEndpointServices(ListDatabaseToolsEndpointServicesRequest request, AsyncHandler<ListDatabaseToolsEndpointServicesRequest,ListDatabaseToolsEndpointServicesResponse> handler)
Description copied from interface:DatabaseToolsAsyncReturns a list of Database Tools endpoint services.- Specified by:
listDatabaseToolsEndpointServicesin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listDatabaseToolsIdentities
public Future<ListDatabaseToolsIdentitiesResponse> listDatabaseToolsIdentities(ListDatabaseToolsIdentitiesRequest request, AsyncHandler<ListDatabaseToolsIdentitiesRequest,ListDatabaseToolsIdentitiesResponse> handler)
Description copied from interface:DatabaseToolsAsyncReturns a list of Database Tools identities.- Specified by:
listDatabaseToolsIdentitiesin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listDatabaseToolsMcpServers
public Future<ListDatabaseToolsMcpServersResponse> listDatabaseToolsMcpServers(ListDatabaseToolsMcpServersRequest request, AsyncHandler<ListDatabaseToolsMcpServersRequest,ListDatabaseToolsMcpServersResponse> handler)
Description copied from interface:DatabaseToolsAsyncReturns a list of Database Tools MCP servers.- Specified by:
listDatabaseToolsMcpServersin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listDatabaseToolsMcpToolsetVersions
public Future<ListDatabaseToolsMcpToolsetVersionsResponse> listDatabaseToolsMcpToolsetVersions(ListDatabaseToolsMcpToolsetVersionsRequest request, AsyncHandler<ListDatabaseToolsMcpToolsetVersionsRequest,ListDatabaseToolsMcpToolsetVersionsResponse> handler)
Description copied from interface:DatabaseToolsAsyncReturns a list of Database Tools Toolset versions- Specified by:
listDatabaseToolsMcpToolsetVersionsin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listDatabaseToolsMcpToolsets
public Future<ListDatabaseToolsMcpToolsetsResponse> listDatabaseToolsMcpToolsets(ListDatabaseToolsMcpToolsetsRequest request, AsyncHandler<ListDatabaseToolsMcpToolsetsRequest,ListDatabaseToolsMcpToolsetsResponse> handler)
Description copied from interface:DatabaseToolsAsyncReturns a list of Database Tools Toolsets.- Specified by:
listDatabaseToolsMcpToolsetsin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listDatabaseToolsPrivateEndpoints
public Future<ListDatabaseToolsPrivateEndpointsResponse> listDatabaseToolsPrivateEndpoints(ListDatabaseToolsPrivateEndpointsRequest request, AsyncHandler<ListDatabaseToolsPrivateEndpointsRequest,ListDatabaseToolsPrivateEndpointsResponse> handler)
Description copied from interface:DatabaseToolsAsyncReturns a list of Database Tools private endpoints.- Specified by:
listDatabaseToolsPrivateEndpointsin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listDatabaseToolsSqlReports
public Future<ListDatabaseToolsSqlReportsResponse> listDatabaseToolsSqlReports(ListDatabaseToolsSqlReportsRequest request, AsyncHandler<ListDatabaseToolsSqlReportsRequest,ListDatabaseToolsSqlReportsResponse> handler)
Description copied from interface:DatabaseToolsAsyncReturns a list of Database Tools SQL reports.- Specified by:
listDatabaseToolsSqlReportsin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listWorkRequestErrors
public Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Description copied from interface:DatabaseToolsAsyncReturns a paginated list of errors for the specified work request.- Specified by:
listWorkRequestErrorsin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listWorkRequestLogs
public Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Description copied from interface:DatabaseToolsAsyncReturns a paginated list of logs for the specified work request.- Specified by:
listWorkRequestLogsin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
listWorkRequests
public Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Description copied from interface:DatabaseToolsAsyncLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
refreshDatabaseToolsIdentityCredential
public Future<RefreshDatabaseToolsIdentityCredentialResponse> refreshDatabaseToolsIdentityCredential(RefreshDatabaseToolsIdentityCredentialRequest request, AsyncHandler<RefreshDatabaseToolsIdentityCredentialRequest,RefreshDatabaseToolsIdentityCredentialResponse> handler)
Description copied from interface:DatabaseToolsAsyncRefresh Database Tools identity credential.- Specified by:
refreshDatabaseToolsIdentityCredentialin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
removeDatabaseToolsConnectionLock
public Future<RemoveDatabaseToolsConnectionLockResponse> removeDatabaseToolsConnectionLock(RemoveDatabaseToolsConnectionLockRequest request, AsyncHandler<RemoveDatabaseToolsConnectionLockRequest,RemoveDatabaseToolsConnectionLockResponse> handler)
Description copied from interface:DatabaseToolsAsyncRemoves a lock from a DatabaseToolsConnection resource.- Specified by:
removeDatabaseToolsConnectionLockin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
removeDatabaseToolsDatabaseApiGatewayConfigLock
public Future<RemoveDatabaseToolsDatabaseApiGatewayConfigLockResponse> removeDatabaseToolsDatabaseApiGatewayConfigLock(RemoveDatabaseToolsDatabaseApiGatewayConfigLockRequest request, AsyncHandler<RemoveDatabaseToolsDatabaseApiGatewayConfigLockRequest,RemoveDatabaseToolsDatabaseApiGatewayConfigLockResponse> handler)
Description copied from interface:DatabaseToolsAsyncRemoves a lock from a DatabaseToolsDatabaseApiGatewayConfig resource.- Specified by:
removeDatabaseToolsDatabaseApiGatewayConfigLockin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
removeDatabaseToolsIdentityLock
public Future<RemoveDatabaseToolsIdentityLockResponse> removeDatabaseToolsIdentityLock(RemoveDatabaseToolsIdentityLockRequest request, AsyncHandler<RemoveDatabaseToolsIdentityLockRequest,RemoveDatabaseToolsIdentityLockResponse> handler)
Description copied from interface:DatabaseToolsAsyncRemoves a lock from a DatabaseToolsIdentity resource.- Specified by:
removeDatabaseToolsIdentityLockin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
removeDatabaseToolsMcpServerLock
public Future<RemoveDatabaseToolsMcpServerLockResponse> removeDatabaseToolsMcpServerLock(RemoveDatabaseToolsMcpServerLockRequest request, AsyncHandler<RemoveDatabaseToolsMcpServerLockRequest,RemoveDatabaseToolsMcpServerLockResponse> handler)
Description copied from interface:DatabaseToolsAsyncRemoves a lock from a DatabaseToolsMcpServer resource.- Specified by:
removeDatabaseToolsMcpServerLockin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
removeDatabaseToolsMcpToolsetLock
public Future<RemoveDatabaseToolsMcpToolsetLockResponse> removeDatabaseToolsMcpToolsetLock(RemoveDatabaseToolsMcpToolsetLockRequest request, AsyncHandler<RemoveDatabaseToolsMcpToolsetLockRequest,RemoveDatabaseToolsMcpToolsetLockResponse> handler)
Description copied from interface:DatabaseToolsAsyncRemoves a lock from a DatabaseToolsMcpToolset resource.- Specified by:
removeDatabaseToolsMcpToolsetLockin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
removeDatabaseToolsPrivateEndpointLock
public Future<RemoveDatabaseToolsPrivateEndpointLockResponse> removeDatabaseToolsPrivateEndpointLock(RemoveDatabaseToolsPrivateEndpointLockRequest request, AsyncHandler<RemoveDatabaseToolsPrivateEndpointLockRequest,RemoveDatabaseToolsPrivateEndpointLockResponse> handler)
Description copied from interface:DatabaseToolsAsyncRemoves a lock from a DatabaseToolsPrivateEndpoint resource.- Specified by:
removeDatabaseToolsPrivateEndpointLockin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
removeDatabaseToolsSqlReportLock
public Future<RemoveDatabaseToolsSqlReportLockResponse> removeDatabaseToolsSqlReportLock(RemoveDatabaseToolsSqlReportLockRequest request, AsyncHandler<RemoveDatabaseToolsSqlReportLockRequest,RemoveDatabaseToolsSqlReportLockResponse> handler)
Description copied from interface:DatabaseToolsAsyncRemoves a lock from a DatabaseToolsSqlReport resource.- Specified by:
removeDatabaseToolsSqlReportLockin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
updateDatabaseToolsConnection
public Future<UpdateDatabaseToolsConnectionResponse> updateDatabaseToolsConnection(UpdateDatabaseToolsConnectionRequest request, AsyncHandler<UpdateDatabaseToolsConnectionRequest,UpdateDatabaseToolsConnectionResponse> handler)
Description copied from interface:DatabaseToolsAsyncUpdates the specified Database Tools connection.- Specified by:
updateDatabaseToolsConnectionin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
updateDatabaseToolsDatabaseApiGatewayConfig
public Future<UpdateDatabaseToolsDatabaseApiGatewayConfigResponse> updateDatabaseToolsDatabaseApiGatewayConfig(UpdateDatabaseToolsDatabaseApiGatewayConfigRequest request, AsyncHandler<UpdateDatabaseToolsDatabaseApiGatewayConfigRequest,UpdateDatabaseToolsDatabaseApiGatewayConfigResponse> handler)
Description copied from interface:DatabaseToolsAsyncUpdates the specified Database Tools database API gateway config.- Specified by:
updateDatabaseToolsDatabaseApiGatewayConfigin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
updateDatabaseToolsIdentity
public Future<UpdateDatabaseToolsIdentityResponse> updateDatabaseToolsIdentity(UpdateDatabaseToolsIdentityRequest request, AsyncHandler<UpdateDatabaseToolsIdentityRequest,UpdateDatabaseToolsIdentityResponse> handler)
Description copied from interface:DatabaseToolsAsyncUpdates the specified Database Tools identity.- Specified by:
updateDatabaseToolsIdentityin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
updateDatabaseToolsMcpServer
public Future<UpdateDatabaseToolsMcpServerResponse> updateDatabaseToolsMcpServer(UpdateDatabaseToolsMcpServerRequest request, AsyncHandler<UpdateDatabaseToolsMcpServerRequest,UpdateDatabaseToolsMcpServerResponse> handler)
Description copied from interface:DatabaseToolsAsyncUpdates the specified Database Tools MCP server.- Specified by:
updateDatabaseToolsMcpServerin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
updateDatabaseToolsMcpToolset
public Future<UpdateDatabaseToolsMcpToolsetResponse> updateDatabaseToolsMcpToolset(UpdateDatabaseToolsMcpToolsetRequest request, AsyncHandler<UpdateDatabaseToolsMcpToolsetRequest,UpdateDatabaseToolsMcpToolsetResponse> handler)
Description copied from interface:DatabaseToolsAsyncUpdates the specified Database Tools MCP Toolset.- Specified by:
updateDatabaseToolsMcpToolsetin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
updateDatabaseToolsPrivateEndpoint
public Future<UpdateDatabaseToolsPrivateEndpointResponse> updateDatabaseToolsPrivateEndpoint(UpdateDatabaseToolsPrivateEndpointRequest request, AsyncHandler<UpdateDatabaseToolsPrivateEndpointRequest,UpdateDatabaseToolsPrivateEndpointResponse> handler)
Description copied from interface:DatabaseToolsAsyncUpdates the specified Database Tools private endpoint.- Specified by:
updateDatabaseToolsPrivateEndpointin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
updateDatabaseToolsSqlReport
public Future<UpdateDatabaseToolsSqlReportResponse> updateDatabaseToolsSqlReport(UpdateDatabaseToolsSqlReportRequest request, AsyncHandler<UpdateDatabaseToolsSqlReportRequest,UpdateDatabaseToolsSqlReportResponse> handler)
Description copied from interface:DatabaseToolsAsyncUpdates the specified Database Tools SQL Report.- Specified by:
updateDatabaseToolsSqlReportin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
validateDatabaseToolsConnection
public Future<ValidateDatabaseToolsConnectionResponse> validateDatabaseToolsConnection(ValidateDatabaseToolsConnectionRequest request, AsyncHandler<ValidateDatabaseToolsConnectionRequest,ValidateDatabaseToolsConnectionResponse> handler)
Description copied from interface:DatabaseToolsAsyncValidates the Database Tools connection details by establishing a connection to the database.- Specified by:
validateDatabaseToolsConnectionin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
validateDatabaseToolsIdentityCredential
public Future<ValidateDatabaseToolsIdentityCredentialResponse> validateDatabaseToolsIdentityCredential(ValidateDatabaseToolsIdentityCredentialRequest request, AsyncHandler<ValidateDatabaseToolsIdentityCredentialRequest,ValidateDatabaseToolsIdentityCredentialResponse> handler)
Description copied from interface:DatabaseToolsAsyncValidates the Database Tools identity credentials by establishing a connection to the customer database and executing the dbms_cloud.send_request to validate the credential.- Specified by:
validateDatabaseToolsIdentityCredentialin interfaceDatabaseToolsAsync- Parameters:
request- The request object containing the details to sendhandler- 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.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
enableDualStackEndpoints
public void enableDualStackEndpoints(boolean enableDualStackEndpoints)
This method should be used to enable or disable the use of dual-stack endpoints.The default value is false i.e. dual-stack endpoints are disabled by default.
- Parameters:
enableDualStackEndpoints- This flag can be set to true or false to enable or disable the use of dual-stack endpoints respectively
-
getOptionsMap
public Map<String,Boolean> getOptionsMap()
Return an immutable snapshot representing the current options set for this client.- Returns:
- immutable snapshot representing the current options set for this client
-
getResolvedEndpoint
public String getResolvedEndpoint(Map<String,Object> requiredParametersMap)
Returns the endpoint after filling in the current options, as determined byBaseClient.getOptionsMap(), and then filling in the required parameters in requiredParametersMap into the placeholders in the endpoint.- Parameters:
requiredParametersMap- the map from required parameter name to their values- Returns:
- resolved endpoint, with all options and placeholders filled in
-
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
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
Get the endpoint of the client.Note that the endpoint may be parameterized and contain placeholders and options. The region subdomain and realm domain will have been properly replaced already if the endpoint was selected using a
Region.Examples of endpoints this may return:
- Unparameterized endpoints
https://identity.us-phoenix-1.oci.oraclecloud.com https://identity.us-ashburn-1.oci.oraclecloud.com https://test-namespace.objectstorage.us-ashburn-1.oci.customer-oci.com - Parameterized endpoints with placeholders
https://{namespaceName+Dot}objectstorage.us-phoenix-1.oci.customer-oci.com https://{namespaceName+Dot}objectstorage.us-ashburn-1.oci.customer-oci.com - Parameterized endpoints with options
https://{dualStack?ds.:}identity.us-phoenix-1.oci.oraclecloud.com https://{dualStack?ds.:}identity.us-ashburn-1.oci.oraclecloud.com - Parameterized endpoints with placeholders and options
https://{namespaceName+Dot}{dualStack?ds.:}objectstorage.us-phoenix-1.oci.customer-oci.com https://{namespaceName+Dot}{dualStack?ds.:}objectstorage.us-ashburn-1.oci.customer-oci.com
To get the actual endpoint for a parameterized request, you can use
BaseClient.getResolvedEndpoint(Map)orParameterizedEndpointUtil.getEndpointWithPopulatedServiceParameters(String, Map, Map).- Returns:
- the endpoint being used by the client
- Unparameterized endpoints
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
ClientConfigurators again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
closein interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
getMinimumClientCommonLibraryVersionFromClient
public Optional<String> getMinimumClientCommonLibraryVersionFromClient()
-
clientCall
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)
-
-