Class ListVulnerabilityAuditsRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.adm.requests.ListVulnerabilityAuditsRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListVulnerabilityAuditsRequest,Void>
 - Enclosing class:
- ListVulnerabilityAuditsRequest
 
 public static class ListVulnerabilityAuditsRequest.Builder extends Object implements BmcRequest.Builder<ListVulnerabilityAuditsRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListVulnerabilityAuditsRequestbuild()Build the instance of ListVulnerabilityAuditsRequest as configured by this builderListVulnerabilityAuditsRequestbuildWithoutInvocationCallback()Build the instance of ListVulnerabilityAuditsRequest as configured by this builderListVulnerabilityAuditsRequest.BuildercompartmentId(String compartmentId)A filter to return only resources that belong to the specified compartment identifier.ListVulnerabilityAuditsRequest.Buildercopy(ListVulnerabilityAuditsRequest o)Copy method to populate the builder with values from the given instance.ListVulnerabilityAuditsRequest.BuilderdisplayName(String displayName)A filter to return only resources that match the entire display name given.ListVulnerabilityAuditsRequest.Builderid(String id)A filter to return only resources that match the specified identifier.ListVulnerabilityAuditsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListVulnerabilityAuditsRequest.BuilderisSuccess(Boolean isSuccess)A filter to return only successful or failed Vulnerability Audits.ListVulnerabilityAuditsRequest.BuilderknowledgeBaseId(String knowledgeBaseId)A filter to return only Vulnerability Audits that were created against the specified knowledge base.ListVulnerabilityAuditsRequest.BuilderlifecycleState(VulnerabilityAudit.LifecycleState lifecycleState)A filter to return only Vulnerability Audits that match the specified lifecycleState.ListVulnerabilityAuditsRequest.Builderlimit(Integer limit)The maximum number of items to return.ListVulnerabilityAuditsRequest.BuildermaxObservedSeverityGreaterThanOrEqualTo(VulnerabilitySeverity maxObservedSeverityGreaterThanOrEqualTo)A filter that returns only Vulnerability Audits that have a maximum observed Severity greater than or equal to the specified value.ListVulnerabilityAuditsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListVulnerabilityAuditsRequest.Builderpage(String page)A token representing the position at which to start retrieving results.ListVulnerabilityAuditsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListVulnerabilityAuditsRequest.BuildersortBy(ListVulnerabilityAuditsRequest.SortBy sortBy)The field used to sort Vulnerability Audits.ListVulnerabilityAuditsRequest.BuildersortOrder(SortOrder sortOrder)The sort order to use, either ‘ASC’ or ‘DESC’.ListVulnerabilityAuditsRequest.BuildertimeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)A filter to return only Vulnerability Audits with timeCreated greater or equal to the specified value.ListVulnerabilityAuditsRequest.BuildertimeCreatedLessThanOrEqualTo(Date timeCreatedLessThanOrEqualTo)A filter to return only Vulnerability Audits with timeCreated less or equal to the specified value.- 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 - 
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builderbody$
 
- 
 
- 
- 
- 
Method Detail- 
idpublic ListVulnerabilityAuditsRequest.Builder id(String id) A filter to return only resources that match the specified identifier.Required only if the compartmentId query parameter is not specified. - Parameters:
- id- the value to set
- Returns:
- this builder instance
 
 - 
compartmentIdpublic ListVulnerabilityAuditsRequest.Builder compartmentId(String compartmentId) A filter to return only resources that belong to the specified compartment identifier.Required only if the id query param is not specified. - Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
knowledgeBaseIdpublic ListVulnerabilityAuditsRequest.Builder knowledgeBaseId(String knowledgeBaseId) A filter to return only Vulnerability Audits that were created against the specified knowledge base.- Parameters:
- knowledgeBaseId- the value to set
- Returns:
- this builder instance
 
 - 
isSuccesspublic ListVulnerabilityAuditsRequest.Builder isSuccess(Boolean isSuccess) A filter to return only successful or failed Vulnerability Audits.- Parameters:
- isSuccess- the value to set
- Returns:
- this builder instance
 
 - 
lifecycleStatepublic ListVulnerabilityAuditsRequest.Builder lifecycleState(VulnerabilityAudit.LifecycleState lifecycleState) A filter to return only Vulnerability Audits that match the specified lifecycleState.- Parameters:
- lifecycleState- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListVulnerabilityAuditsRequest.Builder sortOrder(SortOrder sortOrder) The sort order to use, either ‘ASC’ or ‘DESC’.- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListVulnerabilityAuditsRequest.Builder limit(Integer limit) The maximum number of items to return.- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListVulnerabilityAuditsRequest.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
 
 - 
opcRequestIdpublic ListVulnerabilityAuditsRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListVulnerabilityAuditsRequest.Builder sortBy(ListVulnerabilityAuditsRequest.SortBy sortBy) The field used to sort Vulnerability Audits.Only one sort order is allowed. Default order for maxObservedCvssV2Score is ascending. Default order for maxObservedCvssV3Score is ascending. Default order for maxObservedCvssV2ScoreWithIgnored is ascending. Default order for maxObservedCvssV3ScoreWithIgnored is ascending. Default order for timeCreated is descending. Default order for vulnerableArtifactsCount is ascending. Default order for vulnerableArtifactsCountWithIgnored is ascending. Default order for maxObservedSeverity is ascending. Default order for maxObservedSeverityWithIgnored is ascending. Default order for displayName is ascending. - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
displayNamepublic ListVulnerabilityAuditsRequest.Builder displayName(String displayName) A filter to return only resources that match the entire display name given.- Parameters:
- displayName- the value to set
- Returns:
- this builder instance
 
 - 
timeCreatedGreaterThanOrEqualTopublic ListVulnerabilityAuditsRequest.Builder timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo) A filter to return only Vulnerability Audits with timeCreated greater or equal to the specified value.- Parameters:
- timeCreatedGreaterThanOrEqualTo- the value to set
- Returns:
- this builder instance
 
 - 
timeCreatedLessThanOrEqualTopublic ListVulnerabilityAuditsRequest.Builder timeCreatedLessThanOrEqualTo(Date timeCreatedLessThanOrEqualTo) A filter to return only Vulnerability Audits with timeCreated less or equal to the specified value.- Parameters:
- timeCreatedLessThanOrEqualTo- the value to set
- Returns:
- this builder instance
 
 - 
maxObservedSeverityGreaterThanOrEqualTopublic ListVulnerabilityAuditsRequest.Builder maxObservedSeverityGreaterThanOrEqualTo(VulnerabilitySeverity maxObservedSeverityGreaterThanOrEqualTo) A filter that returns only Vulnerability Audits that have a maximum observed Severity greater than or equal to the specified value.- Parameters:
- maxObservedSeverityGreaterThanOrEqualTo- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListVulnerabilityAuditsRequest.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
 
 - 
retryConfigurationpublic ListVulnerabilityAuditsRequest.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
 
 - 
copypublic ListVulnerabilityAuditsRequest.Builder copy(ListVulnerabilityAuditsRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListVulnerabilityAuditsRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListVulnerabilityAuditsRequest build() Build the instance of ListVulnerabilityAuditsRequest 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:
- buildin interface- BmcRequest.Builder<ListVulnerabilityAuditsRequest,Void>
- Returns:
- instance of ListVulnerabilityAuditsRequest
 
 - 
buildWithoutInvocationCallbackpublic ListVulnerabilityAuditsRequest buildWithoutInvocationCallback() Build the instance of ListVulnerabilityAuditsRequest 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 ListVulnerabilityAuditsRequest
 
 
- 
 
-