Class AnomalyDetectionClient
- java.lang.Object
-
- com.oracle.bmc.http.internal.BaseSyncClient
-
- com.oracle.bmc.aianomalydetection.AnomalyDetectionClient
-
- All Implemented Interfaces:
AnomalyDetection
,AutoCloseable
@Generated(value="OracleSDKGenerator", comments="API Version: 20210101") public class AnomalyDetectionClient extends BaseSyncClient implements AnomalyDetection
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
AnomalyDetectionClient.Builder
Builder class for this client.
-
Field Summary
Fields Modifier and Type Field 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 AnomalyDetection.
-
Constructor Summary
Constructors Constructor Description AnomalyDetectionClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.AnomalyDetectionClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.AnomalyDetectionClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.AnomalyDetectionClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.AnomalyDetectionClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.AnomalyDetectionClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.AnomalyDetectionClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.AnomalyDetectionClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AnomalyDetectionClient.Builder
builder()
Create a builder for this client.CancelWorkRequestResponse
cancelWorkRequest(CancelWorkRequestRequest request)
Cancel work request with the given ID.ChangeAiPrivateEndpointCompartmentResponse
changeAiPrivateEndpointCompartment(ChangeAiPrivateEndpointCompartmentRequest request)
Moves a resource into a different compartment.ChangeDataAssetCompartmentResponse
changeDataAssetCompartment(ChangeDataAssetCompartmentRequest request)
Changing the compartment of a data asset.ChangeDetectAnomalyJobCompartmentResponse
changeDetectAnomalyJobCompartment(ChangeDetectAnomalyJobCompartmentRequest request)
Moves a asynchronous anomaly detect job resource from one compartment to another.ChangeModelCompartmentResponse
changeModelCompartment(ChangeModelCompartmentRequest request)
Moves a Model resource from one compartment to another.ChangeProjectCompartmentResponse
changeProjectCompartment(ChangeProjectCompartmentRequest request)
Moves a Project resource from one compartment to another.void
close()
CreateAiPrivateEndpointResponse
createAiPrivateEndpoint(CreateAiPrivateEndpointRequest request)
Create a new private reverse connection endpoint.CreateDataAssetResponse
createDataAsset(CreateDataAssetRequest request)
Creates a new DataAsset.CreateDetectAnomalyJobResponse
createDetectAnomalyJob(CreateDetectAnomalyJobRequest request)
Creates a job to perform anomaly detection.CreateModelResponse
createModel(CreateModelRequest request)
Creates a new Model.CreateProjectResponse
createProject(CreateProjectRequest request)
Creates a new Project.DeleteAiPrivateEndpointResponse
deleteAiPrivateEndpoint(DeleteAiPrivateEndpointRequest request)
Deletes a private reverse connection endpoint by identifier.DeleteDataAssetResponse
deleteDataAsset(DeleteDataAssetRequest request)
Deletes a DataAsset resource by identifierDeleteDetectAnomalyJobResponse
deleteDetectAnomalyJob(DeleteDetectAnomalyJobRequest request)
Deletes an accepted, but not started detect anomaly asynchronous job.DeleteModelResponse
deleteModel(DeleteModelRequest request)
Deletes an ai model resource by identifier.DeleteProjectResponse
deleteProject(DeleteProjectRequest request)
Deletes a Project resource by identifier.DetectAnomaliesResponse
detectAnomalies(DetectAnomaliesRequest request)
Make a detect call with an anomaly model and detection dataGetAiPrivateEndpointResponse
getAiPrivateEndpoint(GetAiPrivateEndpointRequest request)
Gets a specific private reverse connection by identifier.String
getClientCommonLibraryVersion()
GetDataAssetResponse
getDataAsset(GetDataAssetRequest request)
Gets a DataAsset by identifierprotected ClientConfigurator
getDefaultConfigurator()
GetDetectAnomalyJobResponse
getDetectAnomalyJob(GetDetectAnomalyJobRequest request)
Gets a detect anomaly asynchronous job by identifier.String
getEndpoint()
Optional<String>
getMinimumClientCommonLibraryVersionFromClient()
GetModelResponse
getModel(GetModelRequest request)
Gets a Model by identifierAnomalyDetectionPaginators
getPaginators()
Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetProjectResponse
getProject(GetProjectRequest request)
Gets a Project by identifierAnomalyDetectionWaiters
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 ID.ListAiPrivateEndpointsResponse
listAiPrivateEndpoints(ListAiPrivateEndpointsRequest request)
Returns a list of all the AI private endpoints in the specified compartment.ListDataAssetsResponse
listDataAssets(ListDataAssetsRequest request)
Returns a list of DataAssets.ListDetectAnomalyJobsResponse
listDetectAnomalyJobs(ListDetectAnomalyJobsRequest request)
Returns a list of all the Anomaly Detection jobs in the specified compartment.ListModelsResponse
listModels(ListModelsRequest request)
Returns a list of Models.ListProjectsResponse
listProjects(ListProjectsRequest request)
Returns a list of Projects.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 backingHttpClient
.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’).UpdateAiPrivateEndpointResponse
updateAiPrivateEndpoint(UpdateAiPrivateEndpointRequest request)
Updates the private reverse connection endpoint.void
updateBaseEndpoint(String endpoint)
This method should be used for parameterized endpoint templates only.UpdateDataAssetResponse
updateDataAsset(UpdateDataAssetRequest request)
Updates the DataAssetUpdateDetectAnomalyJobResponse
updateDetectAnomalyJob(UpdateDetectAnomalyJobRequest request)
Updates the detect anomaly asynchronous job by identifier.UpdateModelResponse
updateModel(UpdateModelRequest request)
Updates the ModelUpdateProjectResponse
updateProject(UpdateProjectRequest request)
Updates the Projectvoid
useRealmSpecificEndpointTemplate(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 com.oracle.bmc.aianomalydetection.AnomalyDetection
getEndpoint, refreshClient, setEndpoint, useRealmSpecificEndpointTemplate
-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Constructor Detail
-
AnomalyDetectionClient
@Deprecated public AnomalyDetectionClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeAnomalyDetectionClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)
-
AnomalyDetectionClient
@Deprecated public AnomalyDetectionClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeAnomalyDetectionClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
-
AnomalyDetectionClient
@Deprecated public AnomalyDetectionClient(BasicAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeAnomalyDetectionClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
-
AnomalyDetectionClient
@Deprecated public AnomalyDetectionClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeAnomalyDetectionClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
-
AnomalyDetectionClient
@Deprecated public AnomalyDetectionClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeAnomalyDetectionClient.Builder.build(com.oracle.bmc.auth.AbstractAuthenticationDetailsProvider)
)configuration
-ClientBuilderBase.configuration
clientConfigurator
-ClientBuilderBase.clientConfigurator(com.oracle.bmc.http.ClientConfigurator)
defaultRequestSignerFactory
-ClientBuilderBase.requestSignerFactory
additionalClientConfigurators
-ClientBuilderBase.additionalClientConfigurators
-
AnomalyDetectionClient
@Deprecated public AnomalyDetectionClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeAnomalyDetectionClient.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)
-
AnomalyDetectionClient
@Deprecated public AnomalyDetectionClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeAnomalyDetectionClient.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
-
AnomalyDetectionClient
@Deprecated public AnomalyDetectionClient(AbstractAuthenticationDetailsProvider authenticationDetailsProvider, ClientConfiguration configuration, ClientConfigurator clientConfigurator, RequestSignerFactory defaultRequestSignerFactory, Map<SigningStrategy,RequestSignerFactory> signingStrategyRequestSignerFactories, List<ClientConfigurator> additionalClientConfigurators, String endpoint, ExecutorService executorService)
Deprecated.Use thebuilder
instead.Create a new client instance.- Parameters:
authenticationDetailsProvider
- The authentication details (seeAnomalyDetectionClient.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
-AnomalyDetectionClient.Builder.executorService
-
-
Method Detail
-
builder
public static AnomalyDetectionClient.Builder builder()
Create a builder for this client.- Returns:
- builder
-
setRegion
public void setRegion(Region region)
Description copied from interface:AnomalyDetection
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.- Specified by:
setRegion
in interfaceAnomalyDetection
- Parameters:
region
- The region of the service.
-
setRegion
public void setRegion(String regionId)
Description copied from interface:AnomalyDetection
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 callsetEndpoint
.- Specified by:
setRegion
in interfaceAnomalyDetection
- Parameters:
regionId
- The public region ID.
-
cancelWorkRequest
public CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
Description copied from interface:AnomalyDetection
Cancel work request with the given ID.- Specified by:
cancelWorkRequest
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeAiPrivateEndpointCompartment
public ChangeAiPrivateEndpointCompartmentResponse changeAiPrivateEndpointCompartment(ChangeAiPrivateEndpointCompartmentRequest request)
Description copied from interface:AnomalyDetection
Moves a resource into a different compartment.When provided, ‘If-Match’ is checked against ‘ETag’ values of the resource.
- Specified by:
changeAiPrivateEndpointCompartment
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeDataAssetCompartment
public ChangeDataAssetCompartmentResponse changeDataAssetCompartment(ChangeDataAssetCompartmentRequest request)
Description copied from interface:AnomalyDetection
Changing the compartment of a data asset.- Specified by:
changeDataAssetCompartment
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeDetectAnomalyJobCompartment
public ChangeDetectAnomalyJobCompartmentResponse changeDetectAnomalyJobCompartment(ChangeDetectAnomalyJobCompartmentRequest request)
Description copied from interface:AnomalyDetection
Moves a asynchronous anomaly detect job resource from one compartment to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeDetectAnomalyJobCompartment
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeModelCompartment
public ChangeModelCompartmentResponse changeModelCompartment(ChangeModelCompartmentRequest request)
Description copied from interface:AnomalyDetection
Moves a Model resource from one compartment to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeModelCompartment
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
changeProjectCompartment
public ChangeProjectCompartmentResponse changeProjectCompartment(ChangeProjectCompartmentRequest request)
Description copied from interface:AnomalyDetection
Moves a Project resource from one compartment to another.When provided, If-Match is checked against ETag values of the resource.
- Specified by:
changeProjectCompartment
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createAiPrivateEndpoint
public CreateAiPrivateEndpointResponse createAiPrivateEndpoint(CreateAiPrivateEndpointRequest request)
Description copied from interface:AnomalyDetection
Create a new private reverse connection endpoint.- Specified by:
createAiPrivateEndpoint
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDataAsset
public CreateDataAssetResponse createDataAsset(CreateDataAssetRequest request)
Description copied from interface:AnomalyDetection
Creates a new DataAsset.- Specified by:
createDataAsset
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createDetectAnomalyJob
public CreateDetectAnomalyJobResponse createDetectAnomalyJob(CreateDetectAnomalyJobRequest request)
Description copied from interface:AnomalyDetection
Creates a job to perform anomaly detection.- Specified by:
createDetectAnomalyJob
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createModel
public CreateModelResponse createModel(CreateModelRequest request)
Description copied from interface:AnomalyDetection
Creates a new Model.- Specified by:
createModel
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
createProject
public CreateProjectResponse createProject(CreateProjectRequest request)
Description copied from interface:AnomalyDetection
Creates a new Project.- Specified by:
createProject
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteAiPrivateEndpoint
public DeleteAiPrivateEndpointResponse deleteAiPrivateEndpoint(DeleteAiPrivateEndpointRequest request)
Description copied from interface:AnomalyDetection
Deletes a private reverse connection endpoint by identifier.- Specified by:
deleteAiPrivateEndpoint
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDataAsset
public DeleteDataAssetResponse deleteDataAsset(DeleteDataAssetRequest request)
Description copied from interface:AnomalyDetection
Deletes a DataAsset resource by identifier- Specified by:
deleteDataAsset
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteDetectAnomalyJob
public DeleteDetectAnomalyJobResponse deleteDetectAnomalyJob(DeleteDetectAnomalyJobRequest request)
Description copied from interface:AnomalyDetection
Deletes an accepted, but not started detect anomaly asynchronous job.- Specified by:
deleteDetectAnomalyJob
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteModel
public DeleteModelResponse deleteModel(DeleteModelRequest request)
Description copied from interface:AnomalyDetection
Deletes an ai model resource by identifier.This operation fails with a 409 error unless all associated resources are in a DELETED state. You must delete all associated resources before deleting a project.
- Specified by:
deleteModel
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
deleteProject
public DeleteProjectResponse deleteProject(DeleteProjectRequest request)
Description copied from interface:AnomalyDetection
Deletes a Project resource by identifier.This operation fails with a 409 error unless all associated resources (models deployments or data assets) are in a DELETED state. You must delete all associated resources before deleting a project.
- Specified by:
deleteProject
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
detectAnomalies
public DetectAnomaliesResponse detectAnomalies(DetectAnomaliesRequest request)
Description copied from interface:AnomalyDetection
Make a detect call with an anomaly model and detection data- Specified by:
detectAnomalies
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getAiPrivateEndpoint
public GetAiPrivateEndpointResponse getAiPrivateEndpoint(GetAiPrivateEndpointRequest request)
Description copied from interface:AnomalyDetection
Gets a specific private reverse connection by identifier.- Specified by:
getAiPrivateEndpoint
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDataAsset
public GetDataAssetResponse getDataAsset(GetDataAssetRequest request)
Description copied from interface:AnomalyDetection
Gets a DataAsset by identifier- Specified by:
getDataAsset
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getDetectAnomalyJob
public GetDetectAnomalyJobResponse getDetectAnomalyJob(GetDetectAnomalyJobRequest request)
Description copied from interface:AnomalyDetection
Gets a detect anomaly asynchronous job by identifier.- Specified by:
getDetectAnomalyJob
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getModel
public GetModelResponse getModel(GetModelRequest request)
Description copied from interface:AnomalyDetection
Gets a Model by identifier- Specified by:
getModel
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getProject
public GetProjectResponse getProject(GetProjectRequest request)
Description copied from interface:AnomalyDetection
Gets a Project by identifier- Specified by:
getProject
in interfaceAnomalyDetection
- 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:AnomalyDetection
Gets the status of the work request with the given ID.- Specified by:
getWorkRequest
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listAiPrivateEndpoints
public ListAiPrivateEndpointsResponse listAiPrivateEndpoints(ListAiPrivateEndpointsRequest request)
Description copied from interface:AnomalyDetection
Returns a list of all the AI private endpoints in the specified compartment.- Specified by:
listAiPrivateEndpoints
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDataAssets
public ListDataAssetsResponse listDataAssets(ListDataAssetsRequest request)
Description copied from interface:AnomalyDetection
Returns a list of DataAssets.- Specified by:
listDataAssets
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listDetectAnomalyJobs
public ListDetectAnomalyJobsResponse listDetectAnomalyJobs(ListDetectAnomalyJobsRequest request)
Description copied from interface:AnomalyDetection
Returns a list of all the Anomaly Detection jobs in the specified compartment.- Specified by:
listDetectAnomalyJobs
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listModels
public ListModelsResponse listModels(ListModelsRequest request)
Description copied from interface:AnomalyDetection
Returns a list of Models.- Specified by:
listModels
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
listProjects
public ListProjectsResponse listProjects(ListProjectsRequest request)
Description copied from interface:AnomalyDetection
Returns a list of Projects.- Specified by:
listProjects
in interfaceAnomalyDetection
- 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:AnomalyDetection
Return a (paginated) list of errors for a given work request.- Specified by:
listWorkRequestErrors
in interfaceAnomalyDetection
- 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:AnomalyDetection
Return a (paginated) list of logs for a given work request.- Specified by:
listWorkRequestLogs
in interfaceAnomalyDetection
- 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:AnomalyDetection
Lists the work requests in a compartment.- Specified by:
listWorkRequests
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateAiPrivateEndpoint
public UpdateAiPrivateEndpointResponse updateAiPrivateEndpoint(UpdateAiPrivateEndpointRequest request)
Description copied from interface:AnomalyDetection
Updates the private reverse connection endpoint.- Specified by:
updateAiPrivateEndpoint
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDataAsset
public UpdateDataAssetResponse updateDataAsset(UpdateDataAssetRequest request)
Description copied from interface:AnomalyDetection
Updates the DataAsset- Specified by:
updateDataAsset
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateDetectAnomalyJob
public UpdateDetectAnomalyJobResponse updateDetectAnomalyJob(UpdateDetectAnomalyJobRequest request)
Description copied from interface:AnomalyDetection
Updates the detect anomaly asynchronous job by identifier.- Specified by:
updateDetectAnomalyJob
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateModel
public UpdateModelResponse updateModel(UpdateModelRequest request)
Description copied from interface:AnomalyDetection
Updates the Model- Specified by:
updateModel
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
updateProject
public UpdateProjectResponse updateProject(UpdateProjectRequest request)
Description copied from interface:AnomalyDetection
Updates the Project- Specified by:
updateProject
in interfaceAnomalyDetection
- Parameters:
request
- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
-
getWaiters
public AnomalyDetectionWaiters getWaiters()
Description copied from interface:AnomalyDetection
Gets the pre-configured waiters available for resources for this service.- Specified by:
getWaiters
in interfaceAnomalyDetection
- Returns:
- The service waiters.
-
getPaginators
public AnomalyDetectionPaginators getPaginators()
Description copied from interface:AnomalyDetection
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.- Specified by:
getPaginators
in interfaceAnomalyDetection
- 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
ClientConfigurator
s again, and can be used to e.g. refresh the SSL certificate.
-
close
public final void close()
- Specified by:
close
in interfaceAutoCloseable
-
getClientCommonLibraryVersion
public String getClientCommonLibraryVersion()
-
-