Class ListApplicationDependencyRecommendationsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.adm.requests.ListApplicationDependencyRecommendationsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListApplicationDependencyRecommendationsRequest,Void>
- Enclosing class:
- ListApplicationDependencyRecommendationsRequest
public static class ListApplicationDependencyRecommendationsRequest.Builder extends Object implements BmcRequest.Builder<ListApplicationDependencyRecommendationsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListApplicationDependencyRecommendationsRequest
build()
Build the instance of ListApplicationDependencyRecommendationsRequest as configured by this builderListApplicationDependencyRecommendationsRequest
buildWithoutInvocationCallback()
Build the instance of ListApplicationDependencyRecommendationsRequest as configured by this builderListApplicationDependencyRecommendationsRequest.Builder
copy(ListApplicationDependencyRecommendationsRequest o)
Copy method to populate the builder with values from the given instance.ListApplicationDependencyRecommendationsRequest.Builder
gav(String gav)
A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.ListApplicationDependencyRecommendationsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListApplicationDependencyRecommendationsRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListApplicationDependencyRecommendationsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListApplicationDependencyRecommendationsRequest.Builder
page(String page)
A token representing the position at which to start retrieving results.ListApplicationDependencyRecommendationsRequest.Builder
purl(String purl)
A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).ListApplicationDependencyRecommendationsRequest.Builder
remediationRunId(String remediationRunId)
Unique Remediation Run identifier path parameter.ListApplicationDependencyRecommendationsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListApplicationDependencyRecommendationsRequest.Builder
sortBy(ListApplicationDependencyRecommendationsRequest.SortBy sortBy)
The field to sort by.ListApplicationDependencyRecommendationsRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.-
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.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
remediationRunId
public ListApplicationDependencyRecommendationsRequest.Builder remediationRunId(String remediationRunId)
Unique Remediation Run identifier path parameter.- Parameters:
remediationRunId
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListApplicationDependencyRecommendationsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
limit
public ListApplicationDependencyRecommendationsRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListApplicationDependencyRecommendationsRequest.Builder page(String page)
A token representing the position at which to start retrieving results.This must come from the opc-next-page header field of a previous response.
- Parameters:
page
- the value to set- Returns:
- this builder instance
-
sortOrder
public ListApplicationDependencyRecommendationsRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
gav
public ListApplicationDependencyRecommendationsRequest.Builder gav(String gav)
A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.- Parameters:
gav
- the value to set- Returns:
- this builder instance
-
purl
public ListApplicationDependencyRecommendationsRequest.Builder purl(String purl)
A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).- Parameters:
purl
- the value to set- Returns:
- this builder instance
-
sortBy
public ListApplicationDependencyRecommendationsRequest.Builder sortBy(ListApplicationDependencyRecommendationsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. If sort order is dfs, the nodes are returned by going through the application dependency tree in a depth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending. If sort order is bfs, the nodes are returned by going through the application dependency tree in a breadth-first manner. Children are sorted based on their GAV property alphabetically (either ascending or descending, depending on the order parameter). Default order is ascending. Default order for gav is ascending where ascending corresponds to alphanumerical order. Default order for purl is ascending where ascending corresponds to alphabetical order Default order for nodeId is ascending where ascending corresponds to alphanumerical order. Sorting by DFS or BFS cannot be used in conjunction with the following query parameters: “gav”, “cvssV2GreaterThanOrEqual”, “cvssV3GreaterThanOrEqual” and “vulnerabilityId”.
- Parameters:
sortBy
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListApplicationDependencyRecommendationsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback
- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public ListApplicationDependencyRecommendationsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration
- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public ListApplicationDependencyRecommendationsRequest.Builder copy(ListApplicationDependencyRecommendationsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListApplicationDependencyRecommendationsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListApplicationDependencyRecommendationsRequest build()
Build the instance of ListApplicationDependencyRecommendationsRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuildWithoutInvocationCallback()
does not.This is the preferred method to build an instance.
- Specified by:
build
in interfaceBmcRequest.Builder<ListApplicationDependencyRecommendationsRequest,Void>
- Returns:
- instance of ListApplicationDependencyRecommendationsRequest
-
buildWithoutInvocationCallback
public ListApplicationDependencyRecommendationsRequest buildWithoutInvocationCallback()
Build the instance of ListApplicationDependencyRecommendationsRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account, while the methodbuild()
does- Returns:
- instance of ListApplicationDependencyRecommendationsRequest
-
-