Class ListResourcesRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.requests.ListResourcesRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListResourcesRequest,Void>
 - Enclosing class:
- ListResourcesRequest
 
 public static class ListResourcesRequest.Builder extends Object implements BmcRequest.Builder<ListResourcesRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListResourcesRequest.BuilderaccessLevel(ListResourcesRequest.AccessLevel accessLevel)Valid values are RESTRICTED and ACCESSIBLE.ListResourcesRequestbuild()Build the instance of ListResourcesRequest as configured by this builderListResourcesRequestbuildWithoutInvocationCallback()Build the instance of ListResourcesRequest as configured by this builderListResourcesRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment in which to list resources.ListResourcesRequest.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)Default is false.ListResourcesRequest.Buildercopy(ListResourcesRequest o)Copy method to populate the builder with values from the given instance.ListResourcesRequest.BuildercveId(String cveId)CVE ID associated with the resource.ListResourcesRequest.BuildercvssScore(Integer cvssScore)Cvss score associated with the resource.ListResourcesRequest.BuildercvssScoreGreaterThan(Integer cvssScoreGreaterThan)Cvss score greater than associated with the resource.ListResourcesRequest.BuildercvssScoreLessThan(Integer cvssScoreLessThan)Cvss score less than associated with the resource.ListResourcesRequest.BuilderdetectorRuleIdList(String singularValue)Singular setter.ListResourcesRequest.BuilderdetectorRuleIdList(List<String> detectorRuleIdList)Comma seperated list of detector rule IDs to be passed in to match against Problems.ListResourcesRequest.BuilderdetectorType(DetectorEnum detectorType)The field to list the problems by detector type.ListResourcesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListResourcesRequest.Builderlimit(Integer limit)The maximum number of items to returnListResourcesRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListResourcesRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListResourcesRequest.Builderregion(String region)OCI monitoring region.ListResourcesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListResourcesRequest.BuilderriskLevel(String riskLevel)Risk level of the problem.ListResourcesRequest.BuilderriskLevelGreaterThan(String riskLevelGreaterThan)To filter risk level greater than the one mentioned in query paramListResourcesRequest.BuilderriskLevelLessThan(String riskLevelLessThan)To filter risk level less than the one mentioned in query paramListResourcesRequest.BuildersortBy(ListResourcesRequest.SortBy sortBy)The field to sort by.ListResourcesRequest.BuildersortOrder(SortOrders sortOrder)The sort order to useListResourcesRequest.BuildertargetId(String targetId)The ID of the target in which to list resources.- 
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- 
compartmentIdpublic ListResourcesRequest.Builder compartmentId(String compartmentId) The OCID of the compartment in which to list resources.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
targetIdpublic ListResourcesRequest.Builder targetId(String targetId) The ID of the target in which to list resources.- Parameters:
- targetId- the value to set
- Returns:
- this builder instance
 
 - 
regionpublic ListResourcesRequest.Builder region(String region) OCI monitoring region.- Parameters:
- region- the value to set
- Returns:
- this builder instance
 
 - 
cvssScorepublic ListResourcesRequest.Builder cvssScore(Integer cvssScore) Cvss score associated with the resource.- Parameters:
- cvssScore- the value to set
- Returns:
- this builder instance
 
 - 
cvssScoreGreaterThanpublic ListResourcesRequest.Builder cvssScoreGreaterThan(Integer cvssScoreGreaterThan) Cvss score greater than associated with the resource.- Parameters:
- cvssScoreGreaterThan- the value to set
- Returns:
- this builder instance
 
 - 
cvssScoreLessThanpublic ListResourcesRequest.Builder cvssScoreLessThan(Integer cvssScoreLessThan) Cvss score less than associated with the resource.- Parameters:
- cvssScoreLessThan- the value to set
- Returns:
- this builder instance
 
 - 
cveIdpublic ListResourcesRequest.Builder cveId(String cveId) CVE ID associated with the resource.- Parameters:
- cveId- the value to set
- Returns:
- this builder instance
 
 - 
riskLevelpublic ListResourcesRequest.Builder riskLevel(String riskLevel) Risk level of the problem.- Parameters:
- riskLevel- the value to set
- Returns:
- this builder instance
 
 - 
riskLevelGreaterThanpublic ListResourcesRequest.Builder riskLevelGreaterThan(String riskLevelGreaterThan) To filter risk level greater than the one mentioned in query param- Parameters:
- riskLevelGreaterThan- the value to set
- Returns:
- this builder instance
 
 - 
riskLevelLessThanpublic ListResourcesRequest.Builder riskLevelLessThan(String riskLevelLessThan) To filter risk level less than the one mentioned in query param- Parameters:
- riskLevelLessThan- the value to set
- Returns:
- this builder instance
 
 - 
detectorRuleIdListpublic ListResourcesRequest.Builder detectorRuleIdList(List<String> detectorRuleIdList) Comma seperated list of detector rule IDs to be passed in to match against Problems.- Parameters:
- detectorRuleIdList- the value to set
- Returns:
- this builder instance
 
 - 
detectorRuleIdListpublic ListResourcesRequest.Builder detectorRuleIdList(String singularValue) Singular setter.Comma seperated list of detector rule IDs to be passed in to match against Problems. - Parameters:
- singularValue- the singular value to set
- Returns:
- this builder instance
 
 - 
detectorTypepublic ListResourcesRequest.Builder detectorType(DetectorEnum detectorType) The field to list the problems by detector type.- Parameters:
- detectorType- the value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListResourcesRequest.Builder limit(Integer limit) The maximum number of items to return- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListResourcesRequest.Builder page(String page) The page token representing the page at which to start retrieving results.This is usually retrieved from a previous list call. - Parameters:
- page- the value to set
- Returns:
- this builder instance
 
 - 
compartmentIdInSubtreepublic ListResourcesRequest.Builder compartmentIdInSubtree(Boolean compartmentIdInSubtree) Default is false.When set to true, the hierarchy of compartments is traversed and all compartments and subcompartments in the tenancy are returned depending on the setting of accessLevel. - Parameters:
- compartmentIdInSubtree- the value to set
- Returns:
- this builder instance
 
 - 
accessLevelpublic ListResourcesRequest.Builder accessLevel(ListResourcesRequest.AccessLevel accessLevel) Valid values are RESTRICTED and ACCESSIBLE.Default is RESTRICTED. Setting this to ACCESSIBLE returns only those compartments for which the user has INSPECT permissions directly or indirectly (permissions can be on a resource in a subcompartment). When set to RESTRICTED permissions are checked and no partial results are displayed. - Parameters:
- accessLevel- the value to set
- Returns:
- this builder instance
 
 - 
sortOrderpublic ListResourcesRequest.Builder sortOrder(SortOrders sortOrder) The sort order to use- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListResourcesRequest.Builder sortBy(ListResourcesRequest.SortBy sortBy) The field to sort by.Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending. If no value is specified timeCreated is default. - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListResourcesRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListResourcesRequest.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 ListResourcesRequest.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 ListResourcesRequest.Builder copy(ListResourcesRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListResourcesRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListResourcesRequest build() Build the instance of ListResourcesRequest 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<ListResourcesRequest,Void>
- Returns:
- instance of ListResourcesRequest
 
 - 
buildWithoutInvocationCallbackpublic ListResourcesRequest buildWithoutInvocationCallback() Build the instance of ListResourcesRequest 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 ListResourcesRequest
 
 
- 
 
-