Package com.oracle.bmc.oda.requests
Class ListTranslatorsRequest
- java.lang.Object
-
- com.oracle.bmc.requests.BmcRequest<Void>
-
- com.oracle.bmc.oda.requests.ListTranslatorsRequest
-
@Generated(value="OracleSDKGenerator", comments="API Version: 20190506") public class ListTranslatorsRequest extends BmcRequest<Void>Example: Click <a href=“https://docs.oracle.com/en-us/iaas/tools/java-sdk-examples/latest/oda/ListTranslatorsExample.java.html"target=”_blank"rel=“noopener noreferrer”>here to see how to use ListTranslatorsRequest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classListTranslatorsRequest.Builderstatic classListTranslatorsRequest.SortBySort on this field.static classListTranslatorsRequest.SortOrderSort the results in this order, use either ASC (ascending) or DESC (descending).
-
Constructor Summary
Constructors Constructor Description ListTranslatorsRequest()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ListTranslatorsRequest.Builderbuilder()Return a new builder for this request object.booleanequals(Object o)Uses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.StringgetId()Unique Translator identifier.LifecycleStategetLifecycleState()List only the resources that are in this lifecycle state.IntegergetLimit()The maximum number of items to return per page.StringgetName()List only Translators with this name.StringgetOdaInstanceId()Unique Digital Assistant instance identifier.StringgetOpcRequestId()The client request ID for tracing.StringgetPage()The page at which to start retrieving results.ListTranslatorsRequest.SortBygetSortBy()Sort on this field.ListTranslatorsRequest.SortOrdergetSortOrder()Sort the results in this order, use either ASC (ascending) or DESC (descending).TranslationServicegetType()List only Translators of this type.inthashCode()Uses getInvocationCallback and getRetryConfiguration to generate a hash.ListTranslatorsRequest.BuildertoBuilder()Return an instance ofListTranslatorsRequest.Builderthat allows you to modify request properties.StringtoString()-
Methods inherited from class com.oracle.bmc.requests.BmcRequest
getBody$, getInvocationCallback, getRetryConfiguration, setInvocationCallback, setRetryConfiguration, supportsExpect100Continue
-
-
-
-
Method Detail
-
getOdaInstanceId
public String getOdaInstanceId()
Unique Digital Assistant instance identifier.
-
getId
public String getId()
Unique Translator identifier.
-
getType
public TranslationService getType()
List only Translators of this type.
-
getName
public String getName()
List only Translators with this name.Translator names are unique and may not change.
Example: MyTranslator
-
getLifecycleState
public LifecycleState getLifecycleState()
List only the resources that are in this lifecycle state.
-
getLimit
public Integer getLimit()
The maximum number of items to return per page.
-
getPage
public String getPage()
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==
-
getSortOrder
public ListTranslatorsRequest.SortOrder getSortOrder()
Sort the results in this order, use either ASC (ascending) or DESC (descending).
-
getSortBy
public ListTranslatorsRequest.SortBy getSortBy()
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.
-
getOpcRequestId
public String getOpcRequestId()
The client request ID for tracing.This value is included in the opc-request-id response header.
-
toBuilder
public ListTranslatorsRequest.Builder toBuilder()
Return an instance ofListTranslatorsRequest.Builderthat allows you to modify request properties.- Returns:
- instance of
ListTranslatorsRequest.Builderthat allows you to modify request properties.
-
builder
public static ListTranslatorsRequest.Builder builder()
Return a new builder for this request object.- Returns:
- builder for the request object
-
equals
public boolean equals(Object o)
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to determine if passed request is equal to ‘this’.- Overrides:
equalsin classBmcRequest<Void>
-
hashCode
public int hashCode()
Description copied from class:BmcRequestUses getInvocationCallback and getRetryConfiguration to generate a hash.- Overrides:
hashCodein classBmcRequest<Void>
-
-