@Generated(value="OracleSDKGenerator", comments="API Version: 20190531") public interface BdsAsync extends AutoCloseable
closevoid setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint - The endpoint of the serice.void setRegion(Region region)
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.
region - The region of the service.void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
Note, this will first try to map the region ID to a known Region and call setRegion.
If no known Region could be determined, it will create an endpoint based on the default endpoint format (Region.formatDefaultRegionEndpoint(Service, String) and then call setEndpoint.
regionId - The public region ID.Future<AddBlockStorageResponse> addBlockStorage(AddBlockStorageRequest request, AsyncHandler<AddBlockStorageRequest,AddBlockStorageResponse> handler)
Adds storage to existing worker nodes. The same amount of storage will be added to all workers. No change will be made to already attached storage. Block Storage once added cannot be removed.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<AddCloudSqlResponse> addCloudSql(AddCloudSqlRequest request, AsyncHandler<AddCloudSqlRequest,AddCloudSqlResponse> handler)
Adds Cloud SQL to your cluster. This will add a query server node to the cluster and create cell servers on all your worker nodes.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<AddWorkerNodesResponse> addWorkerNodes(AddWorkerNodesRequest request, AsyncHandler<AddWorkerNodesRequest,AddWorkerNodesResponse> handler)
Add worker nodes to an existing cluster. The worker nodes added will be based on an identical shape and have the same amount of attached block storage as other worker nodes in the cluster.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<ChangeBdsInstanceCompartmentResponse> changeBdsInstanceCompartment(ChangeBdsInstanceCompartmentRequest request, AsyncHandler<ChangeBdsInstanceCompartmentRequest,ChangeBdsInstanceCompartmentResponse> handler)
Moves a BDS instance into a different compartment.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<CreateBdsInstanceResponse> createBdsInstance(CreateBdsInstanceRequest request, AsyncHandler<CreateBdsInstanceRequest,CreateBdsInstanceResponse> handler)
Creates a new BDS instance.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<DeleteBdsInstanceResponse> deleteBdsInstance(DeleteBdsInstanceRequest request, AsyncHandler<DeleteBdsInstanceRequest,DeleteBdsInstanceResponse> handler)
Deletes a BDS instance by identifier
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<GetBdsInstanceResponse> getBdsInstance(GetBdsInstanceRequest request, AsyncHandler<GetBdsInstanceRequest,GetBdsInstanceResponse> handler)
Gets a BDS instance by identifier
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<GetWorkRequestResponse> getWorkRequest(GetWorkRequestRequest request, AsyncHandler<GetWorkRequestRequest,GetWorkRequestResponse> handler)
Gets the status of the work request with the given ID.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<ListBdsInstancesResponse> listBdsInstances(ListBdsInstancesRequest request, AsyncHandler<ListBdsInstancesRequest,ListBdsInstancesResponse> handler)
Returns a list of BDS instances.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<ListWorkRequestErrorsResponse> listWorkRequestErrors(ListWorkRequestErrorsRequest request, AsyncHandler<ListWorkRequestErrorsRequest,ListWorkRequestErrorsResponse> handler)
Return a (paginated) list of errors for a given work request.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<ListWorkRequestLogsResponse> listWorkRequestLogs(ListWorkRequestLogsRequest request, AsyncHandler<ListWorkRequestLogsRequest,ListWorkRequestLogsResponse> handler)
Return a (paginated) list of logs for a given work request.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<ListWorkRequestsResponse> listWorkRequests(ListWorkRequestsRequest request, AsyncHandler<ListWorkRequestsRequest,ListWorkRequestsResponse> handler)
Lists the work requests in a compartment.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<RemoveCloudSqlResponse> removeCloudSql(RemoveCloudSqlRequest request, AsyncHandler<RemoveCloudSqlRequest,RemoveCloudSqlResponse> handler)
Remove Cloud SQL capability.
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Future<UpdateBdsInstanceResponse> updateBdsInstance(UpdateBdsInstanceRequest request, AsyncHandler<UpdateBdsInstanceRequest,UpdateBdsInstanceResponse> handler)
Update the BDS instance identified by the id
request - The request object containing the details to sendhandler - The request handler to invoke upon completion, may be null.Copyright © 2016–2020. All rights reserved.