@Generated(value="OracleSDKGenerator", comments="API Version: 20181201") public interface DataSafeAsync extends AutoCloseable
APIs for using Oracle Data Safe.
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<ChangeDataSafePrivateEndpointCompartmentResponse> changeDataSafePrivateEndpointCompartment(ChangeDataSafePrivateEndpointCompartmentRequest request, AsyncHandler<ChangeDataSafePrivateEndpointCompartmentRequest,ChangeDataSafePrivateEndpointCompartmentResponse> handler)
Moves the Data Safe private endpoint and its dependent resources to the specified compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ChangeOnPremConnectorCompartmentResponse> changeOnPremConnectorCompartment(ChangeOnPremConnectorCompartmentRequest request, AsyncHandler<ChangeOnPremConnectorCompartmentRequest,ChangeOnPremConnectorCompartmentResponse> handler)
Moves the specified on-premises connector into a different compartment.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateDataSafePrivateEndpointResponse> createDataSafePrivateEndpoint(CreateDataSafePrivateEndpointRequest request, AsyncHandler<CreateDataSafePrivateEndpointRequest,CreateDataSafePrivateEndpointResponse> handler)
Creates a new Data Safe private endpoint.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<CreateOnPremConnectorResponse> createOnPremConnector(CreateOnPremConnectorRequest request, AsyncHandler<CreateOnPremConnectorRequest,CreateOnPremConnectorResponse> handler)
Creates a new on-premises connector.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteDataSafePrivateEndpointResponse> deleteDataSafePrivateEndpoint(DeleteDataSafePrivateEndpointRequest request, AsyncHandler<DeleteDataSafePrivateEndpointRequest,DeleteDataSafePrivateEndpointResponse> handler)
Deletes the specified Data Safe private endpoint.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<DeleteOnPremConnectorResponse> deleteOnPremConnector(DeleteOnPremConnectorRequest request, AsyncHandler<DeleteOnPremConnectorRequest,DeleteOnPremConnectorResponse> handler)
Deletes the specified on-premises connector.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<EnableDataSafeConfigurationResponse> enableDataSafeConfiguration(EnableDataSafeConfigurationRequest request, AsyncHandler<EnableDataSafeConfigurationRequest,EnableDataSafeConfigurationResponse> handler)
Enables Data Safe in the tenancy and region.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GenerateOnPremConnectorConfigurationResponse> generateOnPremConnectorConfiguration(GenerateOnPremConnectorConfigurationRequest request, AsyncHandler<GenerateOnPremConnectorConfigurationRequest,GenerateOnPremConnectorConfigurationResponse> handler)
Creates and downloads the configuration of the specified on-premises connector.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDataSafeConfigurationResponse> getDataSafeConfiguration(GetDataSafeConfigurationRequest request, AsyncHandler<GetDataSafeConfigurationRequest,GetDataSafeConfigurationResponse> handler)
Gets the details of the Data Safe configuration.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetDataSafePrivateEndpointResponse> getDataSafePrivateEndpoint(GetDataSafePrivateEndpointRequest request, AsyncHandler<GetDataSafePrivateEndpointRequest,GetDataSafePrivateEndpointResponse> handler)
Gets the details of the specified Data Safe private endpoint.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<GetOnPremConnectorResponse> getOnPremConnector(GetOnPremConnectorRequest request, AsyncHandler<GetOnPremConnectorRequest,GetOnPremConnectorResponse> handler)
Gets the details of the specified on-premises connector.
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 details of the specified work request.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListDataSafePrivateEndpointsResponse> listDataSafePrivateEndpoints(ListDataSafePrivateEndpointsRequest request, AsyncHandler<ListDataSafePrivateEndpointsRequest,ListDataSafePrivateEndpointsResponse> handler)
Gets a list of Data Safe private endpoints.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<ListOnPremConnectorsResponse> listOnPremConnectors(ListOnPremConnectorsRequest request, AsyncHandler<ListOnPremConnectorsRequest,ListOnPremConnectorsResponse> handler)
Gets a list of on-premises connectors.
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)
Gets a list of errors for the specified 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)
Gets a list of log entries for the specified 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)
Gets a list of work requests.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateDataSafePrivateEndpointResponse> updateDataSafePrivateEndpoint(UpdateDataSafePrivateEndpointRequest request, AsyncHandler<UpdateDataSafePrivateEndpointRequest,UpdateDataSafePrivateEndpointResponse> handler)
Updates one or more attributes of the specified Data Safe private endpoint.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateOnPremConnectorResponse> updateOnPremConnector(UpdateOnPremConnectorRequest request, AsyncHandler<UpdateOnPremConnectorRequest,UpdateOnPremConnectorResponse> handler)
Updates one or more attributes of the specified on-premises connector.
request
- The request object containing the details to sendhandler
- The request handler to invoke upon completion, may be null.Future<UpdateOnPremConnectorWalletResponse> updateOnPremConnectorWallet(UpdateOnPremConnectorWalletRequest request, AsyncHandler<UpdateOnPremConnectorWalletRequest,UpdateOnPremConnectorWalletResponse> handler)
Updates the wallet for the specified on-premises connector to a new version.
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.