Class ListDigitalTwinModelsRequest.Builder
- java.lang.Object
-
- com.oracle.bmc.iot.requests.ListDigitalTwinModelsRequest.Builder
-
- All Implemented Interfaces:
BmcRequest.Builder<ListDigitalTwinModelsRequest,Void>
- Enclosing class:
- ListDigitalTwinModelsRequest
public static class ListDigitalTwinModelsRequest.Builder extends Object implements BmcRequest.Builder<ListDigitalTwinModelsRequest,Void>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ListDigitalTwinModelsRequestbuild()Build the instance of ListDigitalTwinModelsRequest as configured by this builderListDigitalTwinModelsRequestbuildWithoutInvocationCallback()Build the instance of ListDigitalTwinModelsRequest as configured by this builderListDigitalTwinModelsRequest.Buildercopy(ListDigitalTwinModelsRequest o)Copy method to populate the builder with values from the given instance.ListDigitalTwinModelsRequest.BuilderdisplayName(String displayName)Filter resources whose display name matches the specified value.ListDigitalTwinModelsRequest.Builderid(String id)Filter resources by OCID.ListDigitalTwinModelsRequest.BuilderinvocationCallback(com.oracle.bmc.http.client.RequestInterceptor invocationCallback)Set the invocation callback for the request to be built.ListDigitalTwinModelsRequest.BuilderiotDomainId(String iotDomainId)The OCID of the IoT domain in which to list digital twin resources.ListDigitalTwinModelsRequest.BuilderlifecycleState(LifecycleState lifecycleState)Filter resources whose lifecycleState matches the specified value.ListDigitalTwinModelsRequest.Builderlimit(Integer limit)For list pagination.ListDigitalTwinModelsRequest.BuilderopcRequestId(String opcRequestId)Unique Oracle-assigned identifier for the request.ListDigitalTwinModelsRequest.Builderpage(String page)Page representing the requested page of items.ListDigitalTwinModelsRequest.BuilderretryConfiguration(RetryConfiguration retryConfiguration)Set the retry configuration for the request to be built.ListDigitalTwinModelsRequest.BuildersortBy(ListDigitalTwinModelsRequest.SortBy sortBy)The field to sort by.ListDigitalTwinModelsRequest.BuildersortOrder(ListDigitalTwinModelsRequest.SortOrder sortOrder)Specifies sort order to use, either ASC (ascending) or DESC (descending).ListDigitalTwinModelsRequest.BuilderspecUriStartsWith(String specUriStartsWith)Filters resources by spec URI prefix.-
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
-
iotDomainId
public ListDigitalTwinModelsRequest.Builder iotDomainId(String iotDomainId)
The OCID of the IoT domain in which to list digital twin resources.- Parameters:
iotDomainId- the value to set- Returns:
- this builder instance
-
id
public ListDigitalTwinModelsRequest.Builder id(String id)
Filter resources by OCID.Must be a valid OCID of the resource type.
- Parameters:
id- the value to set- Returns:
- this builder instance
-
displayName
public ListDigitalTwinModelsRequest.Builder displayName(String displayName)
Filter resources whose display name matches the specified value.- Parameters:
displayName- the value to set- Returns:
- this builder instance
-
specUriStartsWith
public ListDigitalTwinModelsRequest.Builder specUriStartsWith(String specUriStartsWith)
Filters resources by spec URI prefix.For example, to search all versions of the dtmi:example:device;1 model, pass the prefix without the version: dtmi:example:device.
- Parameters:
specUriStartsWith- the value to set- Returns:
- this builder instance
-
limit
public ListDigitalTwinModelsRequest.Builder limit(Integer limit)
For list pagination.The maximum number of results per page, or items to return in a paginated “List” call. For important details about how pagination works, see List Pagination.
- Parameters:
limit- the value to set- Returns:
- this builder instance
-
page
public ListDigitalTwinModelsRequest.Builder page(String page)
Page representing the requested page of items.- Parameters:
page- the value to set- Returns:
- this builder instance
-
lifecycleState
public ListDigitalTwinModelsRequest.Builder lifecycleState(LifecycleState lifecycleState)
Filter resources whose lifecycleState matches the specified value.- Parameters:
lifecycleState- the value to set- Returns:
- this builder instance
-
sortOrder
public ListDigitalTwinModelsRequest.Builder sortOrder(ListDigitalTwinModelsRequest.SortOrder sortOrder)
Specifies sort order to use, either ASC (ascending) or DESC (descending).- Parameters:
sortOrder- the value to set- Returns:
- this builder instance
-
sortBy
public ListDigitalTwinModelsRequest.Builder sortBy(ListDigitalTwinModelsRequest.SortBy sortBy)
The field to sort by.Only one sort order may be provided. Default order for timeCreated is descending. Default order for displayName is ascending.
- Parameters:
sortBy- the value to set- Returns:
- this builder instance
-
opcRequestId
public ListDigitalTwinModelsRequest.Builder opcRequestId(String opcRequestId)
Unique Oracle-assigned identifier for the request.If you need to contact Oracle about a particular request, provide the request ID.
- Parameters:
opcRequestId- the value to set- Returns:
- this builder instance
-
invocationCallback
public ListDigitalTwinModelsRequest.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 ListDigitalTwinModelsRequest.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 ListDigitalTwinModelsRequest.Builder copy(ListDigitalTwinModelsRequest o)
Copy method to populate the builder with values from the given instance.- Specified by:
copyin interfaceBmcRequest.Builder<ListDigitalTwinModelsRequest,Void>- Parameters:
o- other request from which to copy values- Returns:
- this builder instance
-
build
public ListDigitalTwinModelsRequest build()
Build the instance of ListDigitalTwinModelsRequest 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<ListDigitalTwinModelsRequest,Void>- Returns:
- instance of ListDigitalTwinModelsRequest
-
buildWithoutInvocationCallback
public ListDigitalTwinModelsRequest buildWithoutInvocationCallback()
Build the instance of ListDigitalTwinModelsRequest 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 ListDigitalTwinModelsRequest
-
-