Class ListSkillsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.oda.requests.ListSkillsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListSkillsRequest,Void>
- Enclosing class:
- ListSkillsRequest
public static class ListSkillsRequest.Builder extends Object implements BmcRequest.Builder<ListSkillsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListSkillsRequest
build()
Build the instance of ListSkillsRequest as configured by this builderListSkillsRequest
buildWithoutInvocationCallback()
Build the instance of ListSkillsRequest as configured by this builderListSkillsRequest.Builder
category(String category)
List only Bot resources with this category.ListSkillsRequest.Builder
copy(ListSkillsRequest o)
Copy method to populate the builder with values from the given instance.ListSkillsRequest.Builder
id(String id)
Unique Skill identifier.ListSkillsRequest.Builder
invocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)
Set the invocation callback for the request to be built.ListSkillsRequest.Builder
lifecycleDetails(String lifecycleDetails)
List only Bot resources with this lifecycle details.ListSkillsRequest.Builder
lifecycleState(LifecycleState lifecycleState)
List only the resources that are in this lifecycle state.ListSkillsRequest.Builder
limit(Integer limit)
The maximum number of items to return per page.ListSkillsRequest.Builder
name(String name)
List only Bot resources with this name.ListSkillsRequest.Builder
namespace(String namespace)
List only Bot resources with this namespace.ListSkillsRequest.Builder
odaInstanceId(String odaInstanceId)
Unique Digital Assistant instance identifier.ListSkillsRequest.Builder
opcRequestId(String opcRequestId)
The client request ID for tracing.ListSkillsRequest.Builder
page(String page)
The page at which to start retrieving results.ListSkillsRequest.Builder
platformVersion(String platformVersion)
List only Bot resources with this platform version.ListSkillsRequest.Builder
retryConfiguration(RetryConfiguration retryConfiguration)
Set the retry configuration for the request to be built.ListSkillsRequest.Builder
sortBy(ListSkillsRequest.SortBy sortBy)
Sort on this field.ListSkillsRequest.Builder
sortOrder(ListSkillsRequest.SortOrder sortOrder)
Sort the results in this order, use either ASC (ascending) or DESC (descending).ListSkillsRequest.Builder
version(String version)
List only Bot resources with this version.-
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 ListSkillsRequest.Builder odaInstanceId(String odaInstanceId)
Unique Digital Assistant instance identifier.- Parameters:
odaInstanceId
- the value to set- Returns:
- this builder instance
-
id
public ListSkillsRequest.Builder id(String id)
Unique Skill identifier.- Parameters:
id
- the value to set- Returns:
- this builder instance
-
category
public ListSkillsRequest.Builder category(String category)
List only Bot resources with this category.- Parameters:
category
- the value to set- Returns:
- this builder instance
-
name
public ListSkillsRequest.Builder name(String name)
List only Bot resources with this name.Names are unique and may not change.
Example: MySkill
- Parameters:
name
- the value to set- Returns:
- this builder instance
-
version
public ListSkillsRequest.Builder version(String version)
List only Bot resources with this version.Versions are unique and may not change.
Example: 1.0
- Parameters:
version
- the value to set- Returns:
- this builder instance
-
namespace
public ListSkillsRequest.Builder namespace(String namespace)
List only Bot resources with this namespace.Namespaces may not change.
Example: MyNamespace
- Parameters:
namespace
- the value to set- Returns:
- this builder instance
-
platformVersion
public ListSkillsRequest.Builder platformVersion(String platformVersion)
List only Bot resources with this platform version.- Parameters:
platformVersion
- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListSkillsRequest.Builder lifecycleState(LifecycleState lifecycleState)
List only the resources that are in this lifecycle state.- Parameters:
lifecycleState
- the value to set- Returns:
- this builder instance
-
lifecycleDetails
public ListSkillsRequest.Builder lifecycleDetails(String lifecycleDetails)
List only Bot resources with this lifecycle details.- Parameters:
lifecycleDetails
- the value to set- Returns:
- this builder instance
-
limit
public ListSkillsRequest.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 ListSkillsRequest.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 ListSkillsRequest.Builder sortOrder(ListSkillsRequest.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 ListSkillsRequest.Builder sortBy(ListSkillsRequest.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 ListSkillsRequest.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 ListSkillsRequest.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 ListSkillsRequest.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 ListSkillsRequest.Builder copy(ListSkillsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copy
in interfaceBmcRequest.Builder<ListSkillsRequest,Void>
- Parameters:
o
- other request from which to copy values- Returns:
- this builder instance
-
build
public ListSkillsRequest build()
Build the instance of ListSkillsRequest 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:
build
in interfaceBmcRequest.Builder<ListSkillsRequest,Void>
- Returns:
- instance of ListSkillsRequest
-
buildWithoutInvocationCallback
public ListSkillsRequest buildWithoutInvocationCallback()
Build the instance of ListSkillsRequest 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 ListSkillsRequest
-
-