Class ListTranslatorsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.requests.ListTranslatorsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListTranslatorsRequest,Void>
- Enclosing class:
- ListTranslatorsRequest
public static class ListTranslatorsRequest.Builder extends Object implements BmcRequest.Builder<ListTranslatorsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListTranslatorsRequestbuild()Build the instance of ListTranslatorsRequest as configured by this builderListTranslatorsRequestbuildWithoutInvocationCallback()Build the instance of ListTranslatorsRequest as configured by this builderListTranslatorsRequest.Buildercopy(ListTranslatorsRequest o)Copy method to populate the builder with values from the given instance.ListTranslatorsRequest.Builderid(String id)Unique Translator identifier.ListTranslatorsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListTranslatorsRequest.BuilderlifecycleState(LifecycleState lifecycleState)List only the resources that are in this lifecycle state.ListTranslatorsRequest.Builderlimit(Integer limit)The maximum number of items to return per page.ListTranslatorsRequest.Buildername(String name)List only Translators with this name.ListTranslatorsRequest.BuilderodaInstanceId(String odaInstanceId)Unique Digital Assistant instance identifier.ListTranslatorsRequest.BuilderopcRequestId(String opcRequestId)The client request ID for tracing.ListTranslatorsRequest.Builderpage(String page)The page at which to start retrieving results.ListTranslatorsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListTranslatorsRequest.BuildersortBy(ListTranslatorsRequest.SortBy sortBy)Sort on this field.ListTranslatorsRequest.BuildersortOrder(ListTranslatorsRequest.SortOrder sortOrder)Sort the results in this order, use either ASC (ascending) or DESC (descending).ListTranslatorsRequest.Buildertype(TranslationService type)List only Translators of this type.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.oracle.bmc.requests.BmcRequest.Builder
body$
-
-
-
-
Method Detail
-
odaInstanceId
public ListTranslatorsRequest.Builder odaInstanceId(String odaInstanceId)
Unique Digital Assistant instance identifier.- Parameters:
odaInstanceId- the value to set- Returns:
- this builder instance
-
id
public ListTranslatorsRequest.Builder id(String id)
Unique Translator identifier.- Parameters:
id- the value to set- Returns:
- this builder instance
-
type
public ListTranslatorsRequest.Builder type(TranslationService type)
List only Translators of this type.- Parameters:
type- the value to set- Returns:
- this builder instance
-
name
public ListTranslatorsRequest.Builder name(String name)
List only Translators with this name.Translator names are unique and may not change.
Example: MyTranslator
- Parameters:
name- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListTranslatorsRequest.Builder lifecycleState(LifecycleState lifecycleState)
List only the resources that are in this lifecycle state.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
limit
public ListTranslatorsRequest.Builder limit(Integer limit)
The maximum number of items to return per page.- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public 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==
- Parameters:
page- the value to set- Returns:
- this builder instance
-
sortOrder
public ListTranslatorsRequest.Builder sortOrder(ListTranslatorsRequest.SortOrder sortOrder)
Sort the results in this order, use either ASC (ascending) or DESC (descending).- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public 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.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListTranslatorsRequest.Builder opcRequestId(String opcRequestId)
The client request ID for tracing.This value is included in the opc-request-id response header.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListTranslatorsRequest.Builder invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.- Parameters:
invocationCallback- the invocation callback to be set for the request- Returns:
- this builder instance
-
retryConfiguration
public ListTranslatorsRequest.Builder retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.- Parameters:
retryConfiguration- the retry configuration to be used for the request- Returns:
- this builder instance
-
copy
public ListTranslatorsRequest.Builder copy(ListTranslatorsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListTranslatorsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListTranslatorsRequest build()
Build the instance of ListTranslatorsRequest as configured by this builderNote that this method takes calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuildWithoutInvocationCallback()does not.This is the preferred method to build an instance.
- Specified by:
buildin interfaceBmcRequest.Builder<ListTranslatorsRequest,Void>- Returns:
- instance of ListTranslatorsRequest
-
buildWithoutInvocationCallback
public ListTranslatorsRequest buildWithoutInvocationCallback()
Build the instance of ListTranslatorsRequest as configured by this builderNote that this method does not take calls to
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor)into account, while the methodbuild()does- Returns:
- instance of ListTranslatorsRequest
-
-