Class ListIngestTimeRulesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.requests.ListIngestTimeRulesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListIngestTimeRulesRequest,Void>
- Enclosing class:
- ListIngestTimeRulesRequest
public static class ListIngestTimeRulesRequest.Builder extends Object implements BmcRequest.Builder<ListIngestTimeRulesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListIngestTimeRulesRequest
build()
Build the instance of ListIngestTimeRulesRequest as configured by this builderListIngestTimeRulesRequest
buildWithoutInvocationCallback()
Build the instance of ListIngestTimeRulesRequest as configured by this builderListIngestTimeRulesRequest.Builder
compartmentId(String compartmentId)
The ID of the compartment in which to list resources.ListIngestTimeRulesRequest.Builder
conditionKind(ListIngestTimeRulesRequest.ConditionKind conditionKind)
The ingest time rule condition kind used for filtering.ListIngestTimeRulesRequest.Builder
copy(ListIngestTimeRulesRequest o)
Copy method to populate the builder with values from the given instance.ListIngestTimeRulesRequest.Builder
displayName(String displayName)
A filter to return rules whose displayName matches in whole or in part the specified value.ListIngestTimeRulesRequest.Builder
fieldName(String fieldName)
The field name used for filtering.ListIngestTimeRulesRequest.Builder
fieldValue(String fieldValue)
The field value used for filtering.ListIngestTimeRulesRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListIngestTimeRulesRequest.Builder
lifecycleState(ConfigLifecycleState lifecycleState)
The rule lifecycle state used for filtering.ListIngestTimeRulesRequest.Builder
limit(Integer limit)
The maximum number of items to return.ListIngestTimeRulesRequest.Builder
namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.ListIngestTimeRulesRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListIngestTimeRulesRequest.Builder
page(String page)
The page token representing the page at which to start retrieving results.ListIngestTimeRulesRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListIngestTimeRulesRequest.Builder
sortBy(ListIngestTimeRulesRequest.SortBy sortBy)
The field to sort by.ListIngestTimeRulesRequest.Builder
sortOrder(ListIngestTimeRulesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).-
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
-
namespaceName
public ListIngestTimeRulesRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.- Parameters:
namespaceName
- the value to set- Returns:
- this builder instance
-
compartmentId
public ListIngestTimeRulesRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.- Parameters:
compartmentId
- the value to set- Returns:
- this builder instance
-
displayName
public ListIngestTimeRulesRequest.Builder displayName(String displayName)
A filter to return rules whose displayName matches in whole or in part the specified value.The match is case-insensitive.
- Parameters:
displayName
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListIngestTimeRulesRequest.Builder lifecycleState(ConfigLifecycleState lifecycleState)
The rule lifecycle state used for filtering.Currently supported values are ACTIVE and DELETED.
- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
conditionKind
public ListIngestTimeRulesRequest.Builder conditionKind(ListIngestTimeRulesRequest.ConditionKind conditionKind)
The ingest time rule condition kind used for filtering.Only rules with conditions of the specified kind will be returned.
- Parameters:
conditionKind
- the value to set- Returns:
- this builder instance
-
fieldName
public ListIngestTimeRulesRequest.Builder fieldName(String fieldName)
The field name used for filtering.Only rules using the specified field name will be returned.
- Parameters:
fieldName
- the value to set- Returns:
- this builder instance
-
fieldValue
public ListIngestTimeRulesRequest.Builder fieldValue(String fieldValue)
The field value used for filtering.Only rules using the specified field value will be returned.
- Parameters:
fieldValue
- the value to set- Returns:
- this builder instance
-
limit
public ListIngestTimeRulesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit
- the value to set- Returns:
- this builder instance
-
page
public ListIngestTimeRulesRequest.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 ListIngestTimeRulesRequest.Builder sortOrder(ListIngestTimeRulesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC) or descending (DESC).- Parameters:
sortOrder
- the value to set- Returns:
- this builder instance
-
sortBy
public ListIngestTimeRulesRequest.Builder sortBy(ListIngestTimeRulesRequest.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
-
opcRequestId
public ListIngestTimeRulesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId
- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListIngestTimeRulesRequest.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 ListIngestTimeRulesRequest.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 ListIngestTimeRulesRequest.Builder copy(ListIngestTimeRulesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListIngestTimeRulesRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListIngestTimeRulesRequest build()
Build the instance of ListIngestTimeRulesRequest 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:
build
in interfaceBmcRequest.Builder<ListIngestTimeRulesRequest,Void>
- Returns:
- instance of ListIngestTimeRulesRequest
-
buildWithoutInvocationCallback
public ListIngestTimeRulesRequest buildWithoutInvocationCallback()
Build the instance of ListIngestTimeRulesRequest 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 ListIngestTimeRulesRequest
-
-