public static class ListLabelsRequest.Builder extends Object implements BmcRequest.Builder<ListLabelsRequest,Void>
Modifier and Type | Method and Description |
---|---|
ListLabelsRequest |
build()
Build the instance of ListLabelsRequest as configured by this builder
|
ListLabelsRequest |
buildWithoutInvocationCallback() |
ListLabelsRequest.Builder |
copy(ListLabelsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListLabelsRequest.Builder |
invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
|
ListLabelsRequest.Builder |
isAliasPop(Boolean isAliasPop)
A flag indicating whether or not return the aliases used by each label.
|
ListLabelsRequest.Builder |
isCountPop(Boolean isCountPop)
A flag indicating whether or not to count the label usage per source and per rule.
|
ListLabelsRequest.Builder |
isSystem(ListLabelsRequest.IsSystem isSystem)
The system value used for filtering.
|
ListLabelsRequest.Builder |
labelDisplayText(String labelDisplayText)
The label display text used for filtering.
|
ListLabelsRequest.Builder |
labelName(String labelName)
The label name used for filtering.
|
ListLabelsRequest.Builder |
labelPriority(ListLabelsRequest.LabelPriority labelPriority)
The label priority used for filtering.
|
ListLabelsRequest.Builder |
labelSortBy(ListLabelsRequest.LabelSortBy labelSortBy)
The attribute used to sort the returned labels
|
ListLabelsRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListLabelsRequest.Builder |
namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.
|
ListLabelsRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListLabelsRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListLabelsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListLabelsRequest.Builder |
sortOrder(ListLabelsRequest.SortOrder sortOrder)
The sort order to use, either ascending (
ASC ) or descending (DESC ). |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
body$
public ListLabelsRequest.Builder invocationCallback(Consumer<javax.ws.rs.client.Invocation.Builder> invocationCallback)
Set the invocation callback for the request to be built.
invocationCallback
- the invocation callback to be set for the requestpublic ListLabelsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListLabelsRequest.Builder copy(ListLabelsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListLabelsRequest,Void>
o
- other request from which to copy valuespublic ListLabelsRequest build()
Build the instance of ListLabelsRequest as configured by this builder
Note that this method takes calls to invocationCallback(com.oracle.bmc.util.internal.Consumer)
into account,
while the method buildWithoutInvocationCallback()
does not.
This is the preferred method to build an instance.
build
in interface BmcRequest.Builder<ListLabelsRequest,Void>
public ListLabelsRequest.Builder namespaceName(String namespaceName)
The Logging Analytics namespace used for the request.
this
.public ListLabelsRequest.Builder labelName(String labelName)
The label name used for filtering. Only items with, or associated with, the specified label name will be returned.
this
.public ListLabelsRequest.Builder labelDisplayText(String labelDisplayText)
The label display text used for filtering. Only labels with the specified name or description will be returned.
this
.public ListLabelsRequest.Builder isSystem(ListLabelsRequest.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).
this
.public ListLabelsRequest.Builder labelPriority(ListLabelsRequest.LabelPriority labelPriority)
The label priority used for filtering. Only labels with the specified priority will be returned.
this
.public ListLabelsRequest.Builder isCountPop(Boolean isCountPop)
A flag indicating whether or not to count the label usage per source and per rule.
this
.public ListLabelsRequest.Builder isAliasPop(Boolean isAliasPop)
A flag indicating whether or not return the aliases used by each label.
this
.public ListLabelsRequest.Builder limit(Integer limit)
The maximum number of items to return.
this
.public ListLabelsRequest.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.
this
.public ListLabelsRequest.Builder sortOrder(ListLabelsRequest.SortOrder sortOrder)
The sort order to use, either ascending (ASC
) or descending (DESC
).
this
.public ListLabelsRequest.Builder labelSortBy(ListLabelsRequest.LabelSortBy labelSortBy)
The attribute used to sort the returned labels
this
.public ListLabelsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
this
.public ListLabelsRequest buildWithoutInvocationCallback()
Copyright © 2016–2022. All rights reserved.