Class DataFlowClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.dataflow.DataFlowClient
-
- All Implemented Interfaces:
DataFlow,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20200129") public class DataFlowClient extends BaseSyncClient implements DataFlow
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classDataFlowClient.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 DataFlow.
-
Constructor Summary
Constructors Constructor Description DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)Deprecated.Use thebuilderinstead.DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)Deprecated.Use thebuilderinstead.DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)Deprecated.Use thebuilderinstead.DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)Deprecated.Use thebuilderinstead.DataFlowClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)Deprecated.Use thebuilderinstead.DataFlowClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)Deprecated.Use thebuilderinstead.DataFlowClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)Deprecated.Use thebuilderinstead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataFlowClient.Builderbuilder()Create a builder for this client.CascadingDeleteApplicationResponsecascadingDeleteApplication(CascadingDeleteApplicationRequest request)Deletes an application using anapplicationIdand terminates related runs.ChangeApplicationCompartmentResponsechangeApplicationCompartment(ChangeApplicationCompartmentRequest request)Moves an application into a different compartment.ChangePoolCompartmentResponsechangePoolCompartment(ChangePoolCompartmentRequest request)Moves a pool into a different compartment.ChangePrivateEndpointCompartmentResponsechangePrivateEndpointCompartment(ChangePrivateEndpointCompartmentRequest request)Moves a private endpoint into a different compartment.ChangeRunCompartmentResponsechangeRunCompartment(ChangeRunCompartmentRequest request)Moves a run into a different compartment.ChangeSqlEndpointCompartmentResponsechangeSqlEndpointCompartment(ChangeSqlEndpointCompartmentRequest request)Moves an Sql Endpoint from one compartment to another.voidclose()CreateApplicationResponsecreateApplication(CreateApplicationRequest request)Creates an application.CreatePoolResponsecreatePool(CreatePoolRequest request)Create a pool to be used by dataflow runs or applications.CreatePrivateEndpointResponsecreatePrivateEndpoint(CreatePrivateEndpointRequest request)Creates a private endpoint to be used by applications.CreateRunResponsecreateRun(CreateRunRequest request)Creates a run for an application.CreateSqlEndpointResponsecreateSqlEndpoint(CreateSqlEndpointRequest request)Create a new Sql Endpoint.CreateStatementResponsecreateStatement(CreateStatementRequest request)Executes a statement for a Session run.DeleteApplicationResponsedeleteApplication(DeleteApplicationRequest request)Deletes an application using anapplicationId.DeletePoolResponsedeletePool(DeletePoolRequest request)Deletes a pool using apoolId.DeletePrivateEndpointResponsedeletePrivateEndpoint(DeletePrivateEndpointRequest request)Deletes a private endpoint using aprivateEndpointId.DeleteRunResponsedeleteRun(DeleteRunRequest request)Cancels the specified run if it has not already completed or was previously cancelled.DeleteSqlEndpointResponsedeleteSqlEndpoint(DeleteSqlEndpointRequest request)Delete a Sql Endpoint resource, identified by the SqlEndpoint id.DeleteStatementResponsedeleteStatement(DeleteStatementRequest request)Cancels the specified statement for a Session run.GetApplicationResponsegetApplication(GetApplicationRequest request)Retrieves an application using anapplicationId.StringgetClientCommonLibraryVersion()protected ClientConfiguratorgetDefaultConfigurator()StringgetEndpoint()Optional<String>getMinimumClientCommonLibraryVersionFromClient()DataFlowPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetPoolResponsegetPool(GetPoolRequest request)Retrieves a pool using apoolId.GetPrivateEndpointResponsegetPrivateEndpoint(GetPrivateEndpointRequest request)Retrieves an private endpoint using aprivateEndpointId.GetRunResponsegetRun(GetRunRequest request)Retrieves the run for the specifiedrunId.GetRunLogResponsegetRunLog(GetRunLogRequest request)Retrieves the content of an run log.GetSqlEndpointResponsegetSqlEndpoint(GetSqlEndpointRequest request)Retrieves a SQL Endpoint using a sqlEndpointId.GetStatementResponsegetStatement(GetStatementRequest request)Retrieves the statement corresponding to thestatementIdfor a Session run specified byrunId.DataFlowWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets the status of the work request with the given OCID.ListApplicationsResponselistApplications(ListApplicationsRequest request)Lists all applications in the specified compartment.ListPoolsResponselistPools(ListPoolsRequest request)Lists all pools in the specified compartment.ListPrivateEndpointsResponselistPrivateEndpoints(ListPrivateEndpointsRequest request)Lists all private endpoints in the specified compartment.ListRunLogsResponselistRunLogs(ListRunLogsRequest request)Retrieves summaries of the run’s logs.ListRunsResponselistRuns(ListRunsRequest request)Lists all runs of an application in the specified compartment.ListSqlEndpointsResponselistSqlEndpoints(ListSqlEndpointsRequest request)Lists all Sql Endpoints in the specified compartment.ListStatementsResponselistStatements(ListStatementsRequest request)Lists all statements for a Session run.ListWorkRequestErrorsResponselistWorkRequestErrors(ListWorkRequestErrorsRequest request)Return a (paginated) list of errors for a given work request.ListWorkRequestLogsResponselistWorkRequestLogs(ListWorkRequestLogsRequest request)Return a paginated list of logs for a given work request.ListWorkRequestsResponselistWorkRequests(ListWorkRequestsRequest request)Lists the work requests in a compartment.voidpopulateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)Populate the parameters in the endpoint with its corresponding value and update the base endpoint.voidrefreshClient()Rebuild the backingHttpClient.voidsetEndpoint(String endpoint)voidsetRegion(Region region)Sets the region to call (ex, Region.US_PHOENIX_1).voidsetRegion(String regionId)Sets the region to call (ex, ‘us-phoenix-1’).StartPoolResponsestartPool(StartPoolRequest request)Starts the dataflow pool for a givenpoolId.StartSqlEndpointResponsestartSqlEndpoint(StartSqlEndpointRequest request)Starts the SqlEndpoint for a givenSqlEndpointId.StopPoolResponsestopPool(StopPoolRequest request)Stops the dataflow pool for a givenpoolId.StopSqlEndpointResponsestopSqlEndpoint(StopSqlEndpointRequest request)Stops the SqlEndpoint for a givenSqlEndpointId.UpdateApplicationResponseupdateApplication(UpdateApplicationRequest request)Updates an application using anapplicationId.voidupdateBaseEndpoint(String endpoint)This method should be used for parameterized endpoint templates only.UpdatePoolResponseupdatePool(UpdatePoolRequest request)Updates a pool using apoolId.If changes to a pool doesn’t match a previously defined pool,then a 409 status code will be returned.This indicates that a conflict has been detected.UpdatePrivateEndpointResponseupdatePrivateEndpoint(UpdatePrivateEndpointRequest request)Updates a private endpoint using aprivateEndpointId.UpdateRunResponseupdateRun(UpdateRunRequest request)Updates a run using arunId.UpdateSqlEndpointResponseupdateSqlEndpoint(UpdateSqlEndpointRequest request)Update a Sql Endpoint resource, identified by the SqlEndpoint id.voiduseRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)This method should be used to enable or disable the use of realm-specific endpoint template.-
Methods inherited from class com.oracle.bmc.http.internal.BaseSyncClient
clientCall
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.AutoCloseable
close
-
Methods inherited from interface com.oracle.bmc.dataflow.DataFlow
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
-
-
-
Constructor Detail
-
DataFlowClient
@Deprecated public DataFlowClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDataFlowClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))
-
DataFlowClient
@Deprecated public DataFlowClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDataFlowClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configuration
-
DataFlowClient
@Deprecated public DataFlowClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDataFlowClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
DataFlowClient
@Deprecated public DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDataFlowClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactory
-
DataFlowClient
@Deprecated public DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDataFlowClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider))configuration-ClientBuilderBase.configurationclientConfigurator-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)defaultRequestSignerFactory-ClientBuilderBase.requestSignerFactoryadditionalClientConfigurators-ClientBuilderBase.additionalClientConfigurators
-
DataFlowClient
@Deprecated public DataFlowClient(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 (seeDataFlowClient.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)
-
DataFlowClient
@Deprecated public DataFlowClient(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 (seeDataFlowClient.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
-
DataFlowClient
@Deprecated public DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilderinstead.Create a new client instance.- Parameters:
authenticationDetailsProvider- The authentication details (seeDataFlowClient.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.signingStrategyRequestSignerFactoriesexecutorService-DataFlowClient.Builder.executorService
-
-
Method Detail
-
builder
public static DataFlowClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:DataFlowSets 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.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:DataFlowSets 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.
-
cascadingDeleteApplication
public CascadingDeleteApplicationResponse cascadingDeleteApplication(CascadingDeleteApplicationRequest request)
Description copied from interface:DataFlowDeletes an application using anapplicationIdand terminates related runs.This operation will timeout in approximate 30 minutes if any related Runs are not terminated successfully.
- Specified by:
cascadingDeleteApplicationin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeApplicationCompartment
public ChangeApplicationCompartmentResponse changeApplicationCompartment(ChangeApplicationCompartmentRequest request)
Description copied from interface:DataFlowMoves an application into a different compartment.When provided, If-Match is checked against ETag values of the resource. Associated resources, like runs, will not be automatically moved.
- Specified by:
changeApplicationCompartmentin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changePoolCompartment
public ChangePoolCompartmentResponse changePoolCompartment(ChangePoolCompartmentRequest request)
Description copied from interface:DataFlowMoves a pool into a different compartment.When provided, If-Match is checked against ETag values of the resource. Associated resources, like historical metrics, will not be automatically moved. The pool must be in a terminal state (STOPPED, FAILED) in order for it to be moved to a different compartment
- Specified by:
changePoolCompartmentin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changePrivateEndpointCompartment
public ChangePrivateEndpointCompartmentResponse changePrivateEndpointCompartment(ChangePrivateEndpointCompartmentRequest request)
Description copied from interface:DataFlowMoves a private endpoint into a different compartment.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changePrivateEndpointCompartmentin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeRunCompartment
public ChangeRunCompartmentResponse changeRunCompartment(ChangeRunCompartmentRequest request)
Description copied from interface:DataFlowMoves a run into a different compartment.When provided, If-Match is checked against ETag values of the resource. Associated resources, like historical metrics, will not be automatically moved. The run must be in a terminal state (CANCELED, FAILED, SUCCEEDED) in order for it to be moved to a different compartment
- Specified by:
changeRunCompartmentin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeSqlEndpointCompartment
public ChangeSqlEndpointCompartmentResponse changeSqlEndpointCompartment(ChangeSqlEndpointCompartmentRequest request)
Description copied from interface:DataFlowMoves an Sql Endpoint from one compartment to another.When provided, If-Match is checked against ETag values of the Sql Endpoint.
- Specified by:
changeSqlEndpointCompartmentin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createApplication
public CreateApplicationResponse createApplication(CreateApplicationRequest request)
Description copied from interface:DataFlowCreates an application.- Specified by:
createApplicationin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createPool
public CreatePoolResponse createPool(CreatePoolRequest request)
Description copied from interface:DataFlowCreate a pool to be used by dataflow runs or applications.- Specified by:
createPoolin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createPrivateEndpoint
public CreatePrivateEndpointResponse createPrivateEndpoint(CreatePrivateEndpointRequest request)
Description copied from interface:DataFlowCreates a private endpoint to be used by applications.- Specified by:
createPrivateEndpointin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createRun
public CreateRunResponse createRun(CreateRunRequest request)
Description copied from interface:DataFlowCreates a run for an application.
-
createSqlEndpoint
public CreateSqlEndpointResponse createSqlEndpoint(CreateSqlEndpointRequest request)
Description copied from interface:DataFlowCreate a new Sql Endpoint.- Specified by:
createSqlEndpointin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createStatement
public CreateStatementResponse createStatement(CreateStatementRequest request)
Description copied from interface:DataFlowExecutes a statement for a Session run.- Specified by:
createStatementin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteApplication
public DeleteApplicationResponse deleteApplication(DeleteApplicationRequest request)
Description copied from interface:DataFlowDeletes an application using anapplicationId.- Specified by:
deleteApplicationin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deletePool
public DeletePoolResponse deletePool(DeletePoolRequest request)
Description copied from interface:DataFlowDeletes a pool using apoolId.- Specified by:
deletePoolin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deletePrivateEndpoint
public DeletePrivateEndpointResponse deletePrivateEndpoint(DeletePrivateEndpointRequest request)
Description copied from interface:DataFlowDeletes a private endpoint using aprivateEndpointId.- Specified by:
deletePrivateEndpointin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteRun
public DeleteRunResponse deleteRun(DeleteRunRequest request)
Description copied from interface:DataFlowCancels the specified run if it has not already completed or was previously cancelled.If a run is in progress, the executing job will be killed.
-
deleteSqlEndpoint
public DeleteSqlEndpointResponse deleteSqlEndpoint(DeleteSqlEndpointRequest request)
Description copied from interface:DataFlowDelete a Sql Endpoint resource, identified by the SqlEndpoint id.- Specified by:
deleteSqlEndpointin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteStatement
public DeleteStatementResponse deleteStatement(DeleteStatementRequest request)
Description copied from interface:DataFlowCancels the specified statement for a Session run.- Specified by:
deleteStatementin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getApplication
public GetApplicationResponse getApplication(GetApplicationRequest request)
Description copied from interface:DataFlowRetrieves an application using anapplicationId.- Specified by:
getApplicationin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getPool
public GetPoolResponse getPool(GetPoolRequest request)
Description copied from interface:DataFlowRetrieves a pool using apoolId.
-
getPrivateEndpoint
public GetPrivateEndpointResponse getPrivateEndpoint(GetPrivateEndpointRequest request)
Description copied from interface:DataFlowRetrieves an private endpoint using aprivateEndpointId.- Specified by:
getPrivateEndpointin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getRun
public GetRunResponse getRun(GetRunRequest request)
Description copied from interface:DataFlowRetrieves the run for the specifiedrunId.
-
getRunLog
public GetRunLogResponse getRunLog(GetRunLogRequest request)
Description copied from interface:DataFlowRetrieves the content of an run log.
-
getSqlEndpoint
public GetSqlEndpointResponse getSqlEndpoint(GetSqlEndpointRequest request)
Description copied from interface:DataFlowRetrieves a SQL Endpoint using a sqlEndpointId.- Specified by:
getSqlEndpointin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getStatement
public GetStatementResponse getStatement(GetStatementRequest request)
Description copied from interface:DataFlowRetrieves the statement corresponding to thestatementIdfor a Session run specified byrunId.- Specified by:
getStatementin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWorkRequest
public GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Description copied from interface:DataFlowGets the status of the work request with the given OCID.- Specified by:
getWorkRequestin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listApplications
public ListApplicationsResponse listApplications(ListApplicationsRequest request)
Description copied from interface:DataFlowLists all applications in the specified compartment.Only one parameter other than compartmentId may also be included in a query. The query must include compartmentId. If the query does not include compartmentId, or includes compartmentId but two or more other parameters an error is returned.
- Specified by:
listApplicationsin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listPools
public ListPoolsResponse listPools(ListPoolsRequest request)
Description copied from interface:DataFlowLists all pools in the specified compartment.The query must include compartmentId. The query may also include one other parameter. If the query does not include compartmentId, or includes compartmentId, but with two or more other parameters, an error is returned.
-
listPrivateEndpoints
public ListPrivateEndpointsResponse listPrivateEndpoints(ListPrivateEndpointsRequest request)
Description copied from interface:DataFlowLists all private endpoints in the specified compartment.The query must include compartmentId. The query may also include one other parameter. If the query does not include compartmentId, or includes compartmentId, but with two or more other parameters, an error is returned.
- Specified by:
listPrivateEndpointsin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listRunLogs
public ListRunLogsResponse listRunLogs(ListRunLogsRequest request)
Description copied from interface:DataFlowRetrieves summaries of the run’s logs.- Specified by:
listRunLogsin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listRuns
public ListRunsResponse listRuns(ListRunsRequest request)
Description copied from interface:DataFlowLists all runs of an application in the specified compartment.Only one parameter other than compartmentId may also be included in a query. The query must include compartmentId. If the query does not include compartmentId, or includes compartmentId but two or more other parameters an error is returned.
-
listSqlEndpoints
public ListSqlEndpointsResponse listSqlEndpoints(ListSqlEndpointsRequest request)
Description copied from interface:DataFlowLists all Sql Endpoints in the specified compartment.The query must include compartmentId or sqlEndpointId. If the query does not include either compartmentId or sqlEndpointId, an error is returned.
- Specified by:
listSqlEndpointsin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listStatements
public ListStatementsResponse listStatements(ListStatementsRequest request)
Description copied from interface:DataFlowLists all statements for a Session run.- Specified by:
listStatementsin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestErrors
public ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Description copied from interface:DataFlowReturn a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrorsin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequestLogs
public ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Description copied from interface:DataFlowReturn a paginated list of logs for a given work request.- Specified by:
listWorkRequestLogsin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listWorkRequests
public ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Description copied from interface:DataFlowLists the work requests in a compartment.- Specified by:
listWorkRequestsin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
startPool
public StartPoolResponse startPool(StartPoolRequest request)
Description copied from interface:DataFlowStarts the dataflow pool for a givenpoolId.When provided, If-Match is checked against ETag values of the resource.
-
startSqlEndpoint
public StartSqlEndpointResponse startSqlEndpoint(StartSqlEndpointRequest request)
Description copied from interface:DataFlowStarts the SqlEndpoint for a givenSqlEndpointId.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
startSqlEndpointin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
stopPool
public StopPoolResponse stopPool(StopPoolRequest request)
Description copied from interface:DataFlowStops the dataflow pool for a givenpoolId.When provided, If-Match is checked against ETag values of the resource.
-
stopSqlEndpoint
public StopSqlEndpointResponse stopSqlEndpoint(StopSqlEndpointRequest request)
Description copied from interface:DataFlowStops the SqlEndpoint for a givenSqlEndpointId.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
stopSqlEndpointin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateApplication
public UpdateApplicationResponse updateApplication(UpdateApplicationRequest request)
Description copied from interface:DataFlowUpdates an application using anapplicationId.- Specified by:
updateApplicationin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updatePool
public UpdatePoolResponse updatePool(UpdatePoolRequest request)
Description copied from interface:DataFlowUpdates a pool using apoolId.If changes to a pool doesn’t match a previously defined pool,then a 409 status code will be returned.This indicates that a conflict has been detected.- Specified by:
updatePoolin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updatePrivateEndpoint
public UpdatePrivateEndpointResponse updatePrivateEndpoint(UpdatePrivateEndpointRequest request)
Description copied from interface:DataFlowUpdates a private endpoint using aprivateEndpointId.If changes to a private endpoint match a previously defined private endpoint, then a 409 status code will be returned. This indicates that a conflict has been detected.
- Specified by:
updatePrivateEndpointin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateRun
public UpdateRunResponse updateRun(UpdateRunRequest request)
Description copied from interface:DataFlowUpdates a run using arunId.
-
updateSqlEndpoint
public UpdateSqlEndpointResponse updateSqlEndpoint(UpdateSqlEndpointRequest request)
Description copied from interface:DataFlowUpdate a Sql Endpoint resource, identified by the SqlEndpoint id.- Specified by:
updateSqlEndpointin interfaceDataFlow- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public DataFlowWaiters getWaiters()
Description copied from interface:DataFlowGets the pre-configured waiters available for resources for this service.- Specified by:
getWaitersin interfaceDataFlow- Returns:
- The service waiters.
-
getPaginators
public DataFlowPaginators getPaginators()
Description copied from interface:DataFlowGets the pre-configured paginators available for list operations in this service which may return multiple pages of data.These paginators provide an
Iterableinterface so that service responses, or resources/records, can be iterated through without having to manually deal with pagination and page tokens.- Specified by:
getPaginatorsin interfaceDataFlow- Returns:
- The service paginators.
-
getDefaultConfigurator
protected ClientConfigurator getDefaultConfigurator()
-
useRealmSpecificEndpointTemplate
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.The default value is null. To enable the use of endpoint template defined for the realm in use, set the flag to true To disable the use of endpoint template defined for the realm in use, set the flag to false
- Parameters:
useOfRealmSpecificEndpointTemplateEnabled- This flag can be set to true or false to enable or disable the use of realm-specific endpoint template respectively
-
populateServiceParametersInEndpoint
public final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base endpoint.The value will be populated iff the parameter in endpoint is a required request path parameter or a required request query parameter. If not, the parameter in the endpoint will be ignored and left blank.
- Parameters:
endpoint- The endpoint template in userequiredParametersMap- Map of parameter name as key and value set in request path or query parameter as value
-
updateBaseEndpoint
public final void updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.This does not include {region} and {secondLevelDomain} parameters.
- Parameters:
endpoint- The updated endpoint to use
-
setEndpoint
public final void setEndpoint(String endpoint)
-
getEndpoint
public final String getEndpoint()
-
refreshClient
public final void refreshClient()
Rebuild the backingHttpClient.This will call
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()
-
-