Interface ApplicationDependencyManagement
-
- All Superinterfaces:
AutoCloseable
- All Known Implementing Classes:
ApplicationDependencyManagementClient
@Generated(value="OracleSDKGenerator", comments="API Version: 20220421") public interface ApplicationDependencyManagement extends AutoCloseableUse the Application Dependency Management API to create knowledge bases and vulnerability audits.For more information, see ADM. This service client uses CircuitBreakerUtils.DEFAULT_CIRCUIT_BREAKER for all the operations by default if no circuit breaker configuration is defined by the user.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description ActivateRemediationRecipeResponseactivateRemediationRecipe(ActivateRemediationRecipeRequest request)Activates the specified Remediation Recipe.CancelRemediationRunResponsecancelRemediationRun(CancelRemediationRunRequest request)Cancels the specified remediation run.CancelWorkRequestResponsecancelWorkRequest(CancelWorkRequestRequest request)Cancel work request with the given ID.ChangeKnowledgeBaseCompartmentResponsechangeKnowledgeBaseCompartment(ChangeKnowledgeBaseCompartmentRequest request)Moves a Knowledge Base from one compartment to another.ChangeRemediationRecipeCompartmentResponsechangeRemediationRecipeCompartment(ChangeRemediationRecipeCompartmentRequest request)Moves a Remediation Recipe from one compartment to another.ChangeRemediationRunCompartmentResponsechangeRemediationRunCompartment(ChangeRemediationRunCompartmentRequest request)Moves a remediation run from one compartment to another.ChangeVulnerabilityAuditCompartmentResponsechangeVulnerabilityAuditCompartment(ChangeVulnerabilityAuditCompartmentRequest request)Moves a Vulnerability Audit from one compartment to another.CreateKnowledgeBaseResponsecreateKnowledgeBase(CreateKnowledgeBaseRequest request)Creates a new Knowledge Base.CreateRemediationRecipeResponsecreateRemediationRecipe(CreateRemediationRecipeRequest request)Creates a new Remediation Recipe.CreateRemediationRunResponsecreateRemediationRun(CreateRemediationRunRequest request)Creates a new remediation run.CreateVulnerabilityAuditResponsecreateVulnerabilityAudit(CreateVulnerabilityAuditRequest request)Creates a new Vulnerability Audit by providing a tree of Application Dependencies.DeactivateRemediationRecipeResponsedeactivateRemediationRecipe(DeactivateRemediationRecipeRequest request)Deactivates the specified Remediation Recipe.DeleteKnowledgeBaseResponsedeleteKnowledgeBase(DeleteKnowledgeBaseRequest request)Deletes the specified Knowledge Base.DeleteRemediationRecipeResponsedeleteRemediationRecipe(DeleteRemediationRecipeRequest request)Deletes the specified Remediation Recipe.DeleteRemediationRunResponsedeleteRemediationRun(DeleteRemediationRunRequest request)Deletes the specified remediation run.DeleteVulnerabilityAuditResponsedeleteVulnerabilityAudit(DeleteVulnerabilityAuditRequest request)Deletes the specified Vulnerability Audit.StringgetEndpoint()Gets the set endpoint for REST call (ex, https://www.example.com)GetKnowledgeBaseResponsegetKnowledgeBase(GetKnowledgeBaseRequest request)Returns the details of the specified Knowledge Base.ApplicationDependencyManagementPaginatorsgetPaginators()Gets the pre-configured paginators available for list operations in this service which may return multiple pages of data.GetRemediationRecipeResponsegetRemediationRecipe(GetRemediationRecipeRequest request)Returns the details of the specified RemediationRecipe.GetRemediationRunResponsegetRemediationRun(GetRemediationRunRequest request)Returns the details of the specified remediation run.GetStageResponsegetStage(GetStageRequest request)Returns the details of the specified Remediation Run Stage.GetVulnerabilityAuditResponsegetVulnerabilityAudit(GetVulnerabilityAuditRequest request)Returns the details of the specified Vulnerability Audit.ApplicationDependencyManagementWaitersgetWaiters()Gets the pre-configured waiters available for resources for this service.GetWorkRequestResponsegetWorkRequest(GetWorkRequestRequest request)Gets the status of the work request with the given ID.ListApplicationDependencyRecommendationsResponselistApplicationDependencyRecommendations(ListApplicationDependencyRecommendationsRequest request)Returns a list of application dependency with their associated recommendations.ListApplicationDependencyVulnerabilitiesResponselistApplicationDependencyVulnerabilities(ListApplicationDependencyVulnerabilitiesRequest request)Returns a list of Application Dependencies with their associated vulnerabilities.ListKnowledgeBasesResponselistKnowledgeBases(ListKnowledgeBasesRequest request)Returns a list of KnowledgeBases based on the specified query parameters.ListRemediationRecipesResponselistRemediationRecipes(ListRemediationRecipesRequest request)Returns a list of Remediation Recipes based on the specified query parameters.ListRemediationRunsResponselistRemediationRuns(ListRemediationRunsRequest request)Returns a list of remediation runs contained by a compartment.ListStagesResponselistStages(ListStagesRequest request)Returns a list of Remediation Run Stages based on the specified query parameters and Remediation Run identifier.ListVulnerabilityAuditsResponselistVulnerabilityAudits(ListVulnerabilityAuditsRequest request)Returns a list of Vulnerability Audits based on the specified query parameters.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.voidrefreshClient()Rebuilds the client from scratch.voidsetEndpoint(String endpoint)Sets the endpoint to call (ex, https://www.example.com).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’).UpdateKnowledgeBaseResponseupdateKnowledgeBase(UpdateKnowledgeBaseRequest request)Updates one or more attributes of the specified Knowledge Base.UpdateRemediationRecipeResponseupdateRemediationRecipe(UpdateRemediationRecipeRequest request)Updates one or more attributes of the specified Remediation Recipe.UpdateRemediationRunResponseupdateRemediationRun(UpdateRemediationRunRequest request)Updates by identifier one or more attributes of the specified remediation run.UpdateVulnerabilityAuditResponseupdateVulnerabilityAudit(UpdateVulnerabilityAuditRequest request)Updates one or more attributes of the specified Vulnerability Audit.voiduseRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)Determines whether realm specific endpoint should be used or not.-
Methods inherited from interface java.lang.AutoCloseable
close
-
-
-
-
Method Detail
-
refreshClient
void refreshClient()
Rebuilds the client from scratch.Useful to refresh certificates.
-
setEndpoint
void setEndpoint(String endpoint)
Sets the endpoint to call (ex, https://www.example.com).- Parameters:
endpoint- The endpoint of the service.
-
getEndpoint
String getEndpoint()
Gets the set endpoint for REST call (ex, https://www.example.com)
-
setRegion
void setRegion(Region region)
Sets 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.- Parameters:
region- The region of the service.
-
setRegion
void setRegion(String regionId)
Sets the region to call (ex, ‘us-phoenix-1’).Note, this will first try to map the region ID to a known Region and call
setRegion.If no known Region could be determined, it will create an endpoint based on the default endpoint format (
Region.formatDefaultRegionEndpoint(Service, String)and then callsetEndpoint.- Parameters:
regionId- The public region ID.
-
useRealmSpecificEndpointTemplate
void useRealmSpecificEndpointTemplate(boolean realmSpecificEndpointTemplateEnabled)
Determines whether realm specific endpoint should be used or not.Set realmSpecificEndpointTemplateEnabled to “true” if the user wants to enable use of realm specific endpoint template, otherwise set it to “false”
- Parameters:
realmSpecificEndpointTemplateEnabled- flag to enable the use of realm specific endpoint template
-
activateRemediationRecipe
ActivateRemediationRecipeResponse activateRemediationRecipe(ActivateRemediationRecipeRequest request)
Activates the specified Remediation Recipe.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ActivateRemediationRecipeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ActivateRemediationRecipe API.
-
cancelRemediationRun
CancelRemediationRunResponse cancelRemediationRun(CancelRemediationRunRequest request)
Cancels the specified remediation run.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/CancelRemediationRunExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CancelRemediationRun API.
-
cancelWorkRequest
CancelWorkRequestResponse cancelWorkRequest(CancelWorkRequestRequest request)
Cancel work request with the given ID.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/CancelWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CancelWorkRequest API.
-
changeKnowledgeBaseCompartment
ChangeKnowledgeBaseCompartmentResponse changeKnowledgeBaseCompartment(ChangeKnowledgeBaseCompartmentRequest request)
Moves a Knowledge Base from one compartment to another.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ChangeKnowledgeBaseCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeKnowledgeBaseCompartment API.
-
changeRemediationRecipeCompartment
ChangeRemediationRecipeCompartmentResponse changeRemediationRecipeCompartment(ChangeRemediationRecipeCompartmentRequest request)
Moves a Remediation Recipe from one compartment to another.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ChangeRemediationRecipeCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeRemediationRecipeCompartment API.
-
changeRemediationRunCompartment
ChangeRemediationRunCompartmentResponse changeRemediationRunCompartment(ChangeRemediationRunCompartmentRequest request)
Moves a remediation run from one compartment to another.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ChangeRemediationRunCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeRemediationRunCompartment API.
-
changeVulnerabilityAuditCompartment
ChangeVulnerabilityAuditCompartmentResponse changeVulnerabilityAuditCompartment(ChangeVulnerabilityAuditCompartmentRequest request)
Moves a Vulnerability Audit from one compartment to another.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ChangeVulnerabilityAuditCompartmentExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ChangeVulnerabilityAuditCompartment API.
-
createKnowledgeBase
CreateKnowledgeBaseResponse createKnowledgeBase(CreateKnowledgeBaseRequest request)
Creates a new Knowledge Base.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/CreateKnowledgeBaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateKnowledgeBase API.
-
createRemediationRecipe
CreateRemediationRecipeResponse createRemediationRecipe(CreateRemediationRecipeRequest request)
Creates a new Remediation Recipe.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/CreateRemediationRecipeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateRemediationRecipe API.
-
createRemediationRun
CreateRemediationRunResponse createRemediationRun(CreateRemediationRunRequest request)
Creates a new remediation run.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/CreateRemediationRunExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateRemediationRun API.
-
createVulnerabilityAudit
CreateVulnerabilityAuditResponse createVulnerabilityAudit(CreateVulnerabilityAuditRequest request)
Creates a new Vulnerability Audit by providing a tree of Application Dependencies.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/CreateVulnerabilityAuditExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use CreateVulnerabilityAudit API.
-
deactivateRemediationRecipe
DeactivateRemediationRecipeResponse deactivateRemediationRecipe(DeactivateRemediationRecipeRequest request)
Deactivates the specified Remediation Recipe.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/DeactivateRemediationRecipeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeactivateRemediationRecipe API.
-
deleteKnowledgeBase
DeleteKnowledgeBaseResponse deleteKnowledgeBase(DeleteKnowledgeBaseRequest request)
Deletes the specified Knowledge Base.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/DeleteKnowledgeBaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteKnowledgeBase API.
-
deleteRemediationRecipe
DeleteRemediationRecipeResponse deleteRemediationRecipe(DeleteRemediationRecipeRequest request)
Deletes the specified Remediation Recipe.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/DeleteRemediationRecipeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteRemediationRecipe API.
-
deleteRemediationRun
DeleteRemediationRunResponse deleteRemediationRun(DeleteRemediationRunRequest request)
Deletes the specified remediation run.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/DeleteRemediationRunExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteRemediationRun API.
-
deleteVulnerabilityAudit
DeleteVulnerabilityAuditResponse deleteVulnerabilityAudit(DeleteVulnerabilityAuditRequest request)
Deletes the specified Vulnerability Audit.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/DeleteVulnerabilityAuditExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use DeleteVulnerabilityAudit API.
-
getKnowledgeBase
GetKnowledgeBaseResponse getKnowledgeBase(GetKnowledgeBaseRequest request)
Returns the details of the specified Knowledge Base.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/GetKnowledgeBaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetKnowledgeBase API.
-
getRemediationRecipe
GetRemediationRecipeResponse getRemediationRecipe(GetRemediationRecipeRequest request)
Returns the details of the specified RemediationRecipe.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/GetRemediationRecipeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetRemediationRecipe API.
-
getRemediationRun
GetRemediationRunResponse getRemediationRun(GetRemediationRunRequest request)
Returns the details of the specified remediation run.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/GetRemediationRunExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetRemediationRun API.
-
getStage
GetStageResponse getStage(GetStageRequest request)
Returns the details of the specified Remediation Run Stage.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/GetStageExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetStage API.
-
getVulnerabilityAudit
GetVulnerabilityAuditResponse getVulnerabilityAudit(GetVulnerabilityAuditRequest request)
Returns the details of the specified Vulnerability Audit.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/GetVulnerabilityAuditExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetVulnerabilityAudit API.
-
getWorkRequest
GetWorkRequestResponse getWorkRequest(GetWorkRequestRequest request)
Gets the status of the work request with the given ID.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/GetWorkRequestExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use GetWorkRequest API.
-
listApplicationDependencyRecommendations
ListApplicationDependencyRecommendationsResponse listApplicationDependencyRecommendations(ListApplicationDependencyRecommendationsRequest request)
Returns a list of application dependency with their associated recommendations.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ListApplicationDependencyRecommendationsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListApplicationDependencyRecommendations API.
-
listApplicationDependencyVulnerabilities
ListApplicationDependencyVulnerabilitiesResponse listApplicationDependencyVulnerabilities(ListApplicationDependencyVulnerabilitiesRequest request)
Returns a list of Application Dependencies with their associated vulnerabilities.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ListApplicationDependencyVulnerabilitiesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListApplicationDependencyVulnerabilities API.
-
listKnowledgeBases
ListKnowledgeBasesResponse listKnowledgeBases(ListKnowledgeBasesRequest request)
Returns a list of KnowledgeBases based on the specified query parameters.At least id or compartmentId query parameter must be provided.
- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ListKnowledgeBasesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListKnowledgeBases API.
-
listRemediationRecipes
ListRemediationRecipesResponse listRemediationRecipes(ListRemediationRecipesRequest request)
Returns a list of Remediation Recipes based on the specified query parameters.The query parameters
compartmentIdoridmust be provided.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ListRemediationRecipesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListRemediationRecipes API.
-
listRemediationRuns
ListRemediationRunsResponse listRemediationRuns(ListRemediationRunsRequest request)
Returns a list of remediation runs contained by a compartment.The query parameter
compartmentIdis required unless the query parameteridis specified.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ListRemediationRunsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListRemediationRuns API.
-
listStages
ListStagesResponse listStages(ListStagesRequest request)
Returns a list of Remediation Run Stages based on the specified query parameters and Remediation Run identifier.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ListStagesExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListStages API.
-
listVulnerabilityAudits
ListVulnerabilityAuditsResponse listVulnerabilityAudits(ListVulnerabilityAuditsRequest request)
Returns a list of Vulnerability Audits based on the specified query parameters.At least one of id, compartmentId query parameter must be provided.
- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ListVulnerabilityAuditsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListVulnerabilityAudits API.
-
listWorkRequestErrors
ListWorkRequestErrorsResponse listWorkRequestErrors(ListWorkRequestErrorsRequest request)
Return a (paginated) list of errors for a given work request.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ListWorkRequestErrorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestErrors API.
-
listWorkRequestLogs
ListWorkRequestLogsResponse listWorkRequestLogs(ListWorkRequestLogsRequest request)
Return a (paginated) list of logs for a given work request.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ListWorkRequestLogsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequestLogs API.
-
listWorkRequests
ListWorkRequestsResponse listWorkRequests(ListWorkRequestsRequest request)
Lists the work requests in a compartment.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/ListWorkRequestsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListWorkRequests API.
-
updateKnowledgeBase
UpdateKnowledgeBaseResponse updateKnowledgeBase(UpdateKnowledgeBaseRequest request)
Updates one or more attributes of the specified Knowledge Base.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/UpdateKnowledgeBaseExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateKnowledgeBase API.
-
updateRemediationRecipe
UpdateRemediationRecipeResponse updateRemediationRecipe(UpdateRemediationRecipeRequest request)
Updates one or more attributes of the specified Remediation Recipe.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/UpdateRemediationRecipeExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateRemediationRecipe API.
-
updateRemediationRun
UpdateRemediationRunResponse updateRemediationRun(UpdateRemediationRunRequest request)
Updates by identifier one or more attributes of the specified remediation run.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/UpdateRemediationRunExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateRemediationRun API.
-
updateVulnerabilityAudit
UpdateVulnerabilityAuditResponse updateVulnerabilityAudit(UpdateVulnerabilityAuditRequest request)
Updates one or more attributes of the specified Vulnerability Audit.- Parameters:
request- The request object containing the details to send- Returns:
- A response object containing details about the completed operation
- Throws:
BmcException- when an error occurs. This operation uses RetryConfiguration.SDK_DEFAULT_RETRY_CONFIGURATION as default if no retry strategy is provided. The specifics of the default retry strategy are described here https://docs.oracle.com/en-us/iaas/Content/API/SDKDocs/javasdkconcepts.htm#javasdkconcepts_topic_RetriesExample: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/adm/UpdateVulnerabilityAuditExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use UpdateVulnerabilityAudit API.
-
getWaiters
ApplicationDependencyManagementWaiters getWaiters()
Gets the pre-configured waiters available for resources for this service.- Returns:
- The service waiters.
-
getPaginators
ApplicationDependencyManagementPaginators getPaginators()
Gets 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.- Returns:
- The service paginators.
-
-