Class ListResponderExecutionsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.cloudguard.requests.ListResponderExecutionsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListResponderExecutionsRequest,Void>
- Enclosing class:
- ListResponderExecutionsRequest
public static class ListResponderExecutionsRequest.Builder extends Object implements BmcRequest.Builder<ListResponderExecutionsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListResponderExecutionsRequest.BuilderaccessLevel(ListResponderExecutionsRequest.AccessLevel accessLevel)Valid values are RESTRICTED and ACCESSIBLE.ListResponderExecutionsRequestbuild()Build the instance of ListResponderExecutionsRequest as configured by this builderListResponderExecutionsRequestbuildWithoutInvocationCallback()Build the instance of ListResponderExecutionsRequest as configured by this builderListResponderExecutionsRequest.BuildercompartmentId(String compartmentId)The OCID of the compartment in which to list resources.ListResponderExecutionsRequest.BuildercompartmentIdInSubtree(Boolean compartmentIdInSubtree)Default is false.ListResponderExecutionsRequest.Buildercopy(ListResponderExecutionsRequest o)Copy method to populate the builder with values from the given instance.ListResponderExecutionsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListResponderExecutionsRequest.Builderlimit(Integer limit)The maximum number of items to returnListResponderExecutionsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListResponderExecutionsRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListResponderExecutionsRequest.BuilderresourceType(String resourceType)Resource type associated with the resource.ListResponderExecutionsRequest.BuilderresponderExecutionMode(ResponderExecutionModes responderExecutionMode)The mode of the responder execution in which to list responders.ListResponderExecutionsRequest.BuilderresponderExecutionStatus(ResponderExecutionStates responderExecutionStatus)The status of the responder execution in which to list responders.ListResponderExecutionsRequest.BuilderresponderRuleIds(String singularValue)Singular setter.ListResponderExecutionsRequest.BuilderresponderRuleIds(List<String> responderRuleIds)Responder rule unique identifier filter for the responder executions.ListResponderExecutionsRequest.BuilderresponderType(ListResponderExecutionsRequest.ResponderType responderType)The field to list the responder executions by responder type.ListResponderExecutionsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListResponderExecutionsRequest.BuildersortBy(ListResponderExecutionsRequest.SortBy sortBy)The field to sort by.ListResponderExecutionsRequest.BuildersortOrder(SortOrders sortOrder)The sort order to useListResponderExecutionsRequest.BuildertargetId(String targetId)The ID of the target in which to list resources.ListResponderExecutionsRequest.BuildertimeCompletedGreaterThanOrEqualTo(Date timeCompletedGreaterThanOrEqualTo)Completion end time.ListResponderExecutionsRequest.BuildertimeCompletedLessThanOrEqualTo(Date timeCompletedLessThanOrEqualTo)Completion start time.ListResponderExecutionsRequest.BuildertimeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)Creation start time for filteringListResponderExecutionsRequest.BuildertimeCreatedLessThanOrEqualTo(Date timeCreatedLessThanOrEqualTo)Creation end time for filtering.-
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
-
compartmentId
public ListResponderExecutionsRequest.Builder compartmentId(String compartmentId)
The OCID of the compartment in which to list resources.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
compartmentIdInSubtree
public ListResponderExecutionsRequest.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
-
accessLevel
public ListResponderExecutionsRequest.Builder accessLevel(ListResponderExecutionsRequest.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
-
responderRuleIds
public ListResponderExecutionsRequest.Builder responderRuleIds(List<String> responderRuleIds)
Responder rule unique identifier filter for the responder executions.- Parameters:
responderRuleIds- the value to set- Returns:
- this builder instance
-
responderRuleIds
public ListResponderExecutionsRequest.Builder responderRuleIds(String singularValue)
Singular setter.Responder rule unique identifier filter for the responder executions.
- Parameters:
singularValue- the singular value to set- Returns:
- this builder instance
-
timeCreatedGreaterThanOrEqualTo
public ListResponderExecutionsRequest.Builder timeCreatedGreaterThanOrEqualTo(Date timeCreatedGreaterThanOrEqualTo)
Creation start time for filtering- Parameters:
timeCreatedGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeCreatedLessThanOrEqualTo
public ListResponderExecutionsRequest.Builder timeCreatedLessThanOrEqualTo(Date timeCreatedLessThanOrEqualTo)
Creation end time for filtering.- Parameters:
timeCreatedLessThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeCompletedGreaterThanOrEqualTo
public ListResponderExecutionsRequest.Builder timeCompletedGreaterThanOrEqualTo(Date timeCompletedGreaterThanOrEqualTo)
Completion end time.- Parameters:
timeCompletedGreaterThanOrEqualTo- the value to set- Returns:
- this builder instance
-
timeCompletedLessThanOrEqualTo
public ListResponderExecutionsRequest.Builder timeCompletedLessThanOrEqualTo(Date timeCompletedLessThanOrEqualTo)
Completion start time.- Parameters:
timeCompletedLessThanOrEqualTo- the value to set- Returns:
- this builder instance
-
targetId
public ListResponderExecutionsRequest.Builder targetId(String targetId)
The ID of the target in which to list resources.- Parameters:
targetId- the value to set- Returns:
- this builder instance
-
resourceType
public ListResponderExecutionsRequest.Builder resourceType(String resourceType)
Resource type associated with the resource.- Parameters:
resourceType- the value to set- Returns:
- this builder instance
-
responderType
public ListResponderExecutionsRequest.Builder responderType(ListResponderExecutionsRequest.ResponderType responderType)
The field to list the responder executions by responder type.Valid values are REMEDIATION and NOTIFICATION.
- Parameters:
responderType- the value to set- Returns:
- this builder instance
-
responderExecutionStatus
public ListResponderExecutionsRequest.Builder responderExecutionStatus(ResponderExecutionStates responderExecutionStatus)
The status of the responder execution in which to list responders.- Parameters:
responderExecutionStatus- the value to set- Returns:
- this builder instance
-
responderExecutionMode
public ListResponderExecutionsRequest.Builder responderExecutionMode(ResponderExecutionModes responderExecutionMode)
The mode of the responder execution in which to list responders.- Parameters:
responderExecutionMode- the value to set- Returns:
- this builder instance
-
limit
public ListResponderExecutionsRequest.Builder limit(Integer limit)
The maximum number of items to return- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListResponderExecutionsRequest.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
-
sortOrder
public ListResponderExecutionsRequest.Builder sortOrder(SortOrders sortOrder)
The sort order to use- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListResponderExecutionsRequest.Builder sortBy(ListResponderExecutionsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order for timeCreated is descending. Default order for responderRuleName and resourceName is ascending. If no value is specified timeCreated is default.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListResponderExecutionsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListResponderExecutionsRequest.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 ListResponderExecutionsRequest.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 ListResponderExecutionsRequest.Builder copy(ListResponderExecutionsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListResponderExecutionsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListResponderExecutionsRequest build()
Build the instance of ListResponderExecutionsRequest 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 interfaceBmcRequest.Builder<ListResponderExecutionsRequest,Void>- Returns:
- instance of ListResponderExecutionsRequest
-
buildWithoutInvocationCallback
public ListResponderExecutionsRequest buildWithoutInvocationCallback()
Build the instance of ListResponderExecutionsRequest 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 ListResponderExecutionsRequest
-
-