Class ListSourcesRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.loganalytics.requests.ListSourcesRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListSourcesRequest,Void>
- Enclosing class:
- ListSourcesRequest
public static class ListSourcesRequest.Builder extends Object implements BmcRequest.Builder<ListSourcesRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSourcesRequestbuild()Build the instance of ListSourcesRequest as configured by this builderListSourcesRequestbuildWithoutInvocationCallback()Build the instance of ListSourcesRequest as configured by this builderListSourcesRequest.Buildercategories(String categories)A comma-separated list of categories used for filteringListSourcesRequest.BuildercompartmentId(String compartmentId)The ID of the compartment in which to list resources.ListSourcesRequest.Buildercopy(ListSourcesRequest o)Copy method to populate the builder with values from the given instance.ListSourcesRequest.BuilderentityType(String entityType)A filter to return only sources associated with entities of the specified type.ListSourcesRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListSourcesRequest.BuilderisAutoAssociated(Boolean isAutoAssociated)An auto-associate flag used for filtering.ListSourcesRequest.BuilderisSimplified(Boolean isSimplified)A flag specifying whether or not to return all source information, or a subset of the information about each source.ListSourcesRequest.BuilderisSystem(ListSourcesRequest.IsSystem isSystem)The system value used for filtering.ListSourcesRequest.Builderlimit(Integer limit)The maximum number of items to return.ListSourcesRequest.Buildername(String name)A filter to return only log analytics entities whose name matches the entire name given.ListSourcesRequest.BuildernamespaceName(String namespaceName)The Logging Analytics namespace used for the request.ListSourcesRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListSourcesRequest.Builderpage(String page)The page token representing the page at which to start retrieving results.ListSourcesRequest.BuilderpatternText(String patternText)The pattern text filter.ListSourcesRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListSourcesRequest.BuildersortBy(ListSourcesRequest.SortBy sortBy)The attribute used to sort the returned sourcesListSourcesRequest.BuildersortOrder(ListSourcesRequest.SortOrder sortOrder)The sort order to use, either ascending (ASC) or descending (DESC).ListSourcesRequest.BuildersourceDisplayText(String sourceDisplayText)The source display text used for filtering.ListSourcesRequest.BuildersourceType(String sourceType)The source type.-
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 ListSourcesRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.- Parameters:
namespaceName- the value to set- Returns:
- this builder instance
-
compartmentId
public ListSourcesRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.- Parameters:
compartmentId- the value to set- Returns:
- this builder instance
-
entityType
public ListSourcesRequest.Builder entityType(String entityType)
A filter to return only sources associated with entities of the specified type.The match is case-insensitive.
- Parameters:
entityType- the value to set- Returns:
- this builder instance
-
sourceDisplayText
public ListSourcesRequest.Builder sourceDisplayText(String sourceDisplayText)
The source display text used for filtering.Only sources with the specified name or description will be returned.
- Parameters:
sourceDisplayText- the value to set- Returns:
- this builder instance
-
isSystem
public ListSourcesRequest.Builder isSystem(ListSourcesRequest.IsSystem isSystem)
The system value used for filtering.Only items with the specified system value will be returned. Valid values are built in, custom (for user defined items), or all (for all items, regardless of system value).
- Parameters:
isSystem- the value to set- Returns:
- this builder instance
-
isAutoAssociated
public ListSourcesRequest.Builder isAutoAssociated(Boolean isAutoAssociated)
An auto-associate flag used for filtering.Only sources which are marked for automatic association will be returned.
- Parameters:
isAutoAssociated- the value to set- Returns:
- this builder instance
-
sortOrder
public ListSourcesRequest.Builder sortOrder(ListSourcesRequest.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 ListSourcesRequest.Builder sortBy(ListSourcesRequest.SortBy sortBy)
The attribute used to sort the returned sources- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
limit
public ListSourcesRequest.Builder limit(Integer limit)
The maximum number of items to return.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListSourcesRequest.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
-
name
public ListSourcesRequest.Builder name(String name)
A filter to return only log analytics entities whose name matches the entire name given.The match is case-insensitive.
- Parameters:
name- the value to set- Returns:
- this builder instance
-
sourceType
public ListSourcesRequest.Builder sourceType(String sourceType)
The source type.- Parameters:
sourceType- the value to set- Returns:
- this builder instance
-
categories
public ListSourcesRequest.Builder categories(String categories)
A comma-separated list of categories used for filtering- Parameters:
categories- the value to set- Returns:
- this builder instance
-
patternText
public ListSourcesRequest.Builder patternText(String patternText)
The pattern text filter.Only sources with a pattern | which contains text with the specified string will be returned.
- Parameters:
patternText- the value to set- Returns:
- this builder instance
-
isSimplified
public ListSourcesRequest.Builder isSimplified(Boolean isSimplified)
A flag specifying whether or not to return all source information, or a subset of the information about each source.A value of true will return only the source unique identifier and the source name. A value of false will return all source information (such as author, updated date, system flag, etc.)
- Parameters:
isSimplified- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListSourcesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListSourcesRequest.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 ListSourcesRequest.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 ListSourcesRequest.Builder copy(ListSourcesRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListSourcesRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListSourcesRequest build()
Build the instance of ListSourcesRequest 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<ListSourcesRequest,Void>- Returns:
- instance of ListSourcesRequest
-
buildWithoutInvocationCallback
public ListSourcesRequest buildWithoutInvocationCallback()
Build the instance of ListSourcesRequest 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 ListSourcesRequest
-
-