public static class ListTranslatorsRequest.Builder extends Object implements BmcRequest.Builder<ListTranslatorsRequest,Void>
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
ListTranslatorsRequest |
build()
Build the instance of ListTranslatorsRequest as configured by this builder
|
ListTranslatorsRequest |
buildWithoutInvocationCallback()
Build the instance of ListTranslatorsRequest as configured by this builder
|
ListTranslatorsRequest.Builder |
copy(ListTranslatorsRequest o)
Copy method to populate the builder with values from the given instance.
|
ListTranslatorsRequest.Builder |
id(String id)
Unique Translator identifier.
|
ListTranslatorsRequest.Builder |
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.
|
ListTranslatorsRequest.Builder |
lifecycleState(LifecycleState lifecycleState)
List only the resources that are in this lifecycle state.
|
ListTranslatorsRequest.Builder |
limit(Integer limit)
The maximum number of items to return per page.
|
ListTranslatorsRequest.Builder |
name(String name)
List only Translators with this name.
|
ListTranslatorsRequest.Builder |
odaInstanceId(String odaInstanceId)
Unique Digital Assistant instance identifier.
|
ListTranslatorsRequest.Builder |
opcRequestId(String opcRequestId)
The client request ID for tracing.
|
ListTranslatorsRequest.Builder |
page(String page)
The page at which to start retrieving results.
|
ListTranslatorsRequest.Builder |
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
|
ListTranslatorsRequest.Builder |
sortBy(ListTranslatorsRequest.SortBy sortBy)
Sort on this field.
|
ListTranslatorsRequest.Builder |
sortOrder(ListTranslatorsRequest.SortOrder sortOrder)
Sort the results in this order, use either
ASC (ascending) or DESC
(descending). |
ListTranslatorsRequest.Builder |
type(TranslationService type)
List only Translators of this type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
body$
public ListTranslatorsRequest.Builder odaInstanceId(String odaInstanceId)
Unique Digital Assistant instance identifier.
odaInstanceId
- the value to setpublic ListTranslatorsRequest.Builder id(String id)
Unique Translator identifier.
id
- the value to setpublic ListTranslatorsRequest.Builder type(TranslationService type)
List only Translators of this type.
type
- the value to setpublic ListTranslatorsRequest.Builder name(String name)
List only Translators with this name. Translator names are unique and may not change.
Example: MyTranslator
name
- the value to setpublic ListTranslatorsRequest.Builder lifecycleState(LifecycleState lifecycleState)
List only the resources that are in this lifecycle state.
lifecycleState
- the value to setpublic ListTranslatorsRequest.Builder limit(Integer limit)
The maximum number of items to return per page.
limit
- the value to setpublic ListTranslatorsRequest.Builder page(String page)
The page at which to start retrieving results.
You get this value from the opc-next-page
header in a previous list request.
To retireve the first page, omit this query parameter.
Example: MToxMA==
page
- the value to setpublic ListTranslatorsRequest.Builder sortOrder(ListTranslatorsRequest.SortOrder sortOrder)
Sort the results in this order, use either ASC
(ascending) or DESC
(descending).
sortOrder
- the value to setpublic ListTranslatorsRequest.Builder sortBy(ListTranslatorsRequest.SortBy sortBy)
Sort on this field. You can specify one sort order only. The default sort field is timeCreated
.
The default sort order for timeCreated
and timeUpdated
is descending.
For all other sort fields the default sort order is ascending.
sortBy
- the value to setpublic ListTranslatorsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing. This value is included in the opc-request-id response header.
opcRequestId
- the value to setpublic ListTranslatorsRequest.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 ListTranslatorsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.
retryConfiguration
- the retry configuration to be used for the requestpublic ListTranslatorsRequest.Builder copy(ListTranslatorsRequest o)
Copy method to populate the builder with values from the given instance.
copy
in interface BmcRequest.Builder<ListTranslatorsRequest,Void>
o
- other request from which to copy valuespublic ListTranslatorsRequest build()
Build the instance of ListTranslatorsRequest 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<ListTranslatorsRequest,Void>
public ListTranslatorsRequest buildWithoutInvocationCallback()
Build the instance of ListTranslatorsRequest 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.