public static class ListApplicationDependencyVulnerabilitiesRequest.Builder extends Object implements BmcRequest.Builder<ListApplicationDependencyVulnerabilitiesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListApplicationDependencyVulnerabilitiesRequest |
build()
Build the instance of ListApplicationDependencyVulnerabilitiesRequest as configured by
this builder
|
ListApplicationDependencyVulnerabilitiesRequest |
buildWithoutInvocationCallback()
Build the instance of ListApplicationDependencyVulnerabilitiesRequest as configured by
this builder
|
ListApplicationDependencyVulnerabilitiesRequest.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
(https://github.com/package-url/purl-spec/).
|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListApplicationDependencyVulnerabilitiesRequest.Builder vulnerabilityAuditId(String vulnerabilityAuditId)
Unique Vulnerability Audit identifier path parameter.
vulnerabilityAuditId
- the value to setpublic ListApplicationDependencyVulnerabilitiesRequest.Builder vulnerabilityId(String vulnerabilityId)
A filter to return only Vulnerability Audits that match the specified id.
vulnerabilityId
- the value to setpublic 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.
cvssV3GreaterThanOrEqual
- the value to setpublic 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.
cvssV2GreaterThanOrEqual
- the value to setpublic ListApplicationDependencyVulnerabilitiesRequest.Builder severityGreaterThanOrEqual(VulnerabilitySeverity severityGreaterThanOrEqual)
A filter that returns only Vulnerabilities that have a severity greater than or equal to the specified value.
severityGreaterThanOrEqual
- the value to setpublic ListApplicationDependencyVulnerabilitiesRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic 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.
page
- the value to setpublic ListApplicationDependencyVulnerabilitiesRequest.Builder sortOrder(SortOrder sortOrder)
The sort order to use, either ‘ASC’ or ‘DESC’.
sortOrder
- the value to setpublic 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”.
sortBy
- the value to setpublic 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.
rootNodeId
- the value to setpublic 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.
depth
- the value to setpublic ListApplicationDependencyVulnerabilitiesRequest.Builder gav(String gav)
A filter to return only resources that match the entire GAV (Group Artifact Version) identifier given.
gav
- the value to setpublic ListApplicationDependencyVulnerabilitiesRequest.Builder purl(String purl)
A filter to return only resources that match the entire PURL given (https://github.com/package-url/purl-spec/).
purl
- the value to setpublic ListApplicationDependencyVulnerabilitiesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ListApplicationDependencyVulnerabilitiesRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListApplicationDependencyVulnerabilitiesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListApplicationDependencyVulnerabilitiesRequest.Builder copy(ListApplicationDependencyVulnerabilitiesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListApplicationDependencyVulnerabilitiesRequest,Void>
o
- other request from which to copy valuespublic ListApplicationDependencyVulnerabilitiesRequest build()
Build the instance of ListApplicationDependencyVulnerabilitiesRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListApplicationDependencyVulnerabilitiesRequest,Void>
public ListApplicationDependencyVulnerabilitiesRequest buildWithoutInvocationCallback()
Build the instance of ListApplicationDependencyVulnerabilitiesRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.