@Generated(value="OracleSDKGenerator", comments="API Version: 20200129") public class DataFlowClient extends BaseSyncClient implements DataFlow
Modifier and Type | Class and Description |
---|---|
static class |
DataFlowClient.Builder
Builder class for this client.
|
Modifier and Type | Field and Description |
---|---|
String |
clientCommonLibraryVersion
Compatible SDK version, provided by the codegen.
|
Optional<String> |
minimumClientCommonLibraryVersionFromClient
Minimum compatible SDK version, maybe provided by the codegen.
|
static Service |
SERVICE
Service instance for DataFlow.
|
Constructor and Description |
---|
DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory)
Deprecated.
Use the
builder instead. |
DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators)
Deprecated.
Use the
builder instead. |
DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint)
Deprecated.
Use the
builder instead. |
DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator,
RequestSignerFactory defaultRequestSignerFactory,
Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories,
List<ClientConfigurator> additionalClientConfigurators,
String endpoint,
ExecutorService executorService)
Deprecated.
Use the
builder instead. |
DataFlowClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.
Use the
builder instead. |
DataFlowClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration)
Deprecated.
Use the
builder instead. |
DataFlowClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider,
ClientConfiguration configuration,
ClientConfigurator clientConfigurator)
Deprecated.
Use the
builder instead. |
Modifier and Type | Method and Description |
---|---|
static DataFlowClient.Builder |
builder()
Create a builder for this client.
|
CascadingDeleteApplicationResponse |
cascadingDeleteApplication(CascadingDeleteApplicationRequest request)
Deletes an application using an
applicationId and terminates related runs. |
ChangeApplicationCompartmentResponse |
changeApplicationCompartment(ChangeApplicationCompartmentRequest request)
Moves an application into a different compartment.
|
ChangePoolCompartmentResponse |
changePoolCompartment(ChangePoolCompartmentRequest request)
Moves a pool into a different compartment.
|
ChangePrivateEndpointCompartmentResponse |
changePrivateEndpointCompartment(ChangePrivateEndpointCompartmentRequest request)
Moves a private endpoint into a different compartment.
|
ChangeRunCompartmentResponse |
changeRunCompartment(ChangeRunCompartmentRequest request)
Moves a run into a different compartment.
|
ChangeSqlEndpointCompartmentResponse |
changeSqlEndpointCompartment(ChangeSqlEndpointCompartmentRequest request)
Moves an Sql Endpoint from one compartment to another.
|
void |
close() |
CreateApplicationResponse |
createApplication(CreateApplicationRequest request)
Creates an application.
|
CreatePoolResponse |
createPool(CreatePoolRequest request)
Create a pool to be used by dataflow runs or applications.
|
CreatePrivateEndpointResponse |
createPrivateEndpoint(CreatePrivateEndpointRequest request)
Creates a private endpoint to be used by applications.
|
CreateRunResponse |
createRun(CreateRunRequest request)
Creates a run for an application.
|
CreateSqlEndpointResponse |
createSqlEndpoint(CreateSqlEndpointRequest request)
Create a new Sql Endpoint.
|
CreateStatementResponse |
createStatement(CreateStatementRequest request)
Executes a statement for a Session run.
|
DeleteApplicationResponse |
deleteApplication(DeleteApplicationRequest request)
Deletes an application using an
applicationId . |
DeletePoolResponse |
deletePool(DeletePoolRequest request)
Deletes a pool using a
poolId . |
DeletePrivateEndpointResponse |
deletePrivateEndpoint(DeletePrivateEndpointRequest request)
Deletes a private endpoint using a
privateEndpointId . |
DeleteRunResponse |
deleteRun(DeleteRunRequest request)
Cancels the specified run if it has not already completed or was previously cancelled.
|
DeleteSqlEndpointResponse |
deleteSqlEndpoint(DeleteSqlEndpointRequest request)
Delete a Sql Endpoint resource, identified by the SqlEndpoint id.
|
DeleteStatementResponse |
deleteStatement(DeleteStatementRequest request)
Cancels the specified statement for a Session run.
|
GetApplicationResponse |
getApplication(GetApplicationRequest request)
Retrieves an application using an
applicationId . |
String |
getClientCommonLibraryVersion() |
protected ClientConfigurator |
getDefaultConfigurator() |
String |
getEndpoint() |
Optional<String> |
getMinimumClientCommonLibraryVersionFromClient() |
DataFlowPaginators |
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data.
|
GetPoolResponse |
getPool(GetPoolRequest request)
Retrieves a pool using a
poolId . |
GetPrivateEndpointResponse |
getPrivateEndpoint(GetPrivateEndpointRequest request)
Retrieves an private endpoint using a
privateEndpointId . |
GetRunResponse |
getRun(GetRunRequest request)
Retrieves the run for the specified
runId . |
GetRunLogResponse |
getRunLog(GetRunLogRequest request)
Retrieves the content of an run log.
|
GetSqlEndpointResponse |
getSqlEndpoint(GetSqlEndpointRequest request)
Retrieves a SQL Endpoint using a sqlEndpointId.
|
GetStatementResponse |
getStatement(GetStatementRequest request)
Retrieves the statement corresponding to the
statementId for a Session run specified by
runId . |
DataFlowWaiters |
getWaiters()
Gets the pre-configured waiters available for resources for this service.
|
GetWorkRequestResponse |
getWorkRequest(GetWorkRequestRequest request)
Gets the status of the work request with the given OCID.
|
ListApplicationsResponse |
listApplications(ListApplicationsRequest request)
Lists all applications in the specified compartment.
|
ListPoolsResponse |
listPools(ListPoolsRequest request)
Lists all pools in the specified compartment.
|
ListPrivateEndpointsResponse |
listPrivateEndpoints(ListPrivateEndpointsRequest request)
Lists all private endpoints in the specified compartment.
|
ListRunLogsResponse |
listRunLogs(ListRunLogsRequest request)
Retrieves summaries of the run’s logs.
|
ListRunsResponse |
listRuns(ListRunsRequest request)
Lists all runs of an application in the specified compartment.
|
ListSqlEndpointsResponse |
listSqlEndpoints(ListSqlEndpointsRequest request)
Lists all Sql Endpoints in the specified compartment.
|
ListStatementsResponse |
listStatements(ListStatementsRequest request)
Lists all statements for a Session run.
|
ListWorkRequestErrorsResponse |
listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Return a (paginated) list of errors for a given work request.
|
ListWorkRequestLogsResponse |
listWorkRequestLogs(ListWorkRequestLogsRequest request)
Return a paginated list of logs for a given work request.
|
ListWorkRequestsResponse |
listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment.
|
void |
populateServiceParametersInEndpoint(String endpoint,
Map<String,Object> requiredParametersMap)
Populate the parameters in the endpoint with its corresponding value and update the base
endpoint.
|
void |
refreshClient()
Rebuild the backing
HttpClient . |
void |
setEndpoint(String endpoint) |
void |
setRegion(Region region)
Sets the region to call (ex, Region.US_PHOENIX_1).
|
void |
setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).
|
StartPoolResponse |
startPool(StartPoolRequest request)
Starts the dataflow pool for a given
poolId . |
StartSqlEndpointResponse |
startSqlEndpoint(StartSqlEndpointRequest request)
Starts the SqlEndpoint for a given
SqlEndpointId . |
StopPoolResponse |
stopPool(StopPoolRequest request)
Stops the dataflow pool for a given
poolId . |
StopSqlEndpointResponse |
stopSqlEndpoint(StopSqlEndpointRequest request)
Stops the SqlEndpoint for a given
SqlEndpointId . |
UpdateApplicationResponse |
updateApplication(UpdateApplicationRequest request)
Updates an application using an
applicationId . |
void |
updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.
|
UpdatePoolResponse |
updatePool(UpdatePoolRequest request)
Updates a pool using a
poolId .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. |
UpdatePrivateEndpointResponse |
updatePrivateEndpoint(UpdatePrivateEndpointRequest request)
Updates a private endpoint using a
privateEndpointId . |
UpdateRunResponse |
updateRun(UpdateRunRequest request)
Updates a run using a
runId . |
UpdateSqlEndpointResponse |
updateSqlEndpoint(UpdateSqlEndpointRequest request)
Update a Sql Endpoint resource, identified by the SqlEndpoint id.
|
void |
useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
This method should be used to enable or disable the use of realm-specific endpoint template.
|
clientCall
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
close
public static final Service SERVICE
Service instance for DataFlow.
public final String clientCommonLibraryVersion
@Deprecated public DataFlowClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataFlowClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)@Deprecated public DataFlowClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataFlowClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
@Deprecated public DataFlowClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataFlowClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
@Deprecated public DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataFlowClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
@Deprecated public DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataFlowClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
@Deprecated public DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataFlowClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
@Deprecated public DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataFlowClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
@Deprecated public DataFlowClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
builder
instead.Create a new client instance.
authenticationDetailsProvider
- The authentication details (see DataFlowClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
- ClientBuilderBase.configuration
clientConfigurator
- ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
- ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
- ClientBuilderBase.additionalClientConfigurators
endpoint
- ClientBuilderBase.endpoint(java.lang.String)
signingStrategyRequestSignerFactories
- ClientBuilderBase.signingStrategyRequestSignerFactories
executorService
- DataFlowClient.Builder.executorService
public static DataFlowClient.Builder builder()
Create a builder for this client.
public void setRegion(Region region)
DataFlow
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.
public void setRegion(String regionId)
DataFlow
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
.
public CascadingDeleteApplicationResponse cascadingDeleteApplication(CascadingDeleteApplicationRequest request)
DataFlow
Deletes an application using an applicationId
and terminates related runs. This operation
will timeout in approximate 30 minutes if any related Runs are not terminated successfully.
cascadingDeleteApplication
in interface DataFlow
request
- The request object containing the details to sendpublic ChangeApplicationCompartmentResponse changeApplicationCompartment(ChangeApplicationCompartmentRequest request)
DataFlow
Moves 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.
changeApplicationCompartment
in interface DataFlow
request
- The request object containing the details to sendpublic ChangePoolCompartmentResponse changePoolCompartment(ChangePoolCompartmentRequest request)
DataFlow
Moves 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
changePoolCompartment
in interface DataFlow
request
- The request object containing the details to sendpublic ChangePrivateEndpointCompartmentResponse changePrivateEndpointCompartment(ChangePrivateEndpointCompartmentRequest request)
DataFlow
Moves a private endpoint into a different compartment. When provided, If-Match is checked against ETag values of the resource.
changePrivateEndpointCompartment
in interface DataFlow
request
- The request object containing the details to sendpublic ChangeRunCompartmentResponse changeRunCompartment(ChangeRunCompartmentRequest request)
DataFlow
Moves 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
changeRunCompartment
in interface DataFlow
request
- The request object containing the details to sendpublic ChangeSqlEndpointCompartmentResponse changeSqlEndpointCompartment(ChangeSqlEndpointCompartmentRequest request)
DataFlow
Moves an Sql Endpoint from one compartment to another. When provided, If-Match is checked against ETag values of the Sql Endpoint.
changeSqlEndpointCompartment
in interface DataFlow
request
- The request object containing the details to sendpublic CreateApplicationResponse createApplication(CreateApplicationRequest request)
DataFlow
Creates an application.
createApplication
in interface DataFlow
request
- The request object containing the details to sendpublic CreatePoolResponse createPool(CreatePoolRequest request)
DataFlow
Create a pool to be used by dataflow runs or applications.
createPool
in interface DataFlow
request
- The request object containing the details to sendpublic CreatePrivateEndpointResponse createPrivateEndpoint(CreatePrivateEndpointRequest request)
DataFlow
Creates a private endpoint to be used by applications.
createPrivateEndpoint
in interface DataFlow
request
- The request object containing the details to sendpublic CreateRunResponse createRun(CreateRunRequest request)
DataFlow
Creates a run for an application.
public CreateSqlEndpointResponse createSqlEndpoint(CreateSqlEndpointRequest request)
DataFlow
Create a new Sql Endpoint.
createSqlEndpoint
in interface DataFlow
request
- The request object containing the details to sendpublic CreateStatementResponse createStatement(CreateStatementRequest request)
DataFlow
Executes a statement for a Session run.
createStatement
in interface DataFlow
request
- The request object containing the details to sendpublic DeleteApplicationResponse deleteApplication(DeleteApplicationRequest request)
DataFlow
Deletes an application using an applicationId
.
deleteApplication
in interface DataFlow
request
- The request object containing the details to sendpublic DeletePoolResponse deletePool(DeletePoolRequest request)
DataFlow
Deletes a pool using a poolId
.
deletePool
in interface DataFlow
request
- The request object containing the details to sendpublic DeletePrivateEndpointResponse deletePrivateEndpoint(DeletePrivateEndpointRequest request)
DataFlow
Deletes a private endpoint using a privateEndpointId
.
deletePrivateEndpoint
in interface DataFlow
request
- The request object containing the details to sendpublic DeleteRunResponse deleteRun(DeleteRunRequest request)
DataFlow
Cancels 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.
public DeleteSqlEndpointResponse deleteSqlEndpoint(DeleteSqlEndpointRequest request)
DataFlow
Delete a Sql Endpoint resource, identified by the SqlEndpoint id.
deleteSqlEndpoint
in interface DataFlow
request
- The request object containing the details to sendpublic DeleteStatementResponse deleteStatement(DeleteStatementRequest request)
DataFlow
Cancels the specified statement for a Session run.
deleteStatement
in interface DataFlow
request
- The request object containing the details to sendpublic GetApplicationResponse getApplication(GetApplicationRequest request)
DataFlow
Retrieves an application using an applicationId
.
getApplication
in interface DataFlow
request
- The request object containing the details to sendpublic GetPoolResponse getPool(GetPoolRequest request)
DataFlow
Retrieves a pool using a poolId
.
public GetPrivateEndpointResponse getPrivateEndpoint(GetPrivateEndpointRequest request)
DataFlow
Retrieves an private endpoint using a privateEndpointId
.
getPrivateEndpoint
in interface DataFlow
request
- The request object containing the details to sendpublic GetRunResponse getRun(GetRunRequest request)
DataFlow
Retrieves the run for the specified runId
.
public GetRunLogResponse getRunLog(GetRunLogRequest request)
DataFlow
Retrieves the content of an run log.
public GetSqlEndpointResponse getSqlEndpoint(GetSqlEndpointRequest request)
DataFlow
Retrieves a SQL Endpoint using a sqlEndpointId.
getSqlEndpoint
in interface DataFlow
request
- The request object containing the details to sendpublic GetStatementResponse getStatement(GetStatementRequest request)
DataFlow
Retrieves the statement corresponding to the statementId
for a Session run specified by
runId
.
getStatement
in interface DataFlow
request
- The request object containing the details to sendpublic GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
DataFlow
Gets the status of the work request with the given OCID.
getWorkRequest
in interface DataFlow
request
- The request object containing the details to sendpublic ListApplicationsResponse listApplications(ListApplicationsRequest request)
DataFlow
Lists 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.
listApplications
in interface DataFlow
request
- The request object containing the details to sendpublic ListPoolsResponse listPools(ListPoolsRequest request)
DataFlow
Lists 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.
public ListPrivateEndpointsResponse listPrivateEndpoints(ListPrivateEndpointsRequest request)
DataFlow
Lists 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.
listPrivateEndpoints
in interface DataFlow
request
- The request object containing the details to sendpublic ListRunLogsResponse listRunLogs(ListRunLogsRequest request)
DataFlow
Retrieves summaries of the run’s logs.
listRunLogs
in interface DataFlow
request
- The request object containing the details to sendpublic ListRunsResponse listRuns(ListRunsRequest request)
DataFlow
Lists 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.
public ListSqlEndpointsResponse listSqlEndpoints(ListSqlEndpointsRequest request)
DataFlow
Lists 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.
listSqlEndpoints
in interface DataFlow
request
- The request object containing the details to sendpublic ListStatementsResponse listStatements(ListStatementsRequest request)
DataFlow
Lists all statements for a Session run.
listStatements
in interface DataFlow
request
- The request object containing the details to sendpublic ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
DataFlow
Return a (paginated) list of errors for a given work request.
listWorkRequestErrors
in interface DataFlow
request
- The request object containing the details to sendpublic ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
DataFlow
Return a paginated list of logs for a given work request.
listWorkRequestLogs
in interface DataFlow
request
- The request object containing the details to sendpublic ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
DataFlow
Lists the work requests in a compartment.
listWorkRequests
in interface DataFlow
request
- The request object containing the details to sendpublic StartPoolResponse startPool(StartPoolRequest request)
DataFlow
Starts the dataflow pool for a given poolId
. When provided, If-Match is checked against
ETag values of the resource.
public StartSqlEndpointResponse startSqlEndpoint(StartSqlEndpointRequest request)
DataFlow
Starts the SqlEndpoint for a given SqlEndpointId
. When provided, If-Match is checked
against ETag values of the resource.
startSqlEndpoint
in interface DataFlow
request
- The request object containing the details to sendpublic StopPoolResponse stopPool(StopPoolRequest request)
DataFlow
Stops the dataflow pool for a given poolId
. When provided, If-Match is checked against ETag
values of the resource.
public StopSqlEndpointResponse stopSqlEndpoint(StopSqlEndpointRequest request)
DataFlow
Stops the SqlEndpoint for a given SqlEndpointId
. When provided, If-Match is checked against
ETag values of the resource.
stopSqlEndpoint
in interface DataFlow
request
- The request object containing the details to sendpublic UpdateApplicationResponse updateApplication(UpdateApplicationRequest request)
DataFlow
Updates an application using an applicationId
.
updateApplication
in interface DataFlow
request
- The request object containing the details to sendpublic UpdatePoolResponse updatePool(UpdatePoolRequest request)
DataFlow
Updates a pool using a poolId
.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.
updatePool
in interface DataFlow
request
- The request object containing the details to sendpublic UpdatePrivateEndpointResponse updatePrivateEndpoint(UpdatePrivateEndpointRequest request)
DataFlow
Updates a private endpoint using a privateEndpointId
. 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.
updatePrivateEndpoint
in interface DataFlow
request
- The request object containing the details to sendpublic UpdateRunResponse updateRun(UpdateRunRequest request)
DataFlow
Updates a run using a runId
.
public UpdateSqlEndpointResponse updateSqlEndpoint(UpdateSqlEndpointRequest request)
DataFlow
Update a Sql Endpoint resource, identified by the SqlEndpoint id.
updateSqlEndpoint
in interface DataFlow
request
- The request object containing the details to sendpublic DataFlowWaiters getWaiters()
DataFlow
Gets the pre-configured waiters available for resources for this service.
getWaiters
in interface DataFlow
public DataFlowPaginators getPaginators()
DataFlow
Gets the pre-configured paginators available for list operations in this service which may
return multiple pages of data. These paginators provide an Iterable
interface so that service responses, or resources/records, can be iterated through without
having to manually deal with pagination and page tokens.
getPaginators
in interface DataFlow
protected ClientConfigurator getDefaultConfigurator()
public void useRealmSpecificEndpointTemplate(boolean useOfRealmSpecificEndpointTemplateEnabled)
useOfRealmSpecificEndpointTemplateEnabled
- This flag can be set to true or false to
enable or disable the use of realm-specific endpoint template respectivelypublic final void populateServiceParametersInEndpoint(String endpoint, Map<String,Object> requiredParametersMap)
endpoint
- The endpoint template in userequiredParametersMap
- Map of parameter name as key and value set in request path or
query parameter as valuepublic final void updateBaseEndpoint(String endpoint)
endpoint
- The updated endpoint to usepublic final void setEndpoint(String endpoint)
public final String getEndpoint()
public final void refreshClient()
HttpClient
. This will call ClientConfigurator
s again, and
can be used to e.g. refresh the SSL certificate.public final void close()
close
in interface AutoCloseable
public String getClientCommonLibraryVersion()
Copyright © 2016–2024. All rights reserved.