Class ListResourceProfilesRequest.Builder
- java.lang.Object
- 
- com.oracle.bmc.cloudguard.requests.ListResourceProfilesRequest.Builder
 
- 
- All Implemented Interfaces:
- BmcRequest.Builder<ListResourceProfilesRequest,Void>
 - Enclosing class:
- ListResourceProfilesRequest
 
 public static class ListResourceProfilesRequest.Builder extends Object implements BmcRequest.Builder<ListResourceProfilesRequest,Void> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description ListResourceProfilesRequest.BuilderaccessLevel(ListResourceProfilesRequest.AccessLevel accessLevel)Valid values are RESTRICTED and ACCESSIBLE.ListResourceProfilesRequestbuild()Build the instance of ListResourceProfilesRequest as configured by this builderListResourceProfilesRequestbuildWithoutInvocationCallback()Build the instance of ListResourceProfilesRequest as configured by this builderListResourceProfilesRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment in which to list resources.ListResourceProfilesRequest.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)Default is false.ListResourceProfilesRequest.Buildercopy(ListResourceProfilesRequest o)Copy method to populate the builder with values from the given instance.ListResourceProfilesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListResourceProfilesRequest.Builderlimit(Integer limit)The maximum number of items to returnListResourceProfilesRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListResourceProfilesRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListResourceProfilesRequest.BuilderresourceTypes(String singularValue)Singular setter.ListResourceProfilesRequest.BuilderresourceTypes(List<String> resourceTypes)A filter to return only resources that match the list of resource types given.ListResourceProfilesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListResourceProfilesRequest.BuilderriskScoreGreaterThanOrEqualTo(Double riskScoreGreaterThanOrEqualTo)Risk score filter.ListResourceProfilesRequest.BuilderriskScoreLessThanOrEqualTo(Double riskScoreLessThanOrEqualTo)Risk score filter,ListResourceProfilesRequest.BuildersortBy(ListResourceProfilesRequest.SortBy sortBy)The field to sort resource profiles.ListResourceProfilesRequest.BuildersortOrder(SortOrders sortOrder)The sort order to useListResourceProfilesRequest.Buildertactics(String singularValue)Singular setter.ListResourceProfilesRequest.Buildertactics(List<String> tactics)A filter to return only resources that match the list of tactics given.ListResourceProfilesRequest.Buildertechniques(String singularValue)Singular setter.ListResourceProfilesRequest.Buildertechniques(List<String> techniques)A filter to return only resources that match the list of techniques given.ListResourceProfilesRequest.BuildertimeFirstDetectedGreaterThanOrEqualTo(Date timeFirstDetectedGreaterThanOrEqualTo)Start time for a filter.ListResourceProfilesRequest.BuildertimeFirstDetectedLessThanOrEqualTo(Date timeFirstDetectedLessThanOrEqualTo)End time for a filter.ListResourceProfilesRequest.BuildertimeLastDetectedGreaterThanOrEqualTo(Date timeLastDetectedGreaterThanOrEqualTo)Start time for a filter.ListResourceProfilesRequest.BuildertimeLastDetectedLessThanOrEqualTo(Date timeLastDetectedLessThanOrEqualTo)End time for a filter.- 
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 ListResourceProfilesRequest.Builder compartmentId(String compartmentId) The OCID of the compartment in which to list resources.- Parameters:
- compartmentId- the value to set
- Returns:
- this builder instance
 
 - 
timeLastDetectedGreaterThanOrEqualTopublic ListResourceProfilesRequest.Builder timeLastDetectedGreaterThanOrEqualTo(Date timeLastDetectedGreaterThanOrEqualTo) Start time for a filter.If start time is not specified, start time will be set to current time - 30 days. - Parameters:
- timeLastDetectedGreaterThanOrEqualTo- the value to set
- Returns:
- this builder instance
 
 - 
timeLastDetectedLessThanOrEqualTopublic ListResourceProfilesRequest.Builder timeLastDetectedLessThanOrEqualTo(Date timeLastDetectedLessThanOrEqualTo) End time for a filter.If end time is not specified, end time will be set to current time. - Parameters:
- timeLastDetectedLessThanOrEqualTo- the value to set
- Returns:
- this builder instance
 
 - 
timeFirstDetectedGreaterThanOrEqualTopublic ListResourceProfilesRequest.Builder timeFirstDetectedGreaterThanOrEqualTo(Date timeFirstDetectedGreaterThanOrEqualTo) Start time for a filter.If start time is not specified, start time will be set to current time - 30 days. - Parameters:
- timeFirstDetectedGreaterThanOrEqualTo- the value to set
- Returns:
- this builder instance
 
 - 
timeFirstDetectedLessThanOrEqualTopublic ListResourceProfilesRequest.Builder timeFirstDetectedLessThanOrEqualTo(Date timeFirstDetectedLessThanOrEqualTo) End time for a filter.If end time is not specified, end time will be set to current time. - Parameters:
- timeFirstDetectedLessThanOrEqualTo- the value to set
- Returns:
- this builder instance
 
 - 
compartmentIdInSubtreepublic ListResourceProfilesRequest.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 ListResourceProfilesRequest.Builder accessLevel(ListResourceProfilesRequest.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
 
 - 
resourceTypespublic ListResourceProfilesRequest.Builder resourceTypes(List<String> resourceTypes) A filter to return only resources that match the list of resource types given.- Parameters:
- resourceTypes- the value to set
- Returns:
- this builder instance
 
 - 
resourceTypespublic ListResourceProfilesRequest.Builder resourceTypes(String singularValue) Singular setter.A filter to return only resources that match the list of resource types given. - Parameters:
- singularValue- the singular value to set
- Returns:
- this builder instance
 
 - 
riskScoreGreaterThanOrEqualTopublic ListResourceProfilesRequest.Builder riskScoreGreaterThanOrEqualTo(Double riskScoreGreaterThanOrEqualTo) Risk score filter.- Parameters:
- riskScoreGreaterThanOrEqualTo- the value to set
- Returns:
- this builder instance
 
 - 
riskScoreLessThanOrEqualTopublic ListResourceProfilesRequest.Builder riskScoreLessThanOrEqualTo(Double riskScoreLessThanOrEqualTo) Risk score filter,- Parameters:
- riskScoreLessThanOrEqualTo- the value to set
- Returns:
- this builder instance
 
 - 
techniquespublic ListResourceProfilesRequest.Builder techniques(List<String> techniques) A filter to return only resources that match the list of techniques given.- Parameters:
- techniques- the value to set
- Returns:
- this builder instance
 
 - 
techniquespublic ListResourceProfilesRequest.Builder techniques(String singularValue) Singular setter.A filter to return only resources that match the list of techniques given. - Parameters:
- singularValue- the singular value to set
- Returns:
- this builder instance
 
 - 
tacticspublic ListResourceProfilesRequest.Builder tactics(List<String> tactics) A filter to return only resources that match the list of tactics given.- Parameters:
- tactics- the value to set
- Returns:
- this builder instance
 
 - 
tacticspublic ListResourceProfilesRequest.Builder tactics(String singularValue) Singular setter.A filter to return only resources that match the list of tactics given. - Parameters:
- singularValue- the singular value to set
- Returns:
- this builder instance
 
 - 
limitpublic ListResourceProfilesRequest.Builder limit(Integer limit) The maximum number of items to return- Parameters:
- limit- the value to set
- Returns:
- this builder instance
 
 - 
pagepublic ListResourceProfilesRequest.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
 
 - 
sortOrderpublic ListResourceProfilesRequest.Builder sortOrder(SortOrders sortOrder) The sort order to use- Parameters:
- sortOrder- the value to set
- Returns:
- this builder instance
 
 - 
sortBypublic ListResourceProfilesRequest.Builder sortBy(ListResourceProfilesRequest.SortBy sortBy) The field to sort resource profiles.Only one sort order may be provided. Default order for timeLastDetected is descending. If no value is specified timeLastDetected is default. - Parameters:
- sortBy- the value to set
- Returns:
- this builder instance
 
 - 
opcRequestIdpublic ListResourceProfilesRequest.Builder opcRequestId(String opcRequestId) The client request ID for tracing.- Parameters:
- opcRequestId- the value to set
- Returns:
- this builder instance
 
 - 
invocationCallbackpublic ListResourceProfilesRequest.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 ListResourceProfilesRequest.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 ListResourceProfilesRequest.Builder copy(ListResourceProfilesRequest o) Copy method to populate the builder with values from the given instance.- Specified by:
- copyin interface- BmcRequest.Builder<ListResourceProfilesRequest,Void>
- Parameters:
- o- other request from which to copy values
- Returns:
- this builder instance
 
 - 
buildpublic ListResourceProfilesRequest build() Build the instance of ListResourceProfilesRequest 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<ListResourceProfilesRequest,Void>
- Returns:
- instance of ListResourceProfilesRequest
 
 - 
buildWithoutInvocationCallbackpublic ListResourceProfilesRequest buildWithoutInvocationCallback() Build the instance of ListResourceProfilesRequest 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 ListResourceProfilesRequest
 
 
- 
 
-