public static class SuggestMatchesRequest.Builder extends Object implements BmcRequest.Builder<SuggestMatchesRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
SuggestMatchesRequest |
build()
Build the instance of SuggestMatchesRequest as configured by this builder
|
SuggestMatchesRequest |
buildWithoutInvocationCallback()
Build the instance of SuggestMatchesRequest as configured by this builder
|
SuggestMatchesRequest.Builder |
catalogId(String catalogId)
Unique catalog identifier.
|
SuggestMatchesRequest.Builder |
copy(SuggestMatchesRequest o)
Copy method to populate the builder with values from the given instance.
|
SuggestMatchesRequest.Builder |
inputText(String inputText)
Text input string used for computing potential matching suggestions.
|
SuggestMatchesRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
SuggestMatchesRequest.Builder |
limit(Integer limit)
Limit for the list of potential matches returned from the Suggest API.
|
SuggestMatchesRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
SuggestMatchesRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
SuggestMatchesRequest.Builder |
timeout(String timeout)
A search timeout string (for example, timeout=4000ms), bounding the search request to be
executed within the specified time value and bail with the hits accumulated up to that
point when expired.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public SuggestMatchesRequest.Builder catalogId(String catalogId)
Unique catalog identifier.
catalogId
- the value to setpublic SuggestMatchesRequest.Builder inputText(String inputText)
Text input string used for computing potential matching suggestions.
inputText
- the value to setpublic SuggestMatchesRequest.Builder timeout(String timeout)
A search timeout string (for example, timeout=4000ms), bounding the search request to be executed within the specified time value and bail with the hits accumulated up to that point when expired. Defaults to no timeout.
timeout
- the value to setpublic SuggestMatchesRequest.Builder limit(Integer limit)
Limit for the list of potential matches returned from the Suggest API. If not specified, will default to 10.
limit
- the value to setpublic SuggestMatchesRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.
opcRequestId
- the value to setpublic SuggestMatchesRequest.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 SuggestMatchesRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic SuggestMatchesRequest.Builder copy(SuggestMatchesRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<SuggestMatchesRequest,Void>
o
- other request from which to copy valuespublic SuggestMatchesRequest build()
Build the instance of SuggestMatchesRequest 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<SuggestMatchesRequest,Void>
public SuggestMatchesRequest buildWithoutInvocationCallback()
Build the instance of SuggestMatchesRequest 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.