public static class ListSourcesRequest.Builder extends Object implements BmcRequest.Builder<ListSourcesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListSourcesRequest |
build()
Build the instance of ListSourcesRequest as configured by this builder
|
ListSourcesRequest |
buildWithoutInvocationCallback()
Build the instance of ListSourcesRequest as configured by this builder
|
ListSourcesRequest.Builder |
categories(String categories)
A comma-separated list of categories used for filtering
|
ListSourcesRequest.Builder |
compartmentId(String compartmentId)
The ID of the compartment in which to list resources.
|
ListSourcesRequest.Builder |
copy(ListSourcesRequest o)
Copy method to populate the builder with values from the given instance.
|
ListSourcesRequest.Builder |
entityType(String entityType)
A filter to return only sources associated with entities of the specified type.
|
ListSourcesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListSourcesRequest.Builder |
isAutoAssociated(Boolean isAutoAssociated)
An auto-associate flag used for filtering.
|
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.
|
ListSourcesRequest.Builder |
isSystem(ListSourcesRequest.IsSystem isSystem)
The system value used for filtering.
|
ListSourcesRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListSourcesRequest.Builder |
name(String name)
A filter to return only log analytics entities whose name matches the entire name given.
|
ListSourcesRequest.Builder |
namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.
|
ListSourcesRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListSourcesRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListSourcesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListSourcesRequest.Builder |
sortBy(ListSourcesRequest.SortBy sortBy)
The attribute used to sort the returned sources
|
ListSourcesRequest.Builder |
sortOrder(ListSourcesRequest.SortOrder sortOrder)
The sort order to use, either ascending (
ASC ) or descending (DESC ). |
ListSourcesRequest.Builder |
sourceDisplayText(String sourceDisplayText)
The source display text used for filtering.
|
ListSourcesRequest.Builder |
sourceType(String sourceType)
The source type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListSourcesRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.
namespaceName
- the value to setpublic ListSourcesRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.
compartmentId
- the value to setpublic ListSourcesRequest.Builder entityType(String entityType)
A filter to return only sources associated with entities of the specified type. The match is case-insensitive.
entityType
- the value to setpublic ListSourcesRequest.Builder sourceDisplayText(String sourceDisplayText)
The source display text used for filtering. Only sources with the specified name or description will be returned.
sourceDisplayText
- the value to setpublic 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).
isSystem
- the value to setpublic ListSourcesRequest.Builder isAutoAssociated(Boolean isAutoAssociated)
An auto-associate flag used for filtering. Only sources which are marked for automatic association will be returned.
isAutoAssociated
- the value to setpublic ListSourcesRequest.Builder sortOrder(ListSourcesRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
sortOrder
- the value to setpublic ListSourcesRequest.Builder sortBy(ListSourcesRequest.SortBy sortBy)
The attribute used to sort the returned sources
sortBy
- the value to setpublic ListSourcesRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic 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.
page
- the value to setpublic 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.
name
- the value to setpublic ListSourcesRequest.Builder sourceType(String sourceType)
The source type.
sourceType
- the value to setpublic ListSourcesRequest.Builder categories(String categories)
A comma-separated list of categories used for filtering
categories
- the value to setpublic 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.)
isSimplified
- the value to setpublic ListSourcesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ListSourcesRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListSourcesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListSourcesRequest.Builder copy(ListSourcesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListSourcesRequest,Void>
o
- other request from which to copy valuespublic ListSourcesRequest build()
Build the instance of ListSourcesRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListSourcesRequest,Void>
public ListSourcesRequest buildWithoutInvocationCallback()
Build the instance of ListSourcesRequest as configured by this builder
Note that this method does not take calls to invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)
into account,
while the method build()
does
Copyright © 2016–2024. All rights reserved.