public static class ListRecordsRequest.Builder extends Object implements BmcRequest.Builder<ListRecordsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListRecordsRequest.Builder |
annotationLabelsContains(List<String> annotationLabelsContains)
Lets the user filter records based on the related annotations.
|
ListRecordsRequest.Builder |
annotationLabelsContains(String singularValue)
Singular setter.
|
ListRecordsRequest |
build()
Build the instance of ListRecordsRequest as configured by this builder
|
ListRecordsRequest |
buildWithoutInvocationCallback()
Build the instance of ListRecordsRequest as configured by this builder
|
ListRecordsRequest.Builder |
compartmentId(String compartmentId)
The ID of the compartment in which to list resources.
|
ListRecordsRequest.Builder |
copy(ListRecordsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListRecordsRequest.Builder |
datasetId(String datasetId)
Filter the results by the OCID of the dataset.
|
ListRecordsRequest.Builder |
id(String id)
The unique OCID identifier.
|
ListRecordsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListRecordsRequest.Builder |
isLabeled(Boolean isLabeled)
Whether the record has been labeled and has associated annotations.
|
ListRecordsRequest.Builder |
lifecycleState(Record.LifecycleState lifecycleState)
A filter to return only resources whose lifecycleState matches the given lifecycleState.
|
ListRecordsRequest.Builder |
limit(Integer limit)
The maximum number of items to return.
|
ListRecordsRequest.Builder |
name(String name)
The name of the record.
|
ListRecordsRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListRecordsRequest.Builder |
page(String page)
The page token representing the page at which to start retrieving results.
|
ListRecordsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListRecordsRequest.Builder |
sortBy(ListRecordsRequest.SortBy sortBy)
The field to sort by.
|
ListRecordsRequest.Builder |
sortOrder(SortOrders sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListRecordsRequest.Builder compartmentId(String compartmentId)
The ID of the compartment in which to list resources.
compartmentId
- the value to setpublic ListRecordsRequest.Builder datasetId(String datasetId)
Filter the results by the OCID of the dataset.
datasetId
- the value to setpublic ListRecordsRequest.Builder lifecycleState(Record.LifecycleState lifecycleState)
A filter to return only resources whose lifecycleState matches the given lifecycleState.
lifecycleState
- the value to setpublic ListRecordsRequest.Builder name(String name)
The name of the record.
name
- the value to setpublic ListRecordsRequest.Builder id(String id)
The unique OCID identifier.
id
- the value to setpublic ListRecordsRequest.Builder isLabeled(Boolean isLabeled)
Whether the record has been labeled and has associated annotations.
isLabeled
- the value to setpublic ListRecordsRequest.Builder annotationLabelsContains(List<String> annotationLabelsContains)
Lets the user filter records based on the related annotations.
annotationLabelsContains
- the value to setpublic ListRecordsRequest.Builder annotationLabelsContains(String singularValue)
Singular setter. Lets the user filter records based on the related annotations.
singularValue
- the singular value to setpublic ListRecordsRequest.Builder limit(Integer limit)
The maximum number of items to return.
limit
- the value to setpublic ListRecordsRequest.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 ListRecordsRequest.Builder sortOrder(SortOrders sortOrder)
The sort order to use, either ‘asc’ or ‘desc’.
sortOrder
- the value to setpublic ListRecordsRequest.Builder sortBy(ListRecordsRequest.SortBy sortBy)
The field to sort by. Only one sort order may be provided. The default order for timeCreated is descending. The default order for name is ascending. If no value is specified, timeCreated is used by default.
sortBy
- the value to setpublic ListRecordsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic ListRecordsRequest.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 ListRecordsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListRecordsRequest.Builder copy(ListRecordsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListRecordsRequest,Void>
o
- other request from which to copy valuespublic ListRecordsRequest build()
Build the instance of ListRecordsRequest 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<ListRecordsRequest,Void>
public ListRecordsRequest buildWithoutInvocationCallback()
Build the instance of ListRecordsRequest 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.