@Generated(value="OracleSDKGenerator", comments="API Version: 20190531") public interface BdsAsync extends AutoCloseable
API for the Big Data Service. Use this API to build, deploy, and manage fully elastic Big Data Service build on Hadoop, Spark and Data Science distribution, which can be fully integrated with existing enterprise data in Oracle Database and Oracle Applications..
close
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).
endpoint
- The endpoint of the serice.String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
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<AddAutoScalingConfigurationResponse> addAutoScalingConfiguration(AddAutoScalingConfigurationRequest request, AsyncHandler<AddAutoScalingConfigurationRequest,AddAutoScalingConfigurationResponse> handler)
Add autoscaling configuration.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.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<ChangeShapeResponse> changeShape(ChangeShapeRequest request, AsyncHandler<ChangeShapeRequest,ChangeShapeResponse> handler)
Scale-up/down individial nodes (per role type) in the cluster. Customer can choose arbitrarty VM_STANDARD shape to scale-up/down the instance. Only VM_STANDARD nodes can be re-shaped.
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<GetAutoScalingConfigurationResponse> getAutoScalingConfiguration(GetAutoScalingConfigurationRequest request, AsyncHandler<GetAutoScalingConfigurationRequest,GetAutoScalingConfigurationResponse> handler)
Gets information about the specified autoscaling configuration.
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<ListAutoScalingConfigurationsResponse> listAutoScalingConfigurations(ListAutoScalingConfigurationsRequest request, AsyncHandler<ListAutoScalingConfigurationsRequest,ListAutoScalingConfigurationsResponse> handler)
Gets information about the autoscaling configuration.
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<RemoveAutoScalingConfigurationResponse> removeAutoScalingConfiguration(RemoveAutoScalingConfigurationRequest request, AsyncHandler<RemoveAutoScalingConfigurationRequest,RemoveAutoScalingConfigurationResponse> handler)
Remove autoscaling configuration.
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<RestartNodeResponse> restartNode(RestartNodeRequest request, AsyncHandler<RestartNodeRequest,RestartNodeResponse> handler)
Restarts a single node of a BDS instance.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateAutoScalingConfigurationResponse> updateAutoScalingConfiguration(UpdateAutoScalingConfigurationRequest request, AsyncHandler<UpdateAutoScalingConfigurationRequest,UpdateAutoScalingConfigurationResponse> handler)
Updates certain fields on the specified autoscaling configuration, such as the name, the threshold value, and whether the autoscaling configuration is enabled.
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–2021. All rights reserved.