Class ListApplicationDependencyVulnerabilitiesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.adm.requests.ListApplicationDependencyVulnerabilitiesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListApplicationDependencyVulnerabilitiesRequest,Void>
- Enclosing class:
- ListApplicationDependencyVulnerabilitiesRequest
public static class ListApplicationDependencyVulnerabilitiesRequest.Builder extends Object implements BmcRequest.Builder<ListApplicationDependencyVulnerabilitiesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListApplicationDependencyVulnerabilitiesRequest
build()
Build the instance of ListApplicationDependencyVulnerabilitiesRequest as configured by this builderListApplicationDependencyVulnerabilitiesRequest
buildWithoutInvocationCallback()
Build the instance of ListApplicationDependencyVulnerabilitiesRequest as configured by this builderListApplicationDependencyVulnerabilitiesRequest.Builder
copy(ListApplicationDependencyVulnerabilitiesRequest o)
Copy method to populate the builder with values from the given instance.ListApplicationDependencyVulnerabilitiesRequest.Builder
cvssV2GreaterThanOrEqual(Float cvssV2GreaterThanOrEqual)
A filter that returns only Vulnerabilities that have a Common Vulnerability Scoring System Version 2 (CVSS V2) greater than or equal to the specified value.ListApplicationDependencyVulnerabilitiesRequest.Builder
cvssV3GreaterThanOrEqual(Float cvssV3GreaterThanOrEqual)
A filter that returns only Vulnerabilities that have a Common Vulnerability Scoring System Version 3 (CVSS V3) greater than or equal to the specified value.ListApplicationDependencyVulnerabilitiesRequest.Builder
depth(Integer depth)
A filter to limit depth of the application dependencies tree traversal.ListApplicationDependencyVulnerabilitiesRequest.Builder
gav(String gav)
A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.ListApplicationDependencyVulnerabilitiesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListApplicationDependencyVulnerabilitiesRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListApplicationDependencyVulnerabilitiesRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListApplicationDependencyVulnerabilitiesRequest.Builder
page(String page)
A token representing the position at which to start retrieving results.ListApplicationDependencyVulnerabilitiesRequest.Builder
purl(String purl)
A filter to return only resources that match the entire purl given.ListApplicationDependencyVulnerabilitiesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListApplicationDependencyVulnerabilitiesRequest.Builder
rootNodeId(String rootNodeId)
A filter to override the top level root identifier with the new given value.ListApplicationDependencyVulnerabilitiesRequest.Builder
severityGreaterThanOrEqual(VulnerabilitySeverity severityGreaterThanOrEqual)
A filter that returns only Vulnerabilities that have a severity greater than or equal to the specified value.ListApplicationDependencyVulnerabilitiesRequest.Builder
sortBy(ListApplicationDependencyVulnerabilitiesRequest.SortBy sortBy)
The field to sort by.ListApplicationDependencyVulnerabilitiesRequest.Builder
sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.ListApplicationDependencyVulnerabilitiesRequest.Builder
vulnerabilityAuditId(String vulnerabilityAuditId)
Unique Vulnerability Audit identifier path parameter.ListApplicationDependencyVulnerabilitiesRequest.Builder
vulnerabilityId(String vulnerabilityId)
A filter to return only Vulnerability Audits that match the specified id.-
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
-
vulnerabilityAuditId
public ListApplicationDependencyVulnerabilitiesRequest.Builder vulnerabilityAuditId(String vulnerabilityAuditId)
Unique Vulnerability Audit identifier path parameter.- Parameters:
vulnerabilityAuditId
- the value to set- Returns:
- this builder instance
-
vulnerabilityId
public ListApplicationDependencyVulnerabilitiesRequest.Builder vulnerabilityId(String vulnerabilityId)
A filter to return only Vulnerability Audits that match the specified id.- Parameters:
vulnerabilityId
- the value to set- Returns:
- this builder instance
-
cvssV3GreaterThanOrEqual
public ListApplicationDependencyVulnerabilitiesRequest.Builder cvssV3GreaterThanOrEqual(Float cvssV3GreaterThanOrEqual)
A filter that returns only Vulnerabilities that have a Common Vulnerability Scoring System Version 3 (CVSS V3) greater than or equal to the specified value.- Parameters:
cvssV3GreaterThanOrEqual
- the value to set- Returns:
- this builder instance
-
cvssV2GreaterThanOrEqual
public ListApplicationDependencyVulnerabilitiesRequest.Builder cvssV2GreaterThanOrEqual(Float cvssV2GreaterThanOrEqual)
A filter that returns only Vulnerabilities that have a Common Vulnerability Scoring System Version 2 (CVSS V2) greater than or equal to the specified value.- Parameters:
cvssV2GreaterThanOrEqual
- the value to set- Returns:
- this builder instance
-
severityGreaterThanOrEqual
public ListApplicationDependencyVulnerabilitiesRequest.Builder severityGreaterThanOrEqual(VulnerabilitySeverity severityGreaterThanOrEqual)
A filter that returns only Vulnerabilities that have a severity greater than or equal to the specified value.- Parameters:
severityGreaterThanOrEqual
- the value to set- Returns:
- this builder instance
-
limit
public ListApplicationDependencyVulnerabilitiesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListApplicationDependencyVulnerabilitiesRequest.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 ListApplicationDependencyVulnerabilitiesRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListApplicationDependencyVulnerabilitiesRequest.Builder sortBy(ListApplicationDependencyVulnerabilitiesRequest.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
-
rootNodeId
public ListApplicationDependencyVulnerabilitiesRequest.Builder rootNodeId(String rootNodeId)
A filter to override the top level root identifier with the new given value.The application dependency tree will only be traversed from the given node. Query parameters “cvssV2GreaterThanOrEqual”, “cvssV3GreaterThanOrEqual”, “gav” and “vulnerabilityId” cannot be used in conjunction with this parameter.
- Parameters:
rootNodeId
- the value to set- Returns:
- this builder instance
-
depth
public ListApplicationDependencyVulnerabilitiesRequest.Builder depth(Integer depth)
A filter to limit depth of the application dependencies tree traversal.Additionally query parameters such as “cvssV2GreaterThanOrEqual”, “cvssV3GreaterThanOrEqual”, “gav” and “vulnerabilityId” can’t be used in conjunction with this latter.
- Parameters:
depth
- the value to set- Returns:
- this builder instance
-
gav
public ListApplicationDependencyVulnerabilitiesRequest.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 ListApplicationDependencyVulnerabilitiesRequest.Builder purl(String purl)
A filter to return only resources that match the entire purl given.- Parameters:
purl
- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListApplicationDependencyVulnerabilitiesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListApplicationDependencyVulnerabilitiesRequest.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 ListApplicationDependencyVulnerabilitiesRequest.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 ListApplicationDependencyVulnerabilitiesRequest.Builder copy(ListApplicationDependencyVulnerabilitiesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListApplicationDependencyVulnerabilitiesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListApplicationDependencyVulnerabilitiesRequest build()
Build the instance of ListApplicationDependencyVulnerabilitiesRequest 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<ListApplicationDependencyVulnerabilitiesRequest,Void>
- Returns:
- instance of ListApplicationDependencyVulnerabilitiesRequest
-
buildWithoutInvocationCallback
public ListApplicationDependencyVulnerabilitiesRequest buildWithoutInvocationCallback()
Build the instance of ListApplicationDependencyVulnerabilitiesRequest 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 ListApplicationDependencyVulnerabilitiesRequest
-
-